Developer and engineer Oliver Fabel has developed a port that is designed to run MicroPython on the Flipper Zero. This port allows users to write programs for Flipper Zero in Python, instead of built-in JavaScript. Till now you can access GPIO, ADC, PWM, the speaker, buttons, the display, and infrared communication with this but it doesn’t have support for NFC or RFID yet, and it’s still under development.
Previously we have written about various addon boards for the Flipper Zero like the Mayhem v2, the ESP8266 Deauther board, the CAN bus addon board, and other powerful alternatives of the Flipper like The M1 and the HackBat. Feel free to check those out if you are interested in the topic.
The process is simple, and you don’t have to do a firmware update to work with MicroPython, you can download the application from the community-driven Flipper app store and are good to go. No custom firmware is required so there is no risk of bricking your flipper.
While I was checking the changelogs I saw some new updates have come in and now you can use a Python shell, also known as a REPL (Read-Eval-Print Loop), directly on the Flipper Zero. Additionally, you can now run Python scripts directly from the CLI by specifying the script’s path. This update also includes an upgrade to MicroPython version 1.23.0 along with bug fixes.
On the mp-flipper GitHub repo, Fabel mentions that it’s not a complete port of MicroPython, and only a few features are supported. Additionally, he also mentions this FAP version requires about 80 kB from SRAM to start (needed for the Python runtime and compiler). Due to memory fragmentation, it’s possible that the application crashes when you start it. If this happens, just try again (the crash doesn’t harm your device).
Debashis Das is a technical content writer and embedded engineer with over five years of experience in the industry. With expertise in Embedded C, PCB Design, and SEO optimization, he effectively blends difficult technical topics with clear communication
Support CNX Software! Donate via cryptocurrencies, become a Patron on Patreon, or purchase goods on Amazon or Aliexpress
I don’t have a zero, but if I did I would much rather use python versus JavaScript so seems like a nice development.