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.
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."