July 2024 Meetup
Hans Marki talks to us about Octoprobe, Sean delivers the news
News Round-up
Headlines
Tulip
We looked at Tulip a little while ago, …but it’s come a long way! It’s got a MIDI interface, ADCs and DACs, 7 inch touchscreen, USB keyboard input support; but most importantly an extensive MicroPython API for doing things like making music and controlling audio equipment, as well as playing games.
Check out this video from Floyd Steinberg, where he goes through running a synth application on the Tulip.
ViperIDE
We looked at ViperIDE last month but the improvements continue!
One of the more recent noteworthy features is that there is now an experimental version of ViperIDE that simulates a device inside the browser using the MicroPython WASM build. The WASM build is then also used to do linting, live in the browser – I’ve tried it and it works quite well. Very neat!
In my own brief testing since last month it seems other things like variable suggestions / autocompletion are much improved – although make sure you save regularly as it seems like auto-save doesn’t work (maybe I’ll get around to opening a bug report…)
PyCon AU: Call for proposals
As noted last month, PyCon AU’s call for proposals closed last Sunday, the 21st. Good luck to those of you who submitted a proposal!
PyCon AU 2024 will be held from the 22nd to the 26th of November at the Melbourne Convention and Exhibition Centre, tickets aren’t on sale yet but more details are “coming soon”
Programming ESP32: Learn MicroPython Coding and Electronics [book]
(Matt received the book, feel free to take a look! It’s a really nice introductory text.)
Matt’s New Hardware
Waveshare? Nope. Next month!
Hardware News
Thumby Color
It’s a Thumby… but with colour! And also it seems like a (very) slight size increase compared to the original, which for my big hands is certainly welcome.
Apparently there will be a Kickstarter crowdfunding campaign later in the year, stay tuned
Inkplate 6 MOTION
The latest Inkplate incarnation hit its crowdfunding target this month, orders can still be placed if you’re interested and you missed it.
Features a 6-inch e-paper display with an 11 Hz refresh rate – making it suitable for things like animations, keyboard input, graphical UX elements, and scrolling text. Unlike some of the past Inkplate devices however it uses an STM32H743 microcontroller, presumably to help handle the much greater graphical demands, so I’d imagine there might be some work required to get an existing Inkplate application to use this new board.
WIZnet combines their W5500 Ethernet chip with an RP2040
WIZnet already sell a Raspberry Pi Pico-compatible board with the W5500 built-in, but now they’re close to releasing an IC which has both in the one package.
There’s no release date yet, I’m sure we’ll feature it here when it does finally come out.
OMGS3
Unexpected Maker, a.k.a. Seon, has teased a new board he’s making – claiming to be the “world’s smallest fully-featured ESP32-S3 board”.
It’s so small there’s not your “normal” pins, instead it’s got solder pads on the underside for integrating compactly into a larger design. Check out his YouTube video for more info.
LilyGo
Lots more new LilyGo stuff! (Sorry, I ran out of time to list them here…)
- T-Energy S3
- T-Knob
- T-Halow
- T3 S3 E-paper
Software News
ESP32-C6, ESP32-C2 and ESP32-H2 port
The ESP32-C6 port has been added to the v1.24 milestone.
TrekMax has added a PR for ESP32-C2 support. If anyone is interested in these devices, please build and test this PR.
ESP32-H2 support has not yet been added but all three of these device require similar changes - using the C6 and C2 as guides should make it pretty straightforward to add the H2.
ESP-File Manager
A browser-based file manager for ESP32, which runs directly on device
Very recent project (as in the first commit is last week), but already seems very feature-rich and useful. Check it out on GitHub, thanks to users mispacek and milikiller (sorry, I wasn’t able to find actual names of the people, but thank you whoever you are!)
RP2040 PIO Emulator
Nathan Young has made some great progress on an RP2040 PIO emulator, written in Python. Useful for things like unit tests for PIO programs, stepping through PIO execution, plotting outputs, and debugging PIO code. There’s also a repo of examples, including this one below using Jupyter for plotting the square wave output by a simple PIO program.
Get Started with MicroPython on Raspberry Pi Pico - 2nd Edition
Raspberry Pi Press have released an updated version of their beginners introduction to the Pi Pico and MicroPython, now targeting the Pico W.
I haven’t got a copy of it myself but the grabs I’ve seen from it look beautifully done, and it seems like it covers a wide breadth of subject material in a good level of detail. Seems ideal for beginners, or in educational settings.
Projects
Look Mum No Pixels: a Mini Vector Display
Nick Moore (founder of this meetup!) has started writing up his latest project: Using MicroPython to control a Vector Display. Look Mum No Pixels: a Mini Vector Display
MicroPython Smartwatch with WASP-OS
In a similar theme to some of the links from last month, we’ve got another MicroPython smartwatch!
Shawn Tolidano has a neat guide on getting MicroPython running on a very cheap (as in ≈AU$30) smartwatch, the Colmi P8 (he has links through to TVC Mall to buy one). The MicroPython support comes via WASP-OS, which is “…is a firmware for smart watches that are based on the nRF52 family of microcontrollers.”
I haven’t had a chance to try it, but I’d love to get one to play with and give it a go!
Exploring Microphone Magic with I²S and Micropython
Hardware company Infineon have published a fairly detailed blog post on using one of their I²S microphone devices with MicroPython, running on a Cyprus PSoC board (although the Pi Pico / RP2040 should also be possible as well).
Pixel Art with no code
Core Electronics have written up an extensive guide on using the WLED app to drive an ESP8266 or ESP32 connected to an array of addressable LEDs (i.e. the ubiquitous WS2812B). They use their own GlowBit Matrix, but they stress it’s just as easy to use any compatible addressable LEDs.
The WLED app provides a no-code way to show complex patterns or even basic images onto a configurable number of LEDs – obviously results will vary depending on how many LEDs you have!
Quick Bytes
- Getting Started with HTTP GET Requests: a good beginners introduction to GET requests, from Random Nerd Tutorials, using MicroPython on a Pi Pico W
- Getting Started with Bluetooth Low Energy: also from Random Nerd Tutorials, using MicroPython on an ESP32, another good beginners introduction
- Don’t let MicroPython’s garbage collector ruin your program: a deeper look at what garbage collection is and how to avoid some common issues it can cause in MicroPython, from the Making Stuff with Chris DeHut YouTube channel
Final Thoughts
Always consider…
…that your threat model might be incomplete