I’ve been playing with LoRa for some time now, mostly with two adhoc LilyGO nodes. After seeing a YT clip from Andreas Spiess I installed a meshtastic node on a Heltec V3. Wanting more, I bought a Heltec V4 and an 8DBi (60cm) antenna. Heltec V3 got a new home in Tyrone’s home.
GPS for the Heltec V4 module!
Via meshtastic I communicated with a guy here in the neighbourhood. I installed Meshcore and my LoRa playground grew!
There is a Raspberry CM3 in there (Compute module) Some big antenna’s and a waterproof case. Using POE to power the thing, the plan is to have this installation at a high point around my house. (LED pole?!? 🙂 )
Meanwhile I got these : Seeed Xiao Lora ESP32 modules
MeshTUI
My mobile Heltec V4, big antenna coming and battery operated, so I can add to https://mapme.sh
I’ve been playing with all kinds of MicroControllers, but not this one.
Something new to learn.
The STM32 Nucleo-64 board provides a flexible way to try out the STM32 microcontroller. The Arduino Uno V3 can be connected as a shield.
STM32 excels in high-performance, deterministic industrial control with better real-time capability, lower power, and rich peripherals, using ARM Cortex-M cores, while ESP32 dominates IoT with built-in Wi-Fi/Bluetooth, lower cost, easier Arduino/PlatformIO access, and strong community, but with higher power and less precise real-time control (Xtensa cores), making ESP32 great for connected projects and STM32 for industrial/precision tasks.
STM32 (STMicroelectronics) Strengths:
Performance: Superior real-time processing, deterministic behavior, efficient for complex control.
Power: Advanced low-power modes, excellent for battery-powered devices.
Reliability: Strong for industrial, medical, and automotive applications.
Tools: STM32CubeIDE/MX, HAL/LL libraries.
Weaknesses:
Higher cost and learning curve.
Requires external modules for Wi-Fi/Bluetooth.
ESP32 (Espressif Systems) Strengths:
Connectivity: Integrated Wi-Fi and Bluetooth (BLE).
Cost & Ease: Cost-effective, easy entry with Arduino IDE/PlatformIO, great for rapid prototyping.
Community: Strong open-source community.
Features: Dual-core (often), built-in OTA updates, good for audio/AI.
Weaknesses:
Less deterministic/real-time performance than STM32.
Higher active power consumption, less precise analog.
Can have complex debugging/compilation.
When to Choose Which
Choose STM32 for: Industrial automation, precise instrumentation, medical devices, complex motor control, low-power wearables, general embedded systems learning.
Choose ESP32 for: IoT devices, smart home products, Bluetooth beacons, educational projects, rapid prototyping, audio/voice applications.
I saw some LED strip dividers on Aliexpress, next year it’s going to have a star on top.
Like this….
Another LED related project I started today is a Whack-A-Mole game with multiple levels. For this I need to convert a simple arcade button to a programmable multicolor version.
From single white LED to multi color, programmable.
Another game in the making is a Red Light – Green Light game. Like in Squid Game. This will use a lidar and a python script which detect movement using a camera.
While this is a old project from 2019, I decided to make a more responsive one, after my friend Tyrone mentioned a project somewhere on the internet (forgot where). Time to dust off this project!
2019 version
Above version worked but was slow. I used a python script to send values to de controller.
Memory setup was the same.
Below my new schematic, using an opamp to drive the analog meter.
Untested design .. Yeah I got bored on new year’s eve
Utilizing a MCP41000 digital potmeter and a LM358 signal amplifier I hope to get a more responsive setup.
https://gist.githubusercontent.com/fashice/2098d1301117b86caed94aca8f2101ff/raw/7d2a7300e7ddf42d4f1793f693dbb517e09bd2d8/gistfile1.txt
change mqtt server and add to hydra using
await loadScript("https://domain/script.js¨);
"If something is worth doing, it's worth overdoing."