I have an #ESP32 programmed in #micropython that wakes every five minutes to check the temperature of a water tank.
If the temperature (or it's battery voltage) drop below certain level, it texts me. Otherwise it goes into deepsleep for another five minutes.
All this is powered by a 3.3V 400mAh Lipo battery. I set it going on Aug 1st, and I've just had a text to say it's battery is low - 50 days!
Learn how to control the Adafruit NeoPixel (WS2812) with a few lines of MicroPython
https://www.makerspace-online.com/micropython-ws2812-aka-neopixel/?utm_source=mms
#AdafruitNeoPixel #WS2812 #LED #MicroPython #programming #OpenHardware
Does anyone with micropython knowledge see why the EMF badge would prompt an invalid syntax code in line 13, when I try to run this? Maybe it's not even on this line. I've thrown it into Mu Editor, but it wouldn't tell me anything. All indents are spaces.
https://gist.github.com/davedarko/e85d4f0c76fffd45e80228f2f217072e
Yay! We've officially removed support for building #microPython with #python2 https://github.com/micropython/micropython/pull/17870
It was challenging to design such a small modular #3Dprinted #robot for #PiWars in 2024. I have started to work on the code again as so much was unfinished for the competition. This was my first robot using a #RaspberryPi 5 and my first robot with encoder motors. I wrote mechanum mixing with IMU support in #Micropython for the Motor2040 board, which the Pi5 talks to over the USB lead. After some work to better comment the code I have finally published it on https://github.com/Footleg/PiWars2024
#3Dprinting
It would be nice to throw an RM2 onto any of the WIZnet EVB-Pico2 (W5100s, W5500, W6100), but the standard Pico pinout doesn't expose the pins that are baked in for Wi-Fi.
I think there's now support for alternate wifi pins in #micropython
There's an enhancement issue filed for CircuitPython: github.com/adafruit/circuitpython/issues/9777
Another thing I'm a big fan of is MicroPython! ManT1S will ship with an OTA-capable #MicroPython runtime pre-installed, with WebREPL enabled out of the box. This means that you can load files and get a console over the network when you use the ManT1S-Bridge! It's hard to beat the convenience of connecting your device, popping into a #shell and interactively playing with the #hardware to get started.
#embedded #dev #development #python
https://www.crowdsupply.com/silicognition/mant1s
Добитись стабільних значень від adc на esp8266 це ще та задача з зірочкою
Поки маю таке керування, можливо щось ще зміню
@pauls @bigzaphod Totally agree! #ESPHome was my gateway into this, and then to #MicroPython /#CircuitPython. I used MicroPython for an electronic conference name badge with #airquality sensors, which has been pretty fun as a project. (Not to mention useful, as it also led to my discovery of a #headache / #migraine trigger I was unaware of before.)
Спробував micropython на esp8266, дуже сподобалось
Можливо варто підівчити його
next, add a black bezel, a 16-segment font and add a video over..., hmm, underlay. and lots and lots of eyecandy.
Quickly adds another slide to his presentation showing teachers how to downgrade an Arduino Nano ESP32 #MicroPython image using the Arduino Labs MicroPython Installer.
Here's how:
Get the app-bin firmware from: https://micropython.org/download/ARDUINO_NANO_ESP32/
Next:
1. Tap-tap the on-board button (at about the speed you read tap-tap). The RGB LED colour cycles.
2. Tap the on-board button again. The RGB LED pulses green.
3. Drag and drop the app-bin file (not .uf2 like RP2) into the Installer.
So, I'm presenting a workshop for teachers on the Arduino Nano ESP32 at the CEMC conference on Wednesday, and the fresh new #MicroPython 1.26 breaks simple example code.
This works just fine in 1.25. Has anyone else had problems with 1.26 and this (or other) microcontrollers?
Talking of MicroPython, these are not bad at all: RP2040-Zero. They're a Waveshare thing, a cut-down Raspberry Pi Pico.
Universal Solder (in Windsor, ON) have a sale on, and have these boards for $4 each:
https://www.universal-solder.ca/product/rp2040-zero-compatible-with-raspberry-pi-pico/
yes, it's v1.26.0 ...
I2CTarget, improved floats and native emitter, STM32N6 & ESP32C2 support — https://github.com/orgs/micropython/discussions/17873