MicroPython
pico-examples
MicroPython | pico-examples | |
---|---|---|
197 | 62 | |
18,387 | 2,538 | |
1.0% | 1.7% | |
9.8 | 4.1 | |
1 day ago | about 23 hours ago | |
C | C | |
MIT | BSD 3-clause "New" or "Revised" License |
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.
pico-examples
-
Raspberry Pico C: Remote Sensor
Navigate to the Pico Examples repository.
-
TCP Server Example - How to use WPA3 device
I'm experimenting with the "pico/wifi/tcp_server/". It works as expected with a WPA2 secured network, however I can't figure out how to access a WP3 secured network. According to the Pico W datasheet the device supports WPA3. However the function cyw43_arch_wifi_connect_async doesn't seem to have the option to select WPA3. The supported options are CYW43_AUTH_WPA_TKIP_PSK, CYW43_AUTH_WPA2_AES_PSK, or CYW43_AUTH_WPA2_MIXED_PSK.
-
Pico and MPU6050 only outputs 0's
I connected the MPU6050 and Pico as shown in the wiring guide for the example code here and have also tried using a level shifter with this wiring setup.
-
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:
-
Trouble Getting NeoPixel Libraries to Compile in C
Okay I abandoned both of those libraries and tried the simpler WS2812 example in the Pico SDK and I did get it working....finally.
-
Beginner question
For C++, you could look at the pico-examples on Github https://github.com/raspberrypi/pico-examples
-
I've looked everywhere online, and I wasn't able to find something like this, does anyone have any advice?
I don't know what you mean. There are dozens of tutorials on the frontpage of google. And just straight up a bt folder of projects for the pico w in the rpi github at https://github.com/raspberrypi/pico-examples/tree/master/pico_w/bt. have you tried that? If you haven't, then you need to work on learning how to use google because people aren't here to do work for you. If you have tried this and it didn't work then reread my previous post and ask better questions.
- So I started porting braids to the PI PICO and ended with a generative drum machine
-
Pi Pico driving an SPI display SSD1351 driver - corrupted image?
I'm sorry I don't use the pico-sdk so I'm not 100% sure of which method it'd be. A short lookup in the pico-examples repository brought me to this.
-
Turn on Pico W LED pin in C
The LED is controlled by a GPIO pin on the radio, not the RP2040. See https://github.com/raspberrypi/pico-examples/blob/master/pico_w/wifi/blink/picow_blink.c.
What are some alternatives?
circuitpython - CircuitPython - a Python implementation for teaching coding with microcontrollers
qmk_firmware - Open-source keyboard firmware for Atmel AVR and Arm USB families
TinyGo - Go compiler for small places. Microcontrollers, WebAssembly (WASM/WASI), and command-line tools. Based on LLVM.
pico-sdk
PlatformIO - Your Gateway to Embedded Software Development Excellence :alien:
pico-playground
esp-idf - Espressif IoT Development Framework. Official development framework for Espressif SoCs.
Pico-Game-Controller - Raspberry Pi Pico Firmware for a SDVX or IIDX controller setup. Supports 11 buttons, 10 LEDs, 1 WS2812B strip, and 2 encoders.
Espruino - The Espruino JavaScript interpreter - Official Repo
qmk_firmware - See the "forkreadme" branch or the following link for a description of branches maintained in this fork.
jerryscript - Ultra-lightweight JavaScript engine for the Internet of Things.
ch32v307 - Including the SDK、HDK、Datasheet of RISC-V MCU CH32V307 and other relevant development materials