micropython-async
pico-micropython-lowpower-workaround
micropython-async | pico-micropython-lowpower-workaround | |
---|---|---|
7 | 2 | |
694 | 48 | |
- | - | |
8.1 | 2.9 | |
3 months ago | 8 months ago | |
Python | Python | |
MIT License | GNU Lesser General Public License v3.0 only |
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-async
- Is it possible to bring out a micropython REPL onto a TFT display?
- _thread.interrupt_main() not defined: 'module' object has no attribute 'interrupt_main'
-
should i force myself to use asyncio?
If you want to use Micropython, you have to use asyncio. An example for an async switch: https://github.com/peterhinch/micropython-async/blob/master/v3/primitives/switch.py
-
Dual-core processing question
There are some great docs and tutorials here: https://github.com/peterhinch/micropython-async/tree/master/v3/docs
-
multithreading with micropython and passing variables between threads
async/await uses a single core but you can have as many tasks as you need. It's takes a little getting your head around but there are some good tutorials, e.g. https://github.com/peterhinch/micropython-async/blob/master/v3/docs/TUTORIAL.md
-
testing my automatic cat food dispenser, controlled by arduino uno, moved by a stepepr motor and build with 3d printed parts.
This is the queue I use: https://github.com/peterhinch/micropython-async/blob/master/v3/primitives/queue.py
-
Micropython asynchronous function for garage door opener
Is there an easy way to make the pushbutton() function run asynchronously? I was looking at this module but it seems somewhat overkill for my purpose.
pico-micropython-lowpower-workaround
-
Does the raspberry pi pico constantly draw power? If so can you stop this?
There are new MicroPython commands for low power use (LIGHTSLEEP) but you may have to build the code yourself as the RPF port did not support these when I last looked... This GITHUB entry is a neat library if you have a low power RTC or other hardware that can trigger a GPIO pin to wake the board up.
-
Power efficiency
There is a workaround library for implementing low power mode to wait for GPIO input on the Pico, but it is MicroPython only. Are you looking for a C/C++/Rust solution?
What are some alternatives?
picoweb - Really minimal web application framework for the Pycopy project (minimalist Python dialect) and its "uasyncio" async framework
Raspberry-Pi-Pico- - Tutorials / Projects and Devlog - Course Related to the Raspberry Pi Pico
lib-python - Blynk IoT library for Python and Micropython
MandoPuter - Electronics to drive a Mandalorian gauntlet
MaixPy-v1_scripts - micropython scripts for MaixPy
PyDOS - DOS-like OS for microcontroller boards running Micropython or Circuitpython
MicroPython-micro-bit_Friend_MOD - The Friend module is a micro:bit chatbot that you can run inside of the REPL.
MicroPython - MicroPython - a lean and efficient Python implementation for microcontrollers and constrained systems
epsilon-sample-app-rust - A sample Rust app for the NumWorks graphing calculator
hbty - A flickering LED candle that plays tunes. Extra birthday points guaranteed
micropython-lib - Core Python libraries ported to MicroPython
Env-KB - A custom mechanical keyboard inspired by the CFTKB Mysterium utilizing the Raspberry Pi Pico