circuitpython
MicroPython
Our great sponsors
circuitpython | MicroPython | |
---|---|---|
93 | 197 | |
3,886 | 18,317 | |
1.7% | 1.3% | |
0.0 | 9.8 | |
2 days ago | about 8 hours ago | |
C | C | |
MIT License | MIT |
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.
circuitpython
-
Thoughts on a machine?
As another point for those interested, it (to my knowledge) is currently the ONLY implementation of a scoring machine that the firmware for the device is written in Circuit Python. which gives this unit an advantage when it comes to any and all multi tasking that the unit may need to do.
-
Unveiling secrets of the ESP32: creating an open-source Mac layer
The barrier to entry has never been lower. Last night I prototyped some code in Python on my Mac to talk to a Bluetooth peripheral, and then had ChatGPT translate it to Arduino C++ code for a $5 ESP32 which mostly worked on the first go.
You can even run Python on microcontrollers these days. See Adafruit's https://circuitpython.org for which they publish modules for many (almost all?) of the sensors they sell. The modern microcontroller frameworks hide much of the complexity of Wi-Fi, Bluetooth, filesystems, etc. so you can do complicated things with minimal effort. You can really cobble something together in an afternoon.
-
ALT.CTRL.GameCraft Workshop @ Beta Festival Write-up
The Pico runs CircuitPython and uses Adafruit's HID library to emulate a keyboard. It's also possible to emulate a mouse and a gamepad (there are some experiments for gamepad emulation in experiments).
- CircuitPython added supports for Makerdiary nRF52840 Connect Kit
-
HT1632c library for circuitpython
Asked your question in the adafruit discord and they said there's no HT1632c library for circuit python yet. There is a library for micropython. You can request to have it ported from the Micropython library I linked to by opening a feature request in the Circuit Python Github. That would be your best option for now or attempt to port the library yourself.
- Question about programming arduino
-
This may be an odd question but can someone give me a Tl;dr of the Adafruit ecosystem between 2019-now?
Microcontrollers can run Python now https://circuitpython.org/
-
Projects for newbs!
I'm aware of two versions of Python for microcontrollers. Micro Python and Circuit Python
-
Pause and resume more than one audiofile with audiocore
I tried to look in https://github.com/adafruit/circuitpython/tree/main/shared-bindings at audiocore, audioio, an audiomixer looking for a way to access the sample counter manually but I have no clue what I'm looking at :(
-
Pico W only connects to Wi-Fi once, then needs uf2 nuke
Try CircuitPython 8.0.3. The commit log has a couple networking changes for the Pico. My MQTT client seems to have fewer connection issues though they could be a fluke https://github.com/adafruit/circuitpython/compare/8.0.2...8.0.3
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
- 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.
What are some alternatives?
micropython-ulab - a numpy-like fast vector module for micropython, circuitpython, and their derivatives
TinyGo - Go compiler for small places. Microcontrollers, WebAssembly (WASM/WASI), and command-line tools. Based on LLVM.
CPython - The Python programming language
PlatformIO - Your Gateway to Embedded Software Development Excellence :alien:
RustPython - A Python Interpreter written in Rust
esp-idf - Espressif IoT Development Framework. Official development framework for Espressif SoCs.
arduino - Firmata firmware for Arduino
Espruino - The Espruino JavaScript interpreter - Official Repo
c-solutions - My Solutions to K. N. King's "C Programming: A Modern Approach", second edition
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.