Introduction
Amsterdam’s maker scene thrives on open‑source hardware, from STM32 microcontrollers to ESP32, Arduino Uno, and Arduino Nano boards. Whether you’re building a simple sensor node or a full‑featured IoT robot, a clear roadmap saves time and avoids common pitfalls. This tutorial walks you through the essential steps, highlights key STEM kits (USA & Europe), and shows how Robotics Kits’ AI‑driven Build‑to‑Buy catalog can streamline parts sourcing.
Why Combine STM32, ESP32, and Arduino?
- STM32 offers high‑performance Cortex‑M cores, perfect for real‑time control and motor drivers.
- ESP32 (and the newer ESP32‑S3) adds built‑in Wi‑Fi/BLE for IoT connectivity.
- Arduino boards provide a beginner‑friendly IDE and a massive library ecosystem.
- Together they let you prototype fast (Arduino), then migrate performance‑critical code to STM32 while keeping wireless features on ESP32.
Step‑by‑Step Roadmap
1. Choose Your Core Board
| Role | Recommended Board | Why | |------|-------------------|-----| | Main controller | STM32F103C8 (Blue Pill) | Affordable, 72 MHz Cortex‑M3, plenty of GPIO | | Wireless module | ESP32‑S3 DevKitC | Dual‑core, Wi‑Fi/BLE, extra AI instructions | | Quick‑start board | Arduino Uno or Arduino Nano | Ideal for first‑time coding, large community |
If you prefer an all‑in‑one solution, the ESP32‑S3 can run Arduino sketches directly, but you’ll miss the deterministic timing of STM32 for motor control.
2. Set Up the Development Environment
- Install VS Code and the PlatformIO extension – works on Windows, macOS, and Linux.
- Add the STM32CubeMX package for peripheral configuration.
- Install the Arduino IDE for quick prototyping.
- For ESP32, use the Espressif IDF or the Arduino core (both available via PlatformIO).
> Tip: Robotics Kits’ AI Build‑to‑Buy tool can generate a ready‑to‑use platformio.ini file based on the parts you select, saving hours of manual setup.
3. First Projects – Blink & Sensor Basics
- Blink LED on each board to verify toolchains.
- Connect a DHT22 temperature/humidity sensor to the STM32 and read data via HAL libraries.
- Use the ESP32 to publish the sensor data to MQTT on a public broker (e.g.,
test.mosquitto.org).
These tiny projects introduce GPIO, UART, and I2C – the building blocks for later integration.
4. Connect STM32 with ESP32 via UART or I²C
| Connection | Pins (STM32) | Pins (ESP32) | |------------|--------------|--------------| | UART TX → RX | PA9 (TX) | GPIO17 (U2RXD) | | UART RX ← TX | PA10 (RX) | GPIO16 (U2TXD) | | I²C SDA | PB7 | GPIO21 | | I²C SCL | PB6 | GPIO22 |
Write a simple firmware on STM32 that streams sensor data over UART. On the ESP32, read the stream and forward it to the cloud. This pattern separates real‑time control (STM32) from networking (ESP32).
5. Build a Simple IoT Sensor Node
- Hardware: STM32 + ESP32 + DHT22 + optional BMP280 pressure sensor.
- Software:
- STM32 reads sensors, formats JSON, sends via UART. - ESP32 receives JSON, connects to Wi‑Fi, publishes to an MQTT topic.
- Visualization: Use Node‑RED on a Raspberry Pi (or a cloud dashboard) to display live data.
This project showcases IoT, STEM kits Europe, and the power of combining multiple microcontrollers.
6. Expand with Raspberry Pi or Arduino Nano
- Add a Raspberry Pi 4 as an edge server for data logging and AI inference (e.g., TensorFlow Lite on sensor data).
- Use an Arduino Nano to drive small actuators (servo, motor driver L298N) while the STM32 handles precise PWM.
7. Resources & Community
- Official docs: STM32Cube, Espressif IDF, Arduino.
- Forums: Stack Overflow, ESP32.com, STM32 Community.
- Local meetups: Amsterdam Hackerspace, Maker Faire Europe.
- Competitor comparison: SparkFun offers similar boards, but Robotics Kits provides a unified AI catalog, USD pricing, and worldwide shipping without the need to juggle multiple vendor accounts.
Where to Source Parts
| Component | Robotics Kits (AI Catalog) | SparkFun | Digi‑Key | Amazon | |-----------|----------------------------|----------|----------|--------| | STM32 Blue Pill | ✅ AI‑generated BOM, fast shipping | ✅ | ✅ | ✅ | | ESP32‑S3 DevKitC | ✅ Integrated pricing, China sourcing help | ✅ | ✅ | ✅ | | DHT22 Sensor | ✅ Bundled with optional STEM kits Europe | ✅ | ✅ | ✅ | | Breadboard & jumper wires | ✅ Included in starter kits | ❌ | ❌ | ✅ |
Robotics Kits’ AI Build‑to‑Buy automatically suggests the most cost‑effective suppliers, consolidates customs duties, and offers a single checkout in USD.
Using Robotics Kits AI Build‑to‑Buy
- Select the parts from the roadmap above in the online catalog.
- Click “Generate BOM”. The AI engine aggregates pricing from multiple distributors, applies bulk discounts, and suggests the optimal shipping method.
- Checkout once – you receive a single invoice in USD, with worldwide tracking.
- Optional: Request China sourcing assistance for custom PCBs; Robotics Kits can coordinate with vetted factories.
This workflow beats the manual comparison you’d perform on SparkFun, Amazon, or Digi‑Key, especially for makers in Amsterdam who need fast EU delivery.
Conclusion & Next Steps
You now have a clear roadmap to start building with STM32, ESP32, and Arduino in Amsterdam’s vibrant maker ecosystem. Begin with the blink‑LED test, progress to sensor integration, and finally create a connected IoT node that streams data to the cloud. When you’re ready to order parts, let Robotics Kits’ AI catalog handle the sourcing so you can focus on building.
Ready to start? Visit Robotics Kits, generate your BOM, and launch your first STM32‑ESP32 project today!