With Examples for Arduino UNO, Raspberry Pi Pico and ESP32
Programming small electronic systems has never been more accessible. Tasks that once demanded expensive tools, specialized hardware, and deep electrical engineering expertise can now be tackled with low-cost development boards and approachable software. At the centre of this shift is the Arduino environment, which provides a unified and familiar way to program a wide range of microcontroller platforms—from classic AVR boards like the Arduino UNO to modern ARM-based boards such as the Raspberry Pi Pico, and powerful Wi-Fi-enabled devices like the ESP32.
This book introduces embedded programming through the core idea that defines all microcontrollers: reading inputs, processing information, and controlling outputs in a predictable loop. The Arduino environment abstracts much of the hardware complexity, allowing you to focus on behaviour rather than implementation details. With just a few lines of code, you can blink LEDs, read sensors, control motors, and communicate with other devices.
While the Arduino UNO, Raspberry Pi Pico, and ESP32 boards differ greatly in performance and features, they share the same fundamental building blocks: digital and analog I/O, timers, serial communication, PWM, interrupts, and power management. Learning these concepts within the Arduino framework builds skills that transfer easily across platforms and scale toward more advanced applications.
By exploring multiple boards while maintaining a consistent programming approach, this book helps you progress from simple experiments to confidently produce well-structured designs—showing that embedded development can be both practical and enjoyable.
This bundle contains the AI Fusion Lab Kit – which includes over 450 components – and the book Physical AI with Raspberry Pi, offering a comprehensive, hands-on introduction to AI, electronics, and Python programming.
Build practical projects that combine computer vision, voice interaction, sensors, motors, and large language models. The included book guides you step by step from Raspberry Pi setup and hardware control to advanced applications using OpenCV, MediaPipe, YOLO, OpenAI services, and local Ollama models.
SunFounder AI Fusion Lab Kit for Raspberry Pi (450+ parts)
The AI Fusion Lab Kit transforms a Raspberry Pi into a complete platform for learning artificial intelligence, electronics, and Python programming. It supports Raspberry Pi 5, 4B, 3B+, 3B, and Zero 2 W, as well as popular AI models and services including ChatGPT, Gemini, Grok, DeepSeek, Qwen, Doubao, and Ollama.
With its camera, Pan-Tilt HAT, 10-axis sensor module, microphone, speaker, and electronic components, the kit enables users to build interactive AI projects that combine voice, vision, movement, and sensor data. It is suitable for beginners, students, makers, and anyone who wants to explore practical AI applications.
Build Multimodal AI Projects
Combine large language models with speech recognition, text-to-speech, camera vision, sensors, and breadboard circuits. Create projects that can listen, speak, see, react, and interact with their environment while learning how modern AI systems work.
Explore AI Vision and Object Tracking
Use YOLO, OpenCV, and MediaPipe to detect and track objects, colors, faces, and human movement. The motorized Pan-Tilt HAT allows the camera to follow targets automatically, demonstrating how computer vision and motion control work together.
Voice AI with the Fusion HAT+
The Fusion HAT+ simplifies hardware control through a unified Python library and supports safe Raspberry Pi shutdown. Its integrated microphone and speaker make it easy to develop voice-controlled assistants and other conversational AI applications.
Compatible with Raspberry Pi 5, 4B, 3B+, 3B, and Zero 2 W
Supports multiple cloud-based and local AI models
Includes camera, Pan-Tilt HAT, 10DOF module, microphone, and speaker
Projects covering voice AI, computer vision, sensors, and electronics
Video lessons, documentation, and sample code
Book: Physical AI with Raspberry Pi
Using the Raspberry Pi and the AI Fusion Lab Kit, this book takes you step by step from the fundamentals of hardware interfacing to the development of intelligent systems capable of seeing, listening, speaking, and making decisions. Whether you are a student, educator, maker, or professional engineer, you will gain valuable experience through projects designed to build both knowledge and confidence.
Beginning with system setup, GPIO programming, sensors, displays, motors, and automation techniques, the book gradually introduces more advanced topics, including speech recognition, text-to-speech synthesis, conversational AI, object recognition, and machine learning. Along the way, you will learn how to create voice-controlled devices, intelligent assistants, camera tracking systems, environmental monitoring solutions, and AI-powered embedded applications.
Explore modern technologies such as OpenAI services, Ollama local large language models, OpenCV, MediaPipe, and YOLO object detection while gaining practical experience with real-world applications used in robotics, industrial automation, smart devices, and autonomous systems. You’ll discover how intelligent software can interact with sensors, cameras, motors, and displays to create systems that respond naturally to the world around them.
Rather than simply following code examples, you will be encouraged to experiment, customize, and expand every project. The techniques and skills developed throughout this book provide a solid foundation for future innovation, rapid prototyping, research, and product development. If you are ready to move beyond traditional electronics and explore the future of intelligent embedded systems, this book will guide you every step of the way.
This bundle contains:
SunFounder AI Fusion Lab Kit for Raspberry Pi (normal price: €100)
Book: Physical AI with Raspberry Pi (normal price: €45)
Not included
Raspberry Pi
Understanding and Using Them Effectively
What happens in electronics is invisible to the naked eye. The instrument that allows to accurately visualize electrical signals, the one through which the effects of electronics become apparent to us, is the oscilloscope.
Alas, when one first ventures into electronics, it is often without an oscilloscope. And one is left fumbling, both physically and mentally. Observing an electrical signal on a screen for the first time is a revelation. Nobody wishes to forgo that marvel again. There is no turning back.
In electronics, if one wishes to progress with both enjoyment and understanding, an oscilloscope is essential. This marks the beginning of a period of questioning: how to choose one? And no sooner is that question answered than a whole string of others arises, which can be summed up in just one: how does one use the oscilloscope in such a way that what it displays truly reflects the reality of the signals?
Rémy Mallard is a passionate communicator with a gift for making complex technical subjects understandable and engaging. In this book, he provides clear answers to essential questions about using an oscilloscope and offers a wealth of guidance to help readers explore and understand the electrical signals behind electronic systems. With his accessible style and practical insights, this book is a valuable tool for anyone eager to deepen their understanding of electronics.
A Practical Guide to AI, Python, and Hardware Projects
Welcome to your BeagleY-AI journey! This compact, powerful, and affordable single-board computer is perfect for developers and hobbyists. With its dedicated 4 TOPS AI co-processor and a 1.4 GHz Quad-core Cortex-A53 CPU, the BeagleY-AI is equipped to handle both AI applications and real-time I/O tasks. Powered by the Texas Instruments AM67A processor, it offers DSPs, a 3D graphics unit, and video accelerators.
Inside this handbook, you‘ll find over 50 hands-on projects that cover a wide range of topics—from basic circuits with LEDs and sensors to an AI-driven project. Each project is written in Python 3 and includes detailed explanations and full program listings to guide you. Whether you‘re a beginner or more advanced, you can follow these projects as they are or modify them to fit your own creative ideas.
Here’s a glimpse of some exciting projects included in this handbook:
Morse Code Exerciser with LED or BuzzerType a message and watch it come to life as an LED or buzzer translates your text into Morse code.
Ultrasonic Distance MeasurementUse an ultrasonic sensor to measure distances and display the result in real time.
Environmental Data Display & VisualizationCollect temperature, pressure, and humidity readings from the BME280 sensor, and display or plot them on a graphical interface.
SPI – Voltmeter with ADCLearn how to measure voltage using an external ADC and display the results on your BeagleY-AI.
GPS Coordinates DisplayTrack your location with a GPS module and view geographic coordinates on your screen.
BeagleY-AI and Raspberry Pi 4 CommunicationDiscover how to make your BeagleY-AI and Raspberry Pi communicate over a serial link and exchange data.
AI-Driven Object Detection with TensorFlow LiteSet up and run an object detection model using TensorFlow Lite on the BeagleY-AI platform, with complete hardware and software details provided.
In dit boek gebruiken we JAL (Just Another Language) om de PIC-microcontroller te programmeren in 60 oefeningen. JAL is makkelijk in gebruik en is een goede basis om programmeren in andere talen snel te leren. Na het lezen en toepassen van de voorbeelden in dit boek kan iedereen die zich hierin serieus heeft verdiept met behulp van JAL zelf de microcontroller aansturen. Je leert onder meer het programmeren van timers, analoog/digitaal omzetters, comparators, pulsbreedte regeling voor motoren en geluid, LED- en LCD-scherm aansturing, USB-connectie en communicatiemogelijkheden met computers of andere microcontrollers.
Ook weet je aan het eind van het boek wat je moet doen om nu nog onbekende mogelijkheden te gaan toepassen. Met deze kennis kan iedereen van beginner tot meer gevorderde zijn creativiteit vorm geven in projecten met microcontrollers.
Wil je verder met leren programmeren dan legt dit boek ook een zeer goede basis. Wie goed met JAL overweg kan en zich de gestructureerde wijze van denken heeft aangeleerd, zal de stap naar andere programmeertalen zoals Python, C++ enz. kunnen maken. Ook het programmeren van minicomputers zoals de Raspberry Pi en Arduino zijn mogelijkheden.
Om te starten is geen kennis van elektronica nodig. Wie niets weet van elektronica, krijgt overal in het boek de noodzakelijke kennis aangereikt. Alle belangrijke en benodigde informatie staat in de tekst.
Develop innovative hardware-based projects in C
The Raspberry Pi has traditionally been programmed using Python. Although this is a very powerful language, many programmers may not be familiar with it. C on the other hand is perhaps the most commonly used programming language and all embedded microcontrollers can be programmed using it.
The C language is taught in most technical colleges and universities and almost all engineering students are familiar with using it with their projects. This book is about using the Raspberry Pi with C to develop a range of hardware-based projects. Two of the most popular C libraries, wiringPi and pigpio are used.
The book starts with an introduction to C and most students and newcomers will find this chapter invaluable. Many projects are provided in the book, including using Wi-Fi and Bluetooth to establish communication with smartphones.
Many sensor and hardware-based projects are included. Both wiringPi and pigpio libraries are used in all projects. Complete program listings are given with full explanations. All projects have been fully tested and work.
The following hardware-based projects are provided in the book:
Using sensors
Using LCDs
I²C and SPI buses
Serial communication
Multitasking
External and timer interrupts
Using Wi-Fi
Webservers
Communicating with smartphones
Using Bluetooth
Sending data to the cloud
Program listings of all Raspberry Pi projects developed in this book are available on the Elektor website. Readers can download and use these programs in their projects. Alternatively, they can customize them to suit their applications.
This complete STM32 microcontroller programming course features a textbook, a component kit, hands-on projects, and a comprehensive online course. It is ideal for step-by-step learning of embedded systems programming with Arduino using a practical, hands-on approach.
A Practical Introduction to Embedded Systems with the STM32
This course is designed for people who are new to embedded systems and looking for a structured, example-driven way to get started. A kit of parts comprising LEDs and resistors, switches, sensors and actuators, displays, a breadboard and wires, and more is included. These are used in the course to illustrate example applications.
No prior experience with Arduino or embedded development is required. Each section features hands-on examples and mini projects designed to reinforce key concepts and inspire deeper exploration. By the end of the course, you’ll be able not only to reproduce the examples but also to build on them with your own ideas and applications.
What Will You Learn?
Microcontroller programming in C/C++ with the STM32 using the Arduino IDE
Working with Digital I/O, read buttons and encoders, control LEDs and relays
Read analog inputs, voltages, and analog sensors
Generating analog output signals and PWM
Use serial communication like UART, I²C and SPI to control displays and read digital sensors and SD cards
Managing time
Working with interrupts
Real-time sensor input and control via buttons, LEDs, and displays
Control actuators like relays and servo motors
Debug programs using breakpoints and stepping through code
Who Is It For?
Students and self-learners exploring embedded systems
Makers and IoT enthusiasts looking to improve their hardware skills
Educators and trainers seeking ready-to-teach material
What's Inside the Box?
Access to the full course on the Elektor Academy Pro Learning Platform
STM32 NUCLEO-F411RE microcontroller board
Book: Arduino for STM32
Downloadable project files for every module
Component Box:
2× LED, red, 5 mm
LED, green, 5 mm
3× Resistor, 470 Ω, 0.25 W
LDR
Potentiometer, 10 kΩ, linear
Pushbutton
Rotary encoder module
Relay module
DHT22 Humidity & Temperature Sensor
TM1637-compatible 4-digit 7-segment display
MPU-6050 IMU with headers
SSD1306-compatible I²C OLED display
Micro SD card adapter with header
Buzzer
SG90 Micro Servo
ILI9341-compatible SPI 240×320 TFT display
20× Jumper wires
Breadboard
Programming and Projects for the Minima and WiFi
Based on the low-cost 8-bit ATmega328P processor, the Arduino Uno R3 board is likely to score as the most popular Arduino family member, and this workhorse has been with us for many years. Eleven years later, the long-overdue successor, the Arduino Uno R4, was released. It is built around a 48 MHz, 32-bit Arm Cortex-M4 microcontroller and provides significantly expanded SRAM and Flash memory. Additionally, a higher-precision ADC and a new DAC are added to the design. The Uno R4 board also supports the CAN Bus with an interface.
Two versions of the board are available: Uno R4 Minima, and Uno R4 WiFi. This book is about using these new boards to develop many different and interesting projects with just a handful of parts and external modules. All projects described in the book have been fully tested on the Uno R4 Minima or the Uno R4 WiFi board, as appropriate.
The project topics include the reading, control, and driving of many components and modules in the kit as well as on the relevant Uno R4 board, including
LEDs
7-segment displays (using timer interrupts)
LCDs
Sensors
RFID Reader
4x4 Keypad
Real-time clock (RTC)
Joystick
8×8 LED matrix
Motors
DAC (Digital-to-analog converter)
LED matrix
WiFi connectivity
Serial UART
CAN bus
Infrared controller and receiver
Simulators
… all in creative and educational ways with the project operation and associated software explained in great detail.
Learn to Build Intelligent Embedded Systems
Build smarter embedded systems with Arduino UNO Q. This book gives you the tools, knowledge, and confidence to turn ideas into intelligent, working solutions using the Arduino UNO Q platform. Discover how to build intelligent embedded systems with the Arduino UNO Q and AI.
Unlock the full potential of the Arduino UNO Q, a next-generation platform that combines the real-time power of the STM32U585 microcontroller with the flexibility of a Qualcomm Dragonwing QRB2210 microprocessor.
Learn how to rapidly prototype real-world applications using the Arduino IDE for low-level embedded control and Python in Arduino App Lab for high-level development.
Build confidence through hands-on projects that guide you step by step from basic board features to complete working systems.
Explore ready-to-use, AI based Arduino App Lab examples and see how they can jump-start your development and reduce time to deployment.
Step into the world of Edge AI with a clear, practical introduction to Edge Impulse Studio—no prior AI experience required.
Follow a complete, real-world workflow to create a Keyword Spotting AI application, covering data collection, model training, optimization, and on-device inference using the Edge Impulse Studio.
Bridge the gap between embedded systems and machine learning and learn how to bring intelligence directly onto your hardware.
Perfect for embedded engineers, educators, students, and makers looking to stay ahead in AI-enabled product development.
Plot, Cut, Drill, Mill and Laser with the Z99
This book covers the construction, hardware, software, and operation of the Z99 – CNC machine. This is a multifunctional 4-axis machine for home construction.
The capabilities of the Z99 machine include:
large-format schematic plotting
PCB plotting with etch-resist pens
schematic plotting with conductive-ink pens
letter cutting out of vinyl
paper cutting
PCB/substrate drilling
PCB/substrate milling
text milling
laser engraving
laser cutting of solder paste masks
By making the support software available as freeware, readers of the book are challenged and encouraged to develop new applications for the Z99.
The machine would not be of much use if the user has no option to create suitable files for the designs in mind. A large part of this book is dedicated to creating source files in a variety of freeware software packages, including Inkscape, DesignSpark PCB, KiCad, and FlatCAM.
The book is also useful for readers keen to comprehend and then master the basic structure of HPGL, Gerber, Drill, and G-code files, as well as to have a go at deciphering them using software.
Open-Source-Code mit Arduino IDE und PlatformIO
Autonomes Fahren: GPS, Accelerometer, Gyroskop
PS3-Controller
Mikrocontroller wie der Arduino und Einplatinenrechner wie der Raspberry Pi haben sich zu beliebten Komponenten entwickelt. Dritter im Bunde ist der ESP32 der Firma Espressif. Mikrocontroller dieser Baureihe zeichnen sich durch eine Vielzahl implementierter Funktionen aus, die bei einem Arduino konventioneller Prägung mit einem Atmel-AVR-Mikrocontroller erst mit weiterer Hardware möglich sind. Prominentes Beispiel sind hier die WiFi- und Bluetooth-Funktionalitäten. Gegenüber einem Raspberry Pi zeichnen sie sich durch einen deutlich geringeren Preis aus.
Allgemeine Informationen für die Realisierung eines Roboterauto-Projekts mit dem ESP32 sind leicht zu finden. Dabei handelt es sich aber oft nur um Ausführungen zu einem Teilaspekt, ohne inhaltliche oder funktionale Abstimmung. So ist nicht nur die Beschaffung der benötigten Informationen mühselig und zeitaufwändig, sie kann auch außerordentlich fehlerträchtig sein.
Ansatzpunkt dieses Buches ist, diese Lücke zu schließen. Es geht auf verschiedene Möglichkeiten eines Chassis ein, vermittelt nötige Kenntnisse und führt schrittweise von einer einfachen Motorsteuerung zu einem komplexen sensor- und sprachgesteuerten Roboterauto. Hacks rund um GPS und eine PlayStation 3 runden die Sache ab.
Inhalt
Bei der Reihenfolge der Kapitel wurde versucht – beginnend bei der Darstellung von grundlegenden Informationen – über die Lösung einfacher Aufgaben zu etwas anspruchsvolleren Techniken zu führen.
Der Mikrocontroller ESP32
Die Software erstellen
Die Stromversorgung
Rund um die Hardware
Das Chassis
Der Gleichstrommotor
Kabellose Steuerung über WiFi
Mit Sensoren Hindernisse erkennen
Eine eigene Roboterauto-App
Servo und Lichtsensor
GPS
Accelerometer / Gyroskop
PS3-Controller
Roboterauto-App
Hinweis zur Software
Die Dateien haben das Suffix (.cpp). Grund ist die Entwicklung mit PlatformIO. Mit Copy & Paste sollten sie auch in der Arduino-IDE verwendet werden können.
The Basics, New Ideas & Applications
Build digital electronics from the ground up—and take it all the way to practical circuits you can use.
This book guides you through the core principles of digital technology with a strongly hands-on approach. You’ll begin with the essentials: signals, devices for working with them, and what "logic 0" and "logic 1" mean in real hardware. Simple demonstration setups made from easy-to-find parts (LEDs, diodes, resistors, switches) help you see how logic behaves, making the theory click before you move on.
From there, you’ll explore a wide range of logic elements and how they’re implemented, including classic logic families such as TTL and CMOS. The fundamentals section covers the building blocks of digital systems: flip-flops, Schmitt triggers, registers, counters and dividers, encoders/ decoders, multiplexers/demultiplexers, plus A/D and D/A conversion and timing circuits.
Next, the book invites you into "new ideas" in digital electronics—universal logic elements, unconventional approaches (including thyristor-based and fractional logic), and creative logic functions that can inspire original designs.
Finally, a large, well-organized collection of application circuits turns knowledge into projects: electronic switches and selectors, pulse generators, PWM regulators, frequency multipliers/dividers, phase shifters, and digital filters.
Study it deeply, and you’ll gain not only understanding—but the ability to design and debug digital circuits independently.