in 10 captivating lessons
Using the lessons in this book you learn how to program a microcontroller. You’ll be using JAL, a free but extremely powerful programming language for PIC microcontrollers, which enjoys great popularity in the hobby world. Starting out from scratch virtually, you slowly build up the knowledge. No previous knowledge is needed: anyone can get started with this book. Assuming you have absorbed all lessons – meaning you have actually completed all the exercises – you should be confident to write PIC microcontroller programs, as well as read and understand programs written by other people.
JAL commands
You learn the function of JAL commands such as include, pin, delay, forever loop, while loop, case, exit loop, repeat until, if then, as well as the use of functions, procedures and timer- and port interrupts.
JAL programs
You make an LED blink, build a time switch, measure a potentiometer’s wiper position, produce sounds, suppress contact bounce, and control the brightness of an LED. And of course you learn to debug, meaning: how to spot and fix errors in your programs.
Hardware
You learn to recognize various components including the PIC microcontroller, potentiometer and quartz crystal, and how to wire up a PIC microcontroller and effectively link it to your PC. A breadboard is used for the purpose, allowing you to easily modify the component arrangement for further experimenting.
The companion software with this book can be downloaded free of charge, including the JAL programming language. In addition, you may order a kit of parts so you don’t have to go shopping for the required components. Especially for a beginner, this is the easiest way to start with this unique pastime.
Having finished this book does not mean you are through with your pastime. You can get your hands dirty again, and if desired use other books packed with fun projects using the JAL programming language. More information may be found at the end of the lessons in the chapter "Done! What’s next?""
ModbusRTU and ModbusTCP examples with the Arduino Uno and ESP8266
Introduction to PLC programming with OpenPLC, the first fully open source Programmable Logic Controller on the Raspberry Pi, and Modbus examples with Arduino Uno and ESP8266
PLC programming is very common in industry and home automation. This book describes how the Raspberry Pi 4 can be used as a Programmable Logic Controller. Before taking you into the programming, the author starts with the software installation on the Raspberry Pi and the PLC editor on the PC, followed by a description of the hardware.
You'll then find interesting examples in the different programming languages complying with the IEC 61131-3 standard. This manual also explains in detail how to use the PLC editor and how to load and execute the programs on the Raspberry Pi. All IEC languages are explained with examples, starting with LD (Ladder Diagram) over ST (Structured Control Language) to SFC (Special Function Chart). All examples can be downloaded from the author's website.
Networking gets thorough attention too. The Arduino Uno and the ESP8266 are programmed as ModbusRTU or ModbusTCP modules to get access to external peripherals, reading sensors and switching electrical loads. I/O circuits complying with the 24 V industry standard may also be of interest for the reader.
The book ends with an overview of commands for ST and LD. After reading the book, the reader will be able to create his own controllers with the Raspberry Pi.
If you can describe it, you can build it
AI coding assistants are changing what makers and solopreneurs can build. Tasks that once demanded weeks of learning a new language, framework, or software stack can now be delegated to an AI—provided you know how to describe the job, judge the result, and keep control of the process.
The Maker’s Guide to AI Coding is a practical guide to doing exactly that. It explains how to work with AI coding tools as collaborators rather than vending machines, how much to delegate, how to write specifications that produce useful results, and how to recognise hallucinations, context drift, overconfidence, and code that runs but is still wrong.
The book is built around four increasingly ambitious projects. You begin with a browser-based RC filter analyser, then develop a live serial data plotter for Arduino and other microcontrollers. Next comes a datasheet questionand- answer tool using retrieval-augmented generation (RAG), followed by a complete multi-user resource booking system with authentication, a database, external services, background jobs, and deployment.
No advanced programming background is required. The emphasis is on thinking clearly, guiding the AI, testing what it produces, and preserving the skills needed to evaluate its work. Along the way, you learn development workflow designed to remain useful as tools evolve.
If you can describe what you want to build, this book shows you how to turn that description into working software.
59 Experiments with Arduino IDE and Python
The main aim of this book is to teach the Arduino IDE and MicroPython programming languages in ESP32 based projects, using the highly popular ESP32 DevKitC development board. Many simple, basic, and intermediate level projects are provided in the book using the Arduino IDE with ESP32 DevKitC. All projects have been tested and work. Block diagrams, circuit diagrams, and complete program listings of all projects are given with explanations. In addition, several projects are provided for programming the ESP32 DevKitC using MicroPython. The projects provided in this book are designed to teach the following features of the ESP32 processor:
GPIOs
Touch sensors
External interrupts
Timer interrupts
I²C and I²S
SPI
PWM
ADC
DAC
UART
Hall sensor
Temperature sensor
Infrared controller
Reading and writing to SD card
Reading and writing to flash memory
RTC timer
Chip ID
Security and encryption
Wi-Fi and network programming
Bluetooth BLE programming
Communication mobile devices
Low power design
ESP-IDF programming
The projects have been organized with increasing levels of difficulty. Readers are encouraged to tackle the projects in the order given. A specially prepared hardware kit (SKU 18305) is available from Elektor. With the help of this hardware, it should be easy and fun to build the projects in this book.
Learn to interface and program hardware devices in a wide range of useful applications, using ARM7 microcontrollers and the C programming language. Examples covered in full detail include a simple LED to a multi-megabyte SD card running the FAT file system.
Features of this book
Build prototype circuits on breadboard or Veroboard and interface to ARM microcontrollers.
A 32-bit ARM7 microcontroller is used in interfacing and software examples.
Interfacing principles apply to other ARM microcontrollers and other non-ARM microcontrollers as well.
Example programs are written in the C programming language.
Use only free or open source software.
Download and install all programming tools from the Internet.
Template project files are provided for easy project creation.
Hardware
Interface to LEDs, transistors, optocouplers, relays, solenoids, switches, keypads, LCD displays, seven segment displays, DC motors, stepper motors, external analogue signals using the ADC, RS232, RS-485, TWI, USB, SPI and SD memory cards.
Software
Once hardware has been interfaced to a microcontroller, software must be written to control the hardware. You will learn how to write programs to operate externally interfaced hardware devices, use timers and interrupts. Also learn how to port FAT file system code for use with an SD memory card, program the PWM to produce an audio sine wave, program the PWM to speed control a DC motor and more.
A chapter on more advanced ARM microcontrollers is included with an overview of some of the newest ARM microcontrollers and their features.
Leer hoe je de ESP32 Microcontroller en het programmeren met MicroPython in je toekomstige projecten kunt gebruiken!
Het (Engelstalige) projectboek, geschreven door de bekende Elektor auteur Dogan Ibrahim, bevat vele software- en hardware-gebaseerde projecten die speciaal voor de MakePython ESP32 ontwikkelkit ontwikkeld zijn. De kit wordt geleverd met verschillende LED's, sensoren, en actuatoren. De kit helpt je de basiskennis op te doen om eigen IoT projecten te maken.
Alle volledig geëvalueerde projecten in het boek zijn voorzien van de bijgeleverde componenten. Elk project bevat een blokschema, een schakelschema, een volledige programmalijst, en een volledige programma beschrijving.
Inbegrepen in de kit
1x MakePython ESP32 ontwikkelingsboard met LCD
1x Ultrasone afstandsmeter
1x Temperatuur- en luchtvochtigheidssensor
1x Zoemer module
1x DS18B20 module
1x Infrarood module
1x Potentiometer
1x WS2812 module
1x Geluidssensor
1x Trilsensor
1x Module met lichtgevoelige weerstand
1x Puls sensor
1x Servo motor
1x USB kabel
2x Knop
2x Breadboard
45x Schakeldraad
10x Weerstand 330R
10x LED (Rood)
10x LED (Groen)
1x Projectboek (Engelstalig, 206 pagina's)
Boek met 46 projecten
LED Projecten
Knipperende LED
SOS knipperende LED
Knipperende LED – met behulp van een timer
Afwisselend knipperende LEDs
Knopbediening
De knippersnelheid van de LED's veranderen met drukknop onderbrekingen
Chasing-LEDs
Binaire teller met LEDs
Kerstverlichting (willekeurig-knipperende 8 LEDs)
Elektronische dobbelsteen
Geluksdag van het week
Projecten voor Pulsewidth Modulation (PWM)
Genereer een PWM golfvorm van 1000 Hz met 50% duty cycle
LED helderheid regelen
Meten van de frequentie en duty cycle van een PWM golfvorm
Melodieën maker
Eenvoudig elektronisch orgel
Servo motor besturing
Servo motor DS18B20 thermometer
Projecten voor analoog naar digitaal converteren (ADC)
Voltmeter
Plotten van de analoge ingangsspanning
Interne temperatuursensor van de ESP32
Ohmmeter
Lichtgevoelige weerstandsmodule
Projecten voor digitaal naar analoog converteren (DAC)
Opwekken van vaste spanningen
Opwekken van een zaagtand-golf signaal
Opwekken van een driehoek-golf signaal
Golfvorm met willekeurige periode
Genereren van een sinus-golf signaal
Genereren van een nauwkeurig sinus-golf signaal met behulp van een timer interrupts
Gebruik van het OLED Display
Seconden teller
Gebeurtenisteller
DS18B20 digitale thermometer met OLED
ON-OFF temperatuur regelaar
Meten van temperatuur en luchtvochtigheid
Ultrasone afstandsmeting
Hoogte van een persoon (stadiometer)
Hartslag (polsslag) meten
Andere bij de set geleverde sensoren
Diefstal alarm
Met geluid geactiveerd licht
Infrarood obstakel-vermijding met zoemer
WS2812 RGB LED ring
Tijdregistratie van temperatuur en luchtvochtigheid
Netwerkprogrammering
Wi-Fi scanner
Bediening op afstand vanuit de Internet browser (met een smartphone of PC) – Webserver
Temperatuur- en luchtvochtigheidsgegevens opslaan in de Cloud
Werking met Low-Power
Gebruik een timer om de processor te laten ontwaken
Architecture, Programming and Applications
The MSP430 is a popular family of microcontrollers from Texas Instruments. In this book we will work with the smallest type, which is the powerful MSP430G2553. We will look at the capabilities of this microcontroller in detail, as it is well-suited for self-made projects because it is available in a P-DIP20 package.
We will take a closer look at the microcontroller and then build, step by step, some interesting applications, including a 'Hello World' blinking LED and a nice clock application, which can calculate the day of the week based on the date.
You also will learn how to create code for the MSP microcontroller in assembler. In addition to that, we will work with the MSP-Arduino IDE, which makes it quite easy to create fast applications without special in-depth knowledge of the microcontrollers.
All the code used in the book is available for download from the Elektor website.
Deze complete programmeercursus voor de ESP32-microcontroller bevat een leerboek, een componentenkit, praktijkgerichte projecten en een uitgebreide online cursus met simulaties. Ideaal om stap voor stap embedded systems te leren programmeren in MicroPython via een praktische, hands-on aanpak.
Een praktische introductie tot embedded systems met de ESP32
Deze cursus is ontworpen voor beginners in embedded systems die op zoek zijn naar een gestructureerde en voorbeeldgerichte start.
Een kit met LED’s en weerstanden, schakelaars, sensoren en actuatoren, displays, een breadboard en draden is inbegrepen. Deze worden in de cursus gebruikt om voorbeeldtoepassingen te demonstreren.
Er is geen voorkennis van Arduino of embedded ontwikkeling vereist. Elke sectie bevat praktische voorbeelden en mini-projecten om belangrijke concepten te versterken en verdere verkenning te stimuleren. Aan het einde van de cursus kunt u niet alleen de voorbeelden reproduceren, maar ook uitbreiden met uw eigen ideeën en toepassingen.
Wat leert u?
Microcontrollers programmeren in MicroPython met de ESP32 met behulp van de Thonny IDE
Werken met digitale I/O, knoppen en encoders uitlezen, LED’s en relais aansturen
Analoge ingangen, spanningen en sensoren uitlezen
Genereren van analoge uitgangssignalen en PWM
Gebruik van seriële communicatie zoals UART, I²C en SPI om displays aan te sturen en digitale sensoren en SD-kaarten uit te lezen
Tijdbeheer
Werken met interrupts
Realtime sensorinput en besturing via knoppen, LED’s en displays
Aansturen van actuatoren zoals relais en servomotoren
Voor wie is dit?
Studenten en zelflerenden die embedded systems willen ontdekken
Makers en IoT-enthousiastelingen die hun hardwarevaardigheden willen verbeteren
Docenten en trainers die kant-en-klaar lesmateriaal zoeken
Wat zit er in de doos?
Toegang tot de volledige cursus op het Elektor Academy Pro leerplatform
ESP32 microcontrollerboard + USB-kabel
Boek: Programming Microcontrollers in MicroPython
Downloadbare projectbestanden voor elke module
Componentenkit:
2× LED, rood, 5 mm
LED, groen, 5 mm
3× weerstand, 470 Ω, 0,25 W
LDR
Potentiometer, 10 kΩ, lineair
Drukknop
Rotary encoder module
Relaismodule
DHT22 temperatuur- en vochtigheidssensor
TM1637-compatibel 4-digit 7-segment display
MPU-6050 IMU met headers
SSD1306-compatibel I²C OLED display
Micro SD-kaartadapter met header
Buzzer
SG90 micro servo
ILI9341-compatibel SPI 240×320 TFT display
20× jumper wires
Breadboard
Alle programmeercursussen (en verschillen in inhoud)
Cursus
Arduino
Raspberry Pi Pico with Arduino C/C++
ESP32 with Arduino C/C++
Raspberry Pi Pico with MicroPython
ESP32 with MicroPython
Online cursus
Access to Arduino Course
Access to Pico with Arduino C/C++ Course
Access to ESP32 with Arduino C/C++ Course
Access to Pico with MicroPython Course
Access to ESP32 with MicroPython Course
Board
Uno R3
Raspberry Pi Pico
ESP32
Raspberry Pi Pico
ESP32
Boek
Programming Microcontrollers in C/C++ Using Arduino
Programming Microcontrollers in C/C++ Using Arduino
Programming Microcontrollers in C/C++ Using Arduino
Programming Microcontrollers in MicroPython
Programming Microcontrollers in MicroPython
Kit
40-delige componenten-kit
40-delige componenten-kit
40-delige componenten-kit
40-delige componenten-kit
40-delige componenten-kit
Build your own AI microcontroller applications from scratch
The MAX78000FTHR from Maxim Integrated is a small development board based on the MAX78000 MCU. The main usage of this board is in artificial intelligence applications (AI) which generally require large amounts of processing power and memory. It marries an Arm Cortex-M4 processor with a floating-point unit (FPU), convolutional neural network (CNN) accelerator, and RISC-V core into a single device. It is designed for ultra-low power consumption, making it ideal for many portable AI-based applications.
This book is project-based and aims to teach the basic features of the MAX78000FTHR. It demonstrates how it can be used in various classical and AI-based projects. Each project is described in detail and complete program listings are provided. Readers should be able to use the projects as they are, or modify them to suit their applications. This book covers the following features of the MAX78000FTHR microcontroller development board:
Onboard LEDs and buttons
External LEDs and buttons
Using analog-to-digital converters
I²C projects
SPI projects
UART projects
External interrupts and timer interrupts
Using the onboard microphone
Using the onboard camera
Convolutional Neural Network
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.
Program, build, and master over 60 projects with Python
The Raspberry Pi 5 is the latest single-board computer from the Raspberry Pi Foundation. It can be used in many applications, such as in audio and video media centers, as a desktop computer, in industrial controllers, robotics, and in many domestic and commercial applications. In addition to the well-established features found in other Raspberry Pi computers, the Raspberry Pi 5 offers Wi-Fi and Bluetooth (classic and BLE), which makes it a perfect match for IoT as well as in remote and Internet-based control and monitoring applications. It is now possible to develop many real-time projects such as audio digital signal processing, real-time digital filtering, real-time digital control and monitoring, and many other real-time operations using this tiny powerhouse.
The book starts with an introduction to the Raspberry Pi 5 computer and covers the important topics of accessing the computer locally and remotely. Use of the console language commands as well as accessing and using the desktop GUI are described with working examples. The remaining parts of the book cover many Raspberry Pi 5-based hardware projects using components and devices such as
LEDs and buzzers
LCDs
Ultrasonic sensors
Temperature and atmospheric pressure sensors
The Sense HAT
Camera modules
Example projects are given using Wi-Fi and Bluetooth modules to send and receive data from smartphones and PCs, and sending real-time temperature and atmospheric pressure data to the cloud.
All projects given in the book have been fully tested for correct operation. Only basic programming and electronics experience are required to follow the projects. Brief descriptions, block diagrams, detailed circuit diagrams, and full Python program listings are given for all projects described.
Deze bundel bevat de AI Fusion Lab Kit met meer dan 450 componenten en het boek Physical AI with Raspberry Pi. Samen bieden ze een uitgebreide, praktijkgerichte introductie tot AI, elektronica en programmeren met Python.
Bouw praktische projecten waarin computervisie, spraakinteractie, sensoren, motoren en grote taalmodellen (LLM's) worden gecombineerd. Het bijgeleverde boek begeleidt je stap voor stap: van de installatie van de Raspberry Pi en het aansturen van hardware tot geavanceerde toepassingen met OpenCV, MediaPipe, YOLO, OpenAI-diensten en lokale Ollama-modellen.
SunFounder AI Fusion Lab Kit voor Raspberry Pi (450+ onderdelen)
De AI Fusion Lab Kit verandert een Raspberry Pi in een compleet platform voor het leren van kunstmatige intelligentie, elektronica en Python-programmeren. De kit ondersteunt de Raspberry Pi 5, 4B, 3B+, 3B en Zero 2 W, evenals populaire AI-modellen en -diensten zoals ChatGPT, Gemini, Grok, DeepSeek, Qwen, Doubao en Ollama.
Dankzij de camera, Pan-Tilt HAT, 10-assige sensormodule, microfoon, luidspreker en elektronische componenten kunnen gebruikers interactieve AI-projecten bouwen die spraak, beeldherkenning, beweging en sensordata combineren. De kit is geschikt voor beginners, studenten, makers en iedereen die praktische AI-toepassingen wil verkennen.
Bouw multimodale AI-projecten
Combineer grote taalmodellen (LLM's) met spraakherkenning, tekst-naar-spraak, camerabeeld, sensoren en breadboard-schakelingen. Creëer projecten die kunnen luisteren, spreken, zien, reageren en interageren met hun omgeving, terwijl je leert hoe moderne AI-systemen werken.
Verken AI-beeldherkenning en objectvolging
Gebruik YOLO, OpenCV en MediaPipe om objecten, kleuren, gezichten en menselijke bewegingen te detecteren en te volgen. Met de gemotoriseerde Pan-Tilt HAT kan de camera doelen automatisch volgen, wat laat zien hoe computervisie en bewegingsbesturing samenwerken.
Spraak-AI met de Fusion HAT+
De Fusion HAT+ vereenvoudigt de aansturing van hardware via een uniforme Python-bibliotheek en ondersteunt het veilig afsluiten van de Raspberry Pi. Dankzij de geïntegreerde microfoon en luidspreker is het eenvoudig om spraakgestuurde assistenten en andere conversatie-AI-toepassingen te ontwikkelen.
Compatibel met Raspberry Pi 5, 4B, 3B+, 3B en Zero 2 W
Ondersteunt diverse cloud-gebaseerde en lokale AI-modellen
Inclusief camera, Pan-Tilt HAT, 10DOF-module, microfoon en luidspreker
Projecten op het gebied van spraak-AI, computer vision, sensoren en elektronica
Videolessen, documentatie en voorbeeldcode
Boek: Physical AI with Raspberry Pi
Aan de hand van de Raspberry Pi en de AI Fusion Lab Kit neemt dit boek je stap voor stap mee: van de basisbeginselen van hardware-interfacing tot de ontwikkeling van intelligente systemen die kunnen zien, luisteren, spreken en beslissingen nemen. Of je nu student, docent, maker of professioneel ingenieur bent, je doet waardevolle ervaring op met projecten die zijn ontworpen om zowel je kennis als je zelfvertrouwen te vergroten.
Het boek begint met de systeeminstallatie, GPIO-programmering, sensoren, displays, motoren en automatiseringstechnieken, en introduceert gaandeweg geavanceerdere onderwerpen zoals spraakherkenning, tekst-naar-spraak-synthese, conversationele AI, objectherkenning en machine learning. Onderweg leer je hoe je spraakgestuurde apparaten, intelligente assistenten, cameravolgsystemen, oplossingen voor omgevingsmonitoring en AI-gestuurde embedded applicaties kunt bouwen.
Verken moderne technologieën zoals OpenAI-diensten, lokale 'large language models' via Ollama, OpenCV, MediaPipe en YOLO-objectdetectie, terwijl je praktische ervaring opdoet met toepassingen uit de praktijk in robotica, industriële automatisering, slimme apparaten en autonome systemen. Je ontdekt hoe intelligente software kan samenwerken met sensoren, camera's, motoren en displays om systemen te creëren die op natuurlijke wijze reageren op hun omgeving.
In plaats van alleen maar codevoorbeelden te volgen, word je aangemoedigd om te experimenteren, aanpassingen te doen en elk project uit te breiden. De technieken en vaardigheden die je in dit boek ontwikkelt, vormen een solide basis voor toekomstige innovatie, snelle prototyping, onderzoek en productontwikkeling. Als je klaar bent om verder te kijken dan traditionele elektronica en de toekomst van intelligente embedded systemen wilt verkennen, begeleidt dit boek je bij elke stap.
Deze bundel bevat:
SunFounder AI Fusion Lab Kit for Raspberry Pi (t.w.v. € 100)
Boek: Physical AI with Raspberry Pi (t.w.v. € 45)
Niet inbegrepen
Raspberry Pi