ESP32 MPY Jama

2025-12-11 0 517


ESP32 MPY-Jama

? What\’s new in version 1.2

? Welcome to ESP32 MPY-Jama, a powerful and versatile cross-platform tool, designed to simplify your development with Espressif\’s ESP32 microcontrollers and MicroPython.

? The lightweight IDE, file manager, terminal, and real-time dashboards provide all the essential features you need to develop your IoT projects quickly and efficiently on MacOS, Windows, and Linux.

? With startup settings and customizable features, this tool can adapt to your workflow and preferences, making your coding experience seamless and enjoyable.

MacOS on arm64   ▪️   MacOS on Intel x86/64   ▪️   Windows 64-bits

             

To make it work under Linux ? click here!


?  Table of contents

  • Features
  • Real-time system dashboard
  • Real-time networks dashboard
  • Wi-Fi in 2 clicks
  • Lightweight integrated IDE
  • Embedded Jama Funcs

    • Already included
  • SD card support
  • Firmware upgrade
  • Build & Run
  • Linux version instructions
  • Author
  • Special thanks to
  • License


 Features

  • User-friendly graphical interface for easy use
  • Connect to multiple ESP32 board types
  • Lightweight IDE for easy programming
  • Terminal access for streamlined command execution
  • Pinout diagrams for popular board types
  • Easy installation of in-line modules with PyPI or MIP
  • Flash file system browser for easy file access
  • Native file tranfers and management
  • Real-time visualization of GPIO states
  • Access to important system information
  • Configuration of Wi-Fi and Ethernet network interfaces
  • SD card support for external storage
  • Simplified flash firmware updates
  • Advanced external component testing features
  • Control and manipulate peripherals such as LEDs strips, MP3 players, etc
  • Quick testing of IOs in digital or analog mode
  • Customizable features for an extensible development
  • Persistent configurations on boards if required
  • Real-time memory and temperature monitoring


 Real-time system dashboard

Access all important system information, adjust the MCU frequency, monitor the current status of the set GPIOs,
check startup configuration options and display the various partitions of the flash memory.
The startup options allow you to save your configurations on the board, so that you can always maintain them after each reboot.


 Real-time networks dashboard

Configure and display information about Wi-Fi connection and access point interfaces,
set up a board with an integrated Ethernet PHY interface and verify that the Internet connection is available.
It is also possible to act on the state of the network interfaces, including the one for BLE.


?  Wi-Fi in 2 clicks

Quickly connect your device to available Wi-Fi networks and set up an access point with ease.
The authentication options and the maximum number of clients are adjustable.

   


 Lightweight integrated IDE

Develop your MicroPython programs and libraries and test them directly using the lightweight IDE.
Also, a terminal is usable in the same window with the management of the history of your commands like a shell.
Manage and transfer content from the device\’s flash memory or SD card.

In the code editor, common keyboard shortcuts such as save, undo, search or move line blocks are available.
Tips: leave the mouse on a file to display its full name and size, or double-click on the tab bar to create one more quickly.

Use Espressif\’s pinout diagrams for the GPIOs, which are available on most boards:


?️  Embedded Jama Funcs

Jama Funcs are small dedicated functions that run on your device to perform a specific task.
They can be used to quickly test the functionality of the ESP32 or external modules and are designed to be easily configured.

Choose a Jama Func from those proposed, then configure its parameters directly in the graphical interface before executing it on your device:

When executing a Jama Func, a window with a terminal opens up, allowing you to view its output:

It is of course possible to develop your own Jama Funcs in order to import them into the interface and thus facilitate their use by implementing integrated parameters.
You can find a full template in MicroPython directly in the software or by clicking on
this link.

The following table lists all the Jama Funcs already included in ESP32 MPY-Jama:

        Jama Func         Description
1-Wire Devices Scan Initializes a 1-Wire bus on a single GPIO and finds all the family IDs and serial numbers of slave devices.
ADC Reader Simple level and voltage reader on a GPIO using an analog-to-digital converter (ADC). You can specify the dB applied attenuation and the bits resolution.
BLE Scan Initializes the Bluetooth Low Energy radio and scans BLE devices via advertising data.
BLE iBeacon Initializes the Bluetooth Low Energy radio and simulates an Apple iBeacon object. The advertising message broadcasts an UUID corresponding to \”B.JAMA-FUNC.TEST\” in binary with the short name \”MPY-Jama\” while the iBeacon is the response to an active scanner. The iBeacon (Apple beacon format) data are: Major = 123 / Minor = 456 / TX at 1 meter = -55 dB
DAC Output Set a GPIO output to a specific voltage using digital-to-analog converter (DAC).
GPIO Input Simple reader of low/high voltage signals on a GPIO (pin) input. You can enable an internal pull resistor or not.
GPIO Output Set a GPIO (pin) output to ON or OFF.
I2C Slaves Scan Initializes an I2C bus on two GPIO and scans it to find all the addresses of I2C slaves. You can choose the bus identifier, the SCL and SDA GPIO as well as the frequency in MHz.
KT403A MP3 Player For MP3 modules based on KT403A chipset like DFPlayer, Grove-MP3 v2 and more. You will be able to connect your board via an UART bus, play all the sound files in loop from the intended storage source (microSD, USB, flash memory), adjust the volume but also choose an audio EQ effect (normal, pop, rock, jazz, classic, bass). Info: KT403A supports MP3 & WAV audio formats on FAT16 or FAT32 files system, 32 GB max for microSD.
LEDs – DotStar RGB Strip Try your DotStar RGB LEDs via SPI bus, compatible with strips APA102, SK9822, and more. You can choose the number of LEDs as well as the bus connectivity settings and the lighting in full power or in fading rainbow. The embedded library can be found via the link below.
LEDs – NeoPixel RBG(+W/Y) Strip Try your NeoPixel RGB(+W/Y) LEDs via only one GPIO, compatible with strips WS2812(B), SK6812, ADAxxxx, APA106, FLORA and more. You can choose the number as well as the type of LEDs like RGB or RGB+W/Y, the frequency, and the lighting in full power or in fading rainbow. The NeoPixel library was coded by Damien P. George.
Magnet Sensor Allows to test the hall sensor of the ESP32 chip with detection of the two magnetic poles after automatic calibration.
Max Threads Returns the maximum number of possible threads to create with the configurable stack size.
Memory Check This little tool simply allows you to allocate a maximum amount of memory on your chip in order to force the writing on almost all the available slots.
NTP Time Sync This tool synchronizes the UTC date and time from an NTP server. You can choose the NTP server host to connect to.
PWM & Lighting Uses a PWM on a GPIO and varies its duty cycle to make a led flash smoothly from 0 to 3.3V.
PWM & Servo Motor Uses a PWM on a GPIO and drives a servo motor by varying its duty cycle. Several options are available to configure the servo motor, such as pulse frequency, pulse width and rotation time.
UART Test Initializes an UART bus on two GPIO, sends or not a custom command and receives data from the bus. You can choose bus identifier, baud rate, bits per character, parity, stop bits and TX/RX GPIO
Wi-Fi Scan Performs a detailed scan of the wireless access points.

You are welcome to share your own Jama Funcs!


?  SD card support

If an SD card is available on the board, activate it and mount the corresponding file system.
A reformatting of all content is also possible.


⚡  Firmware upgrade

Take advantage of the Espressif esptool to connect the device in bootloader mode and easily load new binary images.
Additionally, the tool allows you to completely erase the device for a full reset.


 Build & Run

  • Required dependencies

    pyWebView (Check out on GitHub):

    python -m pip install pywebview

    pySerial (Check out on GitHub):

    python -m pip install pyserial
  • Run application

    Just use python:

    python src/app.py


?  Linux version instructions

This describes how to clone the repository and how to run from source. In the third step you will find instructions how to create a binary from source. All st
eps have been tested on Ubuntu 22.04, but should work with little changes on similar distributions as well.

  • Installation

    First, First, make sure you have all the required files:

    # clone the repository:
    git clone https://*gith*ub*.com/jczic/ESP32-MPY-Jama
    
    # install python modules requirements:
    sudo apt install libcairo2-dev libgirepository1.0-dev python3-pyqt5 python3-pyqt5.qtwebengine python3-pyqt5.qtwebchannel libqt5webkit5-dev gir1.2-webkit2-4.0
    
    # initialize python venv:
    cd ESP32-MPY-Jama
    python3 -m venv venv
    
    . venv/bin/activate
    
    pip3 install wheel setuptools
    pip3 install pyserial pywebview[qt] pycairo PyGObject pyinstaller
  • Running from source

    When you executed all steps listed under \”Installation\” you may run directly from sources by executing these steps:

    cd ESP32-MPY-Jama
    . venv/bin/activate
    python3 src/app.py

    In case of an issue with the initialization of the graphical user interface, it is possible to force the desired interface by using the argument --gui (or -g) followed by qt or gtk.

    # example:
    python3 src/app.py -g gtk
  • Building executable

    Execute the steps listed under \”Installation\” and then continue like this:

    cd ESP32-MPY-Jama
    ./create_binary.sh

    When the script finishes you should end up with a \”esp32-mpyjama\” executable in the \”dist\” subfolder.


 Author

Jean-Christophe Bos (:fr:)

  • GitHub: @jczic
  • Email: jczic.bos@gmail.com
  • Profil: LinkedIn
  • Music: SoundCloud
    Spotify
    YouTube


?  Special thanks to

  • rdagger > www.rototron.info
  • happenpappen > www.stop.pe


✴️  License

  • Copyright ©️ 2023 Jean-Christophe Bos.
  • This project is MIT licensed.

下载源码

通过命令行克隆项目:

git clone https://github.com/jczic/ESP32-MPY-Jama.git

收藏 (0) 打赏

感谢您的支持,我会继续努力的!

打开微信/支付宝扫一扫,即可进行扫码打赏哦,分享从这里开始,精彩与您同在
点赞 (0)

申明:本文由第三方发布,内容仅代表作者观点,与本网站无关。对本文以及其中全部或者部分内容的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。本网发布或转载文章出于传递更多信息之目的,并不意味着赞同其观点或证实其描述,也不代表本网对其真实性负责。

左子网 建站资源 ESP32 MPY Jama https://www.zuozi.net/34851.html

beautiful web type
上一篇: beautiful web type
Jumpdrive
下一篇: Jumpdrive
常见问题
  • 1、自动:拍下后,点击(下载)链接即可下载;2、手动:拍下后,联系卖家发放即可或者联系官方找开发者发货。
查看详情
  • 1、源码默认交易周期:手动发货商品为1-3天,并且用户付款金额将会进入平台担保直到交易完成或者3-7天即可发放,如遇纠纷无限期延长收款金额直至纠纷解决或者退款!;
查看详情
  • 1、描述:源码描述(含标题)与实际源码不一致的(例:货不对板); 2、演示:有演示站时,与实际源码小于95%一致的(但描述中有”不保证完全一样、有变化的可能性”类似显著声明的除外); 3、发货:不发货可无理由退款; 4、安装:免费提供安装服务的源码但卖家不履行的; 5、收费:价格虚标,额外收取其他费用的(但描述中有显著声明或双方交易前有商定的除外); 6、其他:如质量方面的硬性常规问题BUG等。 注:经核实符合上述任一,均支持退款,但卖家予以积极解决问题则除外。
查看详情
  • 1、左子会对双方交易的过程及交易商品的快照进行永久存档,以确保交易的真实、有效、安全! 2、左子无法对如“永久包更新”、“永久技术支持”等类似交易之后的商家承诺做担保,请买家自行鉴别; 3、在源码同时有网站演示与图片演示,且站演与图演不一致时,默认按图演作为纠纷评判依据(特别声明或有商定除外); 4、在没有”无任何正当退款依据”的前提下,商品写有”一旦售出,概不支持退款”等类似的声明,视为无效声明; 5、在未拍下前,双方在QQ上所商定的交易内容,亦可成为纠纷评判依据(商定与描述冲突时,商定为准); 6、因聊天记录可作为纠纷评判依据,故双方联系时,只与对方在左子上所留的QQ、手机号沟通,以防对方不承认自我承诺。 7、虽然交易产生纠纷的几率很小,但一定要保留如聊天记录、手机短信等这样的重要信息,以防产生纠纷时便于左子介入快速处理。
查看详情

相关文章

猜你喜欢
发表评论
暂无评论
官方客服团队

为您解决烦忧 - 24小时在线 专业服务