Projects Using Arduino IDE and the LVGL Graphics Library
The ESP32 is probably one of the most popular microcontrollers used by many people, including students, hobbyists, and professional engineers. Its low cost, coupled with rich features makes it a popular device to use in many projects. Recently, a board called the ESP32 Cheap Yellow Display (CYD for short) is available from its manufacturers. The board includes a standard ESP32 microcontroller together with a 320x240 pixel TFT display. Additionally, the board provides several connectors for interfaces such as GPIO, serial port (TX/RX), power and Ground. The inclusion of a TFT display is a real advantage as it enables users to design complex graphics-based projects without resorting to an external LCD or graphics displays.
The book describes the basic hardware of the ESP32 CYD board and provides details of its on-board connectors. Many basic, simple, and intermediate-level projects are given in the book based on the ESP32 CYD, using the highly popular Arduino IDE 2.0 integrated development environment. The use of both the basic graphics functions and the use of the popular LVGL graphics library are discussed in the book and projects are given that use both types of approaches.
All the projects given in the book have been tested and are working. The block diagram, circuit diagram, and the complete program listings and program descriptions of all the projects are given with explanations. Readers can use the LVGL graphics library to design highly popular eye-catching full-color graphics projects using widgets such as buttons, labels, calendars, keypads, keyboards, message boxes, spinboxes, sliders, charts, tables, menus, bars, switches, drop-down lists, animations, and many more widgets.
Program, build, and master over 50 projects with MicroPython and the RP2040 microprocessor The Raspberry Pi Pico is a high-performance microcontroller module designed especially for physical computing. Microcontrollers differ from single-board computers, like the Raspberry Pi 4, in not having an operating system. The Raspberry Pi Pico can be programmed to run a single task very efficiently within real-time control and monitoring applications requiring speed. The ‘Pico’ as we call it, is based on the fast, efficient, and low-cost dual-core ARM Cortex-M0+ RP2040 microcontroller chip running at up to 133 MHz and sporting 264 KB of SRAM, and 2 MB of Flash memory. Besides its large memory, the Pico has even more attractive features including a vast number of GPIO pins, and popular interface modules like ADC, SPI, I²C, UART, and PWM. To cap it all, the chip offers fast and accurate timing modules, a hardware debug interface, and an internal temperature sensor. The Raspberry Pi Pico is easily programmed using popular high-level languages such as MicroPython and or C/C++. This book is an introduction to using the Raspberry Pi Pico microcontroller in conjunction with the MicroPython programming language. The Thonny development environment (IDE) is used in all the projects described. There are over 50 working and tested projects in the book, covering the following topics: Installing the MicroPython on Raspberry Pi Pico using a Raspberry Pi or a PC Timer interrupts and external interrupts Analogue-to-digital converter (ADC) projects Using the internal temperature sensor and external temperature sensor chips Datalogging projects PWM, UART, I²C, and SPI projects Using Wi-Fi and apps to communicate with smartphones Using Bluetooth and apps to communicate with smartphones Digital-to-analogue converter (DAC) projects All projects given in the book have been fully tested and are working. Only basic programming and electronics experience is required to follow the projects. Brief descriptions, block diagrams, detailed circuit diagrams, and full MicroPython program listings are given for all projects described. Readers can find the program listings on the Elektor web page created to support the book.
Projects Using Arduino IDE and the LVGL Graphics Library
The ESP32 is probably one of the most popular microcontrollers used by many people, including students, hobbyists, and professional engineers. Its low cost, coupled with rich features makes it a popular device to use in many projects. Recently, a board called the ESP32 Cheap Yellow Display (CYD for short) is available from its manufacturers. The board includes a standard ESP32 microcontroller together with a 320x240 pixel TFT display. Additionally, the board provides several connectors for interfaces such as GPIO, serial port (TX/RX), power and Ground. The inclusion of a TFT display is a real advantage as it enables users to design complex graphics-based projects without resorting to an external LCD or graphics displays.
The book describes the basic hardware of the ESP32 CYD board and provides details of its on-board connectors. Many basic, simple, and intermediate-level projects are given in the book based on the ESP32 CYD, using the highly popular Arduino IDE 2.0 integrated development environment. The use of both the basic graphics functions and the use of the popular LVGL graphics library are discussed in the book and projects are given that use both types of approaches.
All the projects given in the book have been tested and are working. The block diagram, circuit diagram, and the complete program listings and program descriptions of all the projects are given with explanations. Readers can use the LVGL graphics library to design highly popular eye-catching full-color graphics projects using widgets such as buttons, labels, calendars, keypads, keyboards, message boxes, spinboxes, sliders, charts, tables, menus, bars, switches, drop-down lists, animations, and many more widgets.
Deze USB-stick bevat een selectie van meer dan 300 artikelen over Arduino gepubliceerd in Elektor Magazine. De inhoud bestaat uit zowel achtergrondartikelen als projecten met de volgende onderwerpen:
Software & hardware ontwikkeling: Tutorials over de ontwikkeling van Arduino-software met behulp van Arduino IDE, Atmel Studio, Shields en essentiële programmeerconcepten.
Educatie: Een microcontroller Bootcamp biedt een gestructureerde aanpak voor het programmeren van embedded systemen.
Data acquisitie & meten: Projecten zoals een 16-bits datalogger, draaibank toerenteller en een AC netanalyser voor het vastleggen en analyseren van real-time signalen.
Draadloze communicatie: Leer hoe je draadloze netwerken implementeert, een Android interface maakt en effectief communiceert met microcontrollers.
Robotica en automatisering: Omvat de Arduino Nano Robot Controller, ondersteunende boards voor automatisering, en een verkenning van verschillende Arduino-shields om de functionaliteit te verbeteren.
Zelfbouw-projecten: Unieke projecten zoals laserprojectie, Numitron klok en thermometer, ELF ontvanger, Theremino, en touch LED interfaces laten creatieve toepassingen zien.
Of u nu een beginner bent of een ervaren maker, deze collectie is een waardevolle bron om te leren, te experimenteren en de grenzen van de Arduino-technologie te verleggen.
A Project-Based Introduction to Microcontrollers and Drone Control
A Practical Introduction to Embedded Systems with the ESP32
This book is intended for readers who are new to embedded systems and looking for a structured, example-driven way to begin. If you’ve explored general-purpose electronics or Arduino-based resources but found them too broad or lacking in practical application, this guide offers a more focused alternative.
With a small, affordable set of components – such as LEDs, sensors, an OLED screen and a motion sensor – you’ll build and work with the same hardware setup throughout the book. This allows you to focus on learning and experimenting without constant reconfiguration.
Topics include:
Understanding and programming the ESP32 microcontroller
Using the Arduino IDE to write and deploy code
Exploring cyber-physical systems, culminating in basic drone control
No prior experience with Arduino or embedded development is required. Each section includes hands-on examples and mini-projects designed to reinforce core concepts and encourage deeper exploration. By the end, you’ll be equipped not only to reproduce the book’s examples, but also to extend them toward your own ideas and applications.
Whether your interest is in learning embedded programming, building interactive systems, or exploring educational drone control, this book provides a clear and practical path to getting started.
Learning Embedded Systems with STM32 Nucleo Boards
Embedded programming has become more accessible than ever before. Development boards are inexpensive, software tools are easy to install, and the Arduino IDE provides a familiar environment for creating embedded applications. Combined with the STM32 Nucleo family of development boards, it offers an excellent platform for learning how modern microcontrollers interact with the physical world.
This book introduces embedded programming using the Arduino environment on STM32 Nucleo boards. You will learn how a microcontroller continuously reads inputs, processes information, and controls outputs in a predictable real-time loop. Through practical examples, you will discover how to control LEDs, read switches and sensors, generate PWM signals, drive motors, and exchange data with other devices, all while becoming familiar with the capabilities of STM32 microcontrollers.
Although the STM32 family includes devices with different performance levels, memory sizes, and peripheral sets, they all share the same architectural concepts. Digital and analog I/O, timers, interrupts, PWM, communication interfaces, and low-power operation are fundamental features found throughout the STM32 ecosystem. Understanding these building blocks will enable you to work confidently with a wide range of STM32 devices, from entry-level microcontrollers to more advanced applications.
By focusing on practical programming techniques rather than hardware complexity, this book develops skills that remain useful well beyond the examples presented. Whether you are taking your first steps in embedded systems or expanding your experience with STM32 microcontrollers, you will gain a solid understanding of both the Arduino development environment and the principles that underpin embedded software design.
Met behulp van de lessen in dit boek leert u hoe u zelf een microcontroller kunt programmeren. We maken daarbij gebruik van JAL, een gratis maar uiterst krachtige programmeertaal voor PIC microcontrollers, die in de hobbywereld erg populair is.
We starten aan het absolute begin, en bouwen vandaar de kennis op. U heeft dus geen voorkennis nodig: iedereen kan met dit boek aan de slag. Wanneer u alle lessen volgt (dat wil zeggen: de oefeningen ook daadwerkelijk maakt) dan kunt u wanneer u het boek uit heeft zelf PIC microcontroller programma’s schrijven, en programma’s van anderen lezen.
JAL opdrachten
U leert de functie van JAL opdrachten zoals include, pin, delay, forever loop, while loop, case, exit loop, repeat until, if then, en het gebruik van functies, procedures en timer- en poortinterrupts.
JAL programma’s
U laat een LED knipperen, maakt een tijdschakelaar, meet de stand van een potmeter, maakt geluiden, voorkomt contactdender en regelt de helderheid van een LED. En uiteraard leert u debuggen: hoe u in uw programma’s fouten kunt vinden en oplossen.
Hardware
U leert verschillende onderdelen zoals PIC microcontroller, potmeter en kristal herkennen, en hoe u een PIC microcontroller aan moet sluiten en met uw PC moet verbinden. U maakt hierbij gebruik van een steekbord zodat u de opstelling gemakkelijk kunt aanpassen om verder te experimenteren.
Meer dan 180 projecten met Raspberry Pi, Pico W Arduino en ESP32
Deze bundel bevat de Universal Maker Sensor Kit, die bestaat uit veel sensoren, actuatoren, displays en motoren. Het is perfect voor omgevingsbewaking, smart home-projecten, robotica en gamecontrollers.
Het nieuwe Elektor-boek beschrijft het ontwerp van veel projecten met behulp van de kit samen met de populaire Raspberry Pi, Raspberry Pi Pico W, Arduino Uno en de ESP32-familie van ontwikkelborden. U kunt elk van deze ontwikkelborden voor uw projecten kiezen en de meegeleverde programma's gebruiken zoals ze zijn, of deze programma's aanpassen aan uw toepassingen.
Deze bundel bevat:
Boek: Universal Maker Sensor Kit (normale prijs: € 45)
Universal Maker Sensor Kit voor Raspberry Pi, Pico W, Arduino, ESP32 (normale prijs: € 70)
Boek: Universal Maker Sensor Kit
Leer meer dan 35 sensoren en actuatoren te gebruiken met C++, Python en MicroPython
Dit boek bevat meer dan 180 projecten voor alle vier de grote ontwikkelborden (Raspberry Pi, Pico W Arduino en ESP32). Afhankelijk van het ontwikkelbord zijn projecten beschikbaar in de programmeertalen C, Python of MicroPython.
De projecttitels, korte beschrijvingen, bedradingsschema's en volledige programmalijsten, samen met de gedetailleerde beschrijvingen, zijn in het boek opgenomen.
Universal Maker Sensor Kit (Raspberry Pi, Pico W, Arduino, ESP32)
Ontdek eindeloze creativiteit met de Universal Maker Sensor Kit, ontworpen voor gebruik met Raspberry Pi, Pico W, Arduino en ESP32. Deze veelzijdige kit biedt compatibiliteit met populaire ontwikkelingsplatforms, waaronder Arduino Uno R4 Minima/WiFi, Uno R3, Mega 2560, Raspberry Pi 5, 4, 3B+, 3B, Zero, Pico W en ESP32.
Met meer dan 35 sensoren, actuatoren en displays is het perfect voor projecten variërend van omgevingsmonitoring en slimme huisautomatisering tot robotica en interactief gamen. Stapsgewijze tutorials in C/C++, Python en MicroPython begeleiden zowel beginners als ervaren makers door 169 spannende projecten.
Kenmerken
Brede compatibiliteit: Ondersteunt volledig Arduino (Uno R3, Uno R4 Minima/WiFi, Mega 2560), Raspberry Pi (5, 4, 3B+, 3B, Zero, Pico W) en ESP32, wat uitgebreide flexibiliteit op verschillende ontwikkelingsplatforms mogelijk maakt. Bevat instructies voor het bouwen van 169 projecten.
Uitgebreide componenten: Bevat meer dan 35 sensoren, actuatoren en displaymodules die geschikt zijn voor uiteenlopende projecten zoals omgevingsbewaking, slimme huisautomatisering, robotica en interactieve gamecontrollers.
Gedetailleerde tutorials: Biedt duidelijke, stapsgewijze tutorials over Arduino, Raspberry Pi, Pico W, ESP32 en elk inbegrepen component. Tutorials zijn beschikbaar in C/C++, Python en MicroPython, en zijn effectief afgestemd op zowel beginners als ervaren makers.
Geschikt voor alle vaardigheidsniveaus: Biedt gestructureerde projecten die zijn ontworpen om gebruikers naadloos te begeleiden van beginners tot gevorderden in elektronica en programmeren, wat de creativiteit en technische expertise vergroot.
Kit bevat
Breadboard
Knopmodule
Capacitieve bodemvochtigheidsmodule
Vlamsensormodule
Gas-/rooksensormodule (MQ2)
Gyroscoop & Accelerometermodule (MPU6050)
Hall-sensormodule
Infraroodsnelheidssensormodule
IR-obstakelvermijdingssensormodule
Joystickmodule
PCF8591 ADC DAC-convertermodule
Fotoweerstandsmodule
PIR-bewegingsmodule (HC-SR501)
Potentiometermodule
Pulsoximeter- en hartslagsensormodule (MAX30102)
Regendruppeldetectiemodule
Realtimeklokmodule (DS1302)
Rotary Encoder-module
Temperatuursensormodule (DS18B20)
Temperatuur- en vochtigheidssensormodule (DHT11)
Temperatuur, vochtigheid en Druksensor (BMP280)
Time of Flight Micro-LIDAR afstandssensor (VL53L0X)
Touch Sensor Module
Ultrasone sensormodule (HC-SR04)
Trillingssensormodule (SW-420)
Waterniveausensormodule
I²C LCD 1602
OLED-displaymodule (SSD1306)
RGB LED-module
Verkeerslichtmodule
5 V relaismodule
Centrifugaalpomp
L9110 motordrivermodule
Passieve zoemermodule
Servomotor (SG90)
TT Motor
ESP8266-module
JDY-31 Bluetooth-module
Voedingsmodule
Documentatie
Online Tutorial
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.
Boek: Logic Analyzers in Practice
Step-by-step instructions guide you through the analysis of modern protocols such as I²C, SPI, UART, RS-232, NeoPixel, WS28xx, HD44780 and 1-Wire. With the help of numerous experimental circuits based on the Raspberry Pi Pico, Arduino Uno and the Bus Pirate, you will learn the practical application of popular USB logic analyzers.
All the experimental circuits presented in this book have been fully tested and are fully functional. The necessary program listings are included – no special programming or electronics knowledge is required for these circuits. The programming languages used are MicroPython and C along with the development environments Thonny and Arduino IDE.
This book uses several models of flexible and widely available USB logic analyzers and shows the strengths and weaknesses of each price range.
You will learn about the criteria that matter for your work and be able to find the right device for you.
Whether Arduino, Raspberry Pi or Raspberry Pi Pico, the example circuits shown allow you to get started quickly with protocol analysis and can also serve as a basis for your own experiments.
After reading this book, you will be familiar with all the important terms and contexts, conduct your own experiments, analyze protocols independently, culminating in a comprehensive knowledge set of digital signals and protocols.
USB Logic Analyzer (8-ch, 24 MHz)
Deze USB Logic Analyzer is een 8-kanaals logic analyzer met elke ingang bedoeld voor het op twee manieren opnemen van analoge data. Hij is perfect voor het debuggen en analyseren van signalen zoals I²C, UART, SPI, CAN en 1-Wire. De analyzer bemonstert een digitale ingang die is aangesloten op een te testen apparaat (DUT) met een hoge bemonsteringssnelheid. De aansluiting op de PC gaat via USB.
Specificaties
Kanalen
8 digitale kanalen
Maximale bemonsteringssnelheid
24 MHz
Maximale ingangsspanning
0 V ~ 5 V
Bedrijfstemperatuur
0°C ~ 70°C
Ingangsimpedantie
1 MΩ || 10 pF
Ondersteunde protocollen
I²C, SPI, UART, CAN, 1-wire, enz.
PC-aansluiting
USB
Afmetingen
55 x 28 x 14 mm
Downloads
Software
Deze bundel bevat:
Boek "Logic Analyzers in Practice" (normale prijs: € 35)
USB Logic Analyzer (8-kanaals, 24 MHz) (normale prijs: € 20)
USB-kabel
Jumper Draad Lintkabel
Analogue Electronics and Microcontrollers Projects
Hobbyist electronics can be a fun way to learn new skills that can be helpful to your career. Those who understand the basics of electronics can design their own circuits and projects. However, before you run, you need to learn to walk.
It all starts with analogue electronics. You should be familiar with the simple components and circuits and understand their basic behaviors and the issues you may encounter. The best way to do this is through real experiments. Theory alone is not enough. This book offers a large number of practical entry-level circuits, with which everyone can gain the basic experience.
Through the widespread introduction of microcontrollers, a new chapter in electronics has begun. Microcontrollers are now performing more and more tasks that were originally solved using discrete components and conventional ICs. Starting out has become easier and easier thanks to platforms including Bascom, Arduino, micro:bit. The book introduces numerous manageable microcontroller applications. It’s now a case of less soldering and more programming.