MicroPython
PlatformIO
Our great sponsors
MicroPython | PlatformIO | |
---|---|---|
197 | 96 | |
18,346 | 7,526 | |
1.7% | 1.6% | |
9.8 | 9.1 | |
1 day ago | 1 day ago | |
C | Python | |
MIT | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
MicroPython
-
RustPython
Just putting my hand up to say that MicroPython is awesome (and runs on the RP2040). https://micropython.org
-
Lilygo T-Deck: 2.8-inch IPS LCD display, mini keyboard, and ESP32 processor
Gah, I just ordered one on impulse [1]. I've wanted to build out a WiFi PDA for quite some time now and I like this hardware.
I'm quite liking the idea of running tulip MicroPython [2] on it, or going back to pure MicroPython [3] and writing some drivers. Apparently something like ampy can be used to upload/download Python files [4].
Threads could be quite exciting for running multiple programs at once [5], although I have no idea what it means for two programs to fight over GPIO! It does seem as though MicroPython can only utilise a single core [6].
[1] https://www.lilygo.cc/products/t-deck?variant=43087936487605
[2] https://github.com/bwhitman/tulipcc/tree/main/tulip/tdeck
[3] https://docs.micropython.org/en/latest/esp32/tutorial/intro....
[4] https://www.digikey.co.uk/en/maker/projects/micropython-basi...
[5] https://docs.micropython.org/en/latest/library/_thread.html
[6] https://github.com/micropython/micropython/issues/8197
- MicroPython v1.22.0
-
MicroPython VS PikaPython - a user suggested alternative
2 projects | 25 Dec 2023
-
about microprocessor
If you really want to engage in the travesty that is shoehorning a high level scripting language into an environment that has 512 bytes of RAM and less clock cycles than an electric toothbrush, there is micropython.
-
CAN Bus with MicroPython
There is some work to implement a common CAN interface in micropython but it's some way off yet: https://github.com/micropython/micropython/pull/13149
-
Show HN: MicroLua – Lua for the RP2040 Microcontroller
https://github.com/raspberrypi/pico-sdk/ links to a PDF about connecting to the interwebs with a pi pico.
micropython/micropython//ports/rp2/boards/RPI_PICO_W: https://github.com/micropython/micropython/tree/master/ports...
raspberrypi/pico-sdk /lib: btstack, cyw43-driver, lwip, mbedtls, tinyusb https://github.com/raspberrypi/pico-sdk/tree/master/lib
raspberrypi/pico-examples//pico_w/wifi/access_point/picow_access_point.c:
https://github.com/raspberrypi/pico-examples/blob/master/pic...
There's an iperf opkg pkg, or is it just netperf (which works with fluent)?
raspberrypi/pico-examples//pico_w/wifi/iperf/picow_iperf.c:
- WebUSB Support for RP2040
-
Ask HN: Embedded Scripting Options for Microcontrollers
Needed for hobby project, maintained by very small team. Haven't decided on specific microcontroller. Needed for general bit-banging, speed and code size are not priorities.
So far have considered MicroPython [0] [1] and Lua [2] [3], but open for suggestions for others.
What are experiences?
[0] https://micropython.org/
-
Arduino or python
Python is also a general-purpose programming language. It's typically used on desktop / laptop computers. But Micropython is a variant that can be used to program embedded devices.
PlatformIO
-
Help Needed with Tauri Desktop App for NFC Card Enrollment on ESP32
For the ESP32 in read mode, we've successfully developed a project using PlatformIO that accepts the key during build time and stores it in memory.
-
It's 2023 why embedded development is so cumbersome?(rant)
Check out Zephyr OS and Platform IO. Zephyr is part of the Linux foundation and has similarities to Linux with how it performs hardware abstraction (device tree). Platform IO integrates with other frameworks including mbed and Arduino.
- Is there an extension in vs code to do embedded programming
-
Debug program using PlatformIO and avr-stub
PlatformIO together with avr-stub can be used to do source level debugging but there are some caveats.
-
Do you know some sbc or soc that can be programed to run rtos and c++ on top?
Look into https://platformio.org/, it can abstract over a few RTOSes, and can show you which OSes work with which chips/boards.
-
Newbie question on identifying board in IDE
If the HW looks like it works, you could also try alternate programming software. (e.g. TinyGo or PlatformIO)
-
Issue with Adafruit ESP32-S3: COM port switching, etc.
You might have better luck with PlatformIO than the Arduino IDE; it's better at automatically choosing the serial port, though I can't say I've used it under Windows.
-
Made some progress on the Chessboard this week
My other suggestion takes more work but will make your life oh so much better. Professionally I have used and highly recommend. https://platformio.org/ which is free!
-
Ask HN: Best books to learn embedded systems?
Will you be doing embedded Linux? Embedded RTOS? Bare metal? Microcontrollers? SoC (say, FPGA with a hard processor core)?
You can do a lot with QEMU. https://bootlin.com/ has a lot of great, free training material.
https://bootlin.com/doc/training/embedded-linux-qemu/embedde...
is one of my favorites.
Learning to cross-compile, do embedded debugging, the process of booting an embedded system (which varies depending on the answers to the above questions), learning how to read a technical reference for the processor you’re using as well as for peripherals you’re likely to interact with - SPI, i2c, UART, maybe PCIe, are all handy skills. Learn a bit about JTAG, hardware, reading schematics, etc. Even being able solder is helpful.
There may be books (I had a great embedded Linux book when I started) but there are lots of online materials too. Check out https://platformio.org/
There are fun embedded boards and projects for microcontrollers too - micropython on an rpi pico, tinygo, eLua, etc.
What are some alternatives?
circuitpython - CircuitPython - a Python implementation for teaching coding with microcontrollers
duino-coin - ᕲ Duino-Coin is a coin that can be mined with almost everything, including Arduino boards.
TinyGo - Go compiler for small places. Microcontrollers, WebAssembly (WASM/WASI), and command-line tools. Based on LLVM.
meson - The Meson Build System
esp-idf - Espressif IoT Development Framework. Official development framework for Espressif SoCs.
BitBake - The official bitbake Git is at https://git.openembedded.org/bitbake/. Do not open issues or file pull requests here.
Espruino - The Espruino JavaScript interpreter - Official Repo
ESPAsyncWebServer - Async Web Server for ESP8266 and ESP32
jerryscript - Ultra-lightweight JavaScript engine for the Internet of Things.
IronPython - Implementation of Python 3.x for .NET Framework that is built on top of the Dynamic Language Runtime.
Invoke - Pythonic task management & command execution.