circuitpython
MicroPython
Our great sponsors
circuitpython | MicroPython | |
---|---|---|
93 | 197 | |
3,862 | 18,163 | |
1.6% | 1.8% | |
0.0 | 9.8 | |
1 day ago | 7 days 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
-
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).
-
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
-
Projects for newbs!
I'm aware of two versions of Python for microcontrollers. Micro Python and Circuit Python
-
Rotary Encoder - Double click
There was a whole Github discussion on whether or not CircuitPy should use interrupts.
-
Circuitpython Reference?
Let me google that for you.
-
Is the statement true, that Python and its ecosystem lacks speed for mission-critical large-scale applications?
As the cost of more powerful micro-controllers continues to drop, the time and cost savings that comes with working in higher-level languages is starting to outweigh the cost of using cheaper/less-powerful micro-controllers. There are already options such as micropython and circuitpython for using Python on micro-controllers, but they're not in wide commercial use as of yet (as far as I'm aware).
-
Five simple steps to use any Arduino C++ library in a Rust project 🦀
Arduino helps circuit developers to build electronic projects and is, perhaps, the most used open-source hardware and software platform. It is popular across millions of hobbyists across the world. Historically, Arduino boards are programmed with C++ programming language using the Arduino IDE. The availability of powerful ARM-based Arduino-compatible boards made it possible to use python, JavaScript, or even a browser to program your circuit. While they are easier to study for a new joiner without an existing programming background, C++ stays a default language choice, especially when dealing with cheap and low-memory AVR-controller boards and having a need to run more or less complex projects.
-
Is Rust a viable alternative to C / C++?
If your application doesn't need every bit of performance or memory, consider CircuitPython or MicroPython. The CircuitPython community is a bit more active but CircuitPython needs native USB support on the MCU, so out of the ESP family, only the ESP-S2 and ESP-S3 currently support it. MicroPython can run on any ESP (okay not certain about the C3).
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 VS PikaPython - a user suggested alternative
2 projects | 25 Dec 2023
-
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:
I favor micropython[0]. Besides being Python, which I prefer, it actually runs on m68k and RISC-V.
- WebUSB Support for RP2040
-
New Functionality: Bluetooth for Raspberry Pi Pico W
This is the PR where the work is being merged into ‘upstream’ micropython for those who are interested. I have been following this side February. Very interesting to see https://github.com/micropython/micropython/pull/10739
-
Makefile vs Cmake - Objective comparison ?
On a larger project like this, it generally feels like new build features that take any of us a couple of hours to get working in make, might take a couple of days to replicate on cmake. One recent example of this is build variants: https://github.com/micropython/micropython/pull/9056
- Question about programming arduino
What are some alternatives?
TinyGo - Go compiler for small places. Microcontrollers, WebAssembly (WASM/WASI), and command-line tools. Based on LLVM.
PlatformIO - Your Gateway to Embedded Software Development Excellence :alien:
esp-idf - Espressif IoT Development Framework. Official development framework for Espressif SoCs.
Espruino - The Espruino JavaScript interpreter - Official Repo
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.
awesome-embedded-rust - Curated list of resources for Embedded and Low-level development in the Rust programming language
Unicorn Engine - Unicorn CPU emulator framework (ARM, AArch64, M68K, Mips, Sparc, PowerPC, RiscV, S390x, TriCore, X86)
ardupilot - ArduPlane, ArduCopter, ArduRover, ArduSub source
kmk_firmware - Clackety Keyboards Powered by Python
RF24 - OSI Layer 2 driver for nRF24L01 on Arduino & Raspberry Pi/Linux Devices
QEMU - Official QEMU mirror. Please see https://www.qemu.org/contribute/ for how to submit changes to QEMU. Pull Requests are ignored. Please only use release tarballs from the QEMU website.