3rd Edition – Fully updated for Raspberry Pi 4
The Raspberry Pi is a very cheap but complete computer system that allows all sorts of electronics parts and extensions to be connected. This book addresses one of the strongest aspects of the Raspberry Pi: the ability to combine hands-on electronics and programming.
Combine hands-on electronics and programming
After a short introduction to the Raspberry Pi you proceed with installing the required software. The SD card that can be purchased in conjunction with this book contains everything to get started with the Raspberry Pi. At the side of the (optional) Windows PC, software is used which is free for downloading. The book continues with a concise introduction to the Linux operating system, after which you start programming in Bash, Python 3 and Javascript. Although the emphasis is on Python, the coverage is brief and to the point in all cases – just enabling you to grasp the essence of all projects and start adapting them to your requirements. All set, you can carry on with fun projects.
The book is ideal for self-study
No fewer than 45 exciting and compelling projects are discussed and elaborated in detail. From a flashing lights to driving an electromotor; from processing and generating analog signals to a lux meter and a temperature control. We also move to more complex projects like a motor speed controller, a web server with CGI, client-server applications and Xwindows programs.
Each project has details of the way it got designed that way
The process of reading, building, and programming not only provides insight into the Raspberry Pi, Python, and the electronic parts used, but also enables you to modify or extend the projects any way you like. Also, feel free to combine several projects into a larger design.
Der Raspberry Pi stellt einen sehr preiswerten, aber doch vollwertigen Computer dar, an den auf einfache Weise verschiedenste Elektronik angeschlossen werden kann. Dieses Buch geht auf eine der Stärken des Raspberry Pi ein: die Kombination von Elektronik und Software.
Nach einer kurzen Einführung zum Raspberry Pi wird auf die benötigte Software eingegangen. Im Anschluss wird das Linux-Betriebssystem kurz vorgestellt – gefolgt von einer Einführung in die Programmierung mit Bash, Python und JavaScript. Der Schwerpunkt liegt dabei auf Python. Die Erläuterungen sind in allen Fällen kurz und bündig und trotzdem so ausführlich, dass das Notwendigste besprochen wird, um die folgenden Projekte zu verstehen und individuell anzupassen.
Dieses Buch beschreibt 45 spannende und interessante Projekte, wie zum Beispiel ein Wechselblinklicht, eine Motorregelung, Erzeugen und Verarbeiten analoger Signale, ein digitales Thermometer, ein Lichtmesser. Aber auch kompliziertere Projekte wie eine Motor-Geschwindigkeitsregelung, ein Webserver mit CGI (Common Gateway Interface) und Client-Server-Programme werden vorgestellt. Sie können dieses Buch als Projektbuch verwenden und die Projekte nachbauen, um sie dann in der Praxis einzusetzen. Durch die ausführliche Beschreibung mit Schaltplänen und Fotos gestaltet sich der Aufbau auf dem Steckbrett recht einfach.
Sie können dieses Buch auch als Lehrbuch verwenden. Bei jedem Projekt wird erklärt, warum es auf diese Art und Weise ausgeführt ist. Sie lernen viel über den Raspberry Pi, Python und die verwendeten Bauteile, so dass Sie selbst die Projekte anpassen, nach eigenen Wünschen erweitern oder mehrere Projekte miteinander kombinieren können.
Um Ihnen die Software-Installation zu erleichtern, hat der Autor das Betriebssystem und alle Programmbeispiele auf einer SD-Karte zusammengetragen. Passend zu den Projekten ist neben dieser SD-Karte auch ein Hardware-Starterkit bei Elektor erhältlich.
The Arduino Uno is an open-source microcontroller development system encompassing hardware, an Integrated Development Environment (IDE), and a vast number of libraries. It is supported by an enormous community of programmers, electronic engineers, enthusiasts, and academics. The libraries in particular really smooth Arduino programming and reduce programming time. What’s more, the libraries greatly facilitate testing your programs since most come fully tested and working.
The Raspberry Pi 4 can be used in many applications such as audio and video media devices. It also works in industrial controllers, robotics, games, and in many domestic and commercial applications. The Raspberry Pi 4 also offers Wi-Fi and Bluetooth capability which makes it great for remote and Internet-based control and monitoring applications.
This book is about using both the Raspberry Pi 4 and the Arduino Uno in PID-based automatic control applications. The book starts with basic theory of the control systems and feedback control. Working and tested projects are given for controlling real-life systems using PID controllers. The open-loop step time response, tuning the PID parameters, and the closed-loop time response of the developed systems are discussed together with the block diagrams, circuit diagrams, PID controller algorithms, and the full program listings for both the Raspberry Pi and the Arduino Uno.
The projects given in the book aim to teach the theory and applications of PID controllers and can be modified easily as desired for other applications. The projects given for the Raspberry Pi 4 should work with all other models of Raspberry Pi family.
The book covers the following topics:
Open-loop and closed-loop control systems
Analog and digital sensors
Transfer functions and continuous-time systems
First-order and second-order system time responses
Discrete-time digital systems
Continuous-time PID controllers
Discrete-time PID controllers
ON-OFF temperature control with Raspberry Pi and Arduino Uno
PID-based temperature control with Raspberry Pi and Arduino Uno
PID-based DC motor control with Raspberry Pi and Arduino Uno
PID-based water level control with Raspberry Pi and Arduino Uno
PID-based LED-LDR brightness control with Raspberry Pi and Arduino Uno
Entièrement mise à jour pour le Raspberry Pi 5
Raspberry Pi 5 est un petit ordinateur intelligent, de construction britannique qui regorge de potentiel. Fabriqué à l'aide d'un processeur économe en énergie, le Raspberry Pi est conçu pour vous aider à apprendre le codage, découvrir comment fonctionne un ordinateur et construire vos propres projets uniques et incroyables. Ce guide est conçu pour vous montrer à quel point il est facile de démarrer.
Apprendre à :
Configurez votre Raspberry Pi, installez son système d'exploitation, et commencez à utiliser cet ordinateur entièrement fonctionnel.
Commencez à coder des projets, avec des guides étape par étape utilisant les langages de programmation Scratch 3, Python et MicroPython.
Expérimentez en connectant des composants électroniques, et amusez-vous à créer des projets incroyables.
Nouveauté de la 5ème édition :
Mise à jour pour les derniers ordinateurs Raspberry Pi : Raspberry Pi 5 et Raspberry Pi Zèro 2 W.
Couvre le dernier système d'exploitation Raspberry Pi.
Comprend un nouveau chapitre sur le Raspberry Pi Pico !
Téléchargements
GitHub
50+ Android Apps with Raspberry Pi, ESP32 and Arduino
This book is about developing apps for Android compatible mobile devices using the MIT App Inventor online development environment. MIT App Inventor projects can be in either standalone mode or use an external processor. In standalone mode, the developed application runs only on the mobile device (e.g. Android). In external processor-based applications, the mobile device communicates with an external microcontroller-based processor, such as Raspberry Pi, Arduino, ESP8266, ESP32, etc.
In this book, many tested and fully working projects are given both in standalone mode and using an external processor. Full design steps, block programs, circuit diagrams, QR codes and full program listings are given for all projects.
The projects developed in this book include:
Using the text-to-speech component
Intonating a received SMS message
Sending SMS messages
Making telephone calls using a contacts list
Using the GPS and Pin-pointing our location on a map
Speech recognition and speech translation to another language
Controlling multiple relays by speech commands
Projects for the Raspberry Pi, ESP32 and Arduino using Bluetooth and Wi-Fi
MIT APP Inventor and Node-RED projects for the Raspberry Pi
The book is unique in that it is currently the only book that teaches how to develop projects using Wi-Fi and Node-RED with MIT App Inventor. The book is aimed at students, hobbyists, and anyone interested in developing apps for mobile devices.
All projects presented in this book have been developed using the MIT App Inventor visual programming language. There is no need to write any text-based programs. All projects are compatible with Android-based mobile devices. Full program listings for all projects as well as detailed program descriptions are given in the book. Users should be able to use the projects as they are presented, modifying them to suit their own needs.
Einführung in die SPS-Programmierung mit dem Open-Source-Projekt auf dem Raspberry Pi und Modbus-Beispiele mit dem Arduino Uno und ESP8266
Die SPS-Programmierung ist heute in der Industrie und in der Hausautomation sehr weit verbreitet. In diesem Buch beschreibt der Autor, wie der Raspberry Pi 4 als SPS eingesetzt werden kann. Angefangen mit der Softwareinstallation auf dem Raspberry Pi und dem SPS-Editor auf dem PC geht es nach einer Beschreibung der Hardware an das Programmieren.
Es folgen interessante Beispiele nach IEC 61131-3 in den verschiedenen Programmiersprachen. Ausführlich wird auch erklärt, wie der SPS-Editor benutzt wird und wie die Programme auf den Raspberry Pi geladen und ausgeführt werden. Angefangen mit der Programmierung mit KOP (Kontaktplan) über ST (Structured Control Language) bis zu AS (Special Function Chart) werden alle IEC-Sprachen mit Beispielen behandelt. Diese können auf der Website des Autors heruntergeladen werden.
Auch die Vernetzung kommt nicht zu kurz. Der Arduino Uno und der ESP8266 werden als ModbusRTU- bzw. ModbusTCP-Module programmiert, um Zugriff auf externe Peripherie zu erhalten. Damit ist es möglich, Sensoren einzulesen und Verbraucher zu schalten. Interessant dürften auch E/A-Schaltungen sein, die dem 24V-Industriestandard entsprechen.
Befehlsübersichten für ST und KOP runden das Buch ab.
Nach dem Durcharbeiten des Buches ist der Leser in der Lage, eigene SPS-Steuerungen mit dem Raspberry Pi zu verwirklichen.
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
Zeitsteuerung, Scheduler, PIO und Zustandsmaschinen
Multitasking ist der Schlüssel zu leistungsfähigen Embedded-Systemen, und zugleich eine der größten Herausforderungen in der Mikrocontroller-Programmierung. Dieses Buch zeigt Ihnen Schritt für Schritt, wie Sie von einem einfachen Ein-Task-Programm zu einem strukturierten, reaktionsfähigen und skalierbaren System gelangen. Dabei steht nicht nur das Wie, sondern vor allem das Warum im Mittelpunkt.
Sie lernen:
warum scheinbare Parallelität entsteht
weshalb blockierende Programme instabil werden
wie Aufgaben effizient und kontrolliert parallel ablaufen
Ausgehend vom klassischen Superloop vermittelt das Buch moderne Multitasking-Strategien – von nicht-blockierender Programmierung und Tick-Systemen bis zu Task-Schedulern, Zustandsmaschinen und ereignisgesteuerten Konzepten.
Der Fokus liegt auf der Praxis: Sensoren, Displays, Kommunikation und reale Anwendungen werden Schritt für Schritt integriert und mit verständlich kommentierten Beispielprogrammen erklärt.
Fortgeschrittene Themen umfassen:
Multicore-Programmierung mit dem Raspberry Pi Pico
asynchrones Programmieren mit uasyncio
RTOS-Grundlagen mit FreeRTOS
die Kombination aus Multicore und RTOS
Dabei werden auch die Grenzen dieser Techniken, insbesondere unter MicroPython, klar aufgezeigt.
Das Buch richtet sich an ambitionierte Einsteiger und fortgeschrittene Entwickler, die Embedded-Systeme fundiert verstehen und robuste, wartbare Multitasking-Anwendungen entwickeln möchten.
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
Design IoT Projects with Raspberry Pi, Arduino and ESP32 The Internet of Things (IoT) is becoming a major application area for embedded systems. As a result, more and more people are becoming interested in learning about embedded design and programming. Technical colleges and universities are moving away from legacy 8 and 16-bit microcontrollers and are introducing 32-bit embedded microcontrollers to their curriculums. Many IoT applications demand precision, high processing power, and low power consumption. Produced by IBM, Node-RED is an open-source visual editor for wiring the Internet of Things. Node-RED comes with a large number of nodes to handle a multitude of tasks. The required nodes are selected and joined together to perform a particular task. Node-RED is based on flow type programming where nodes are configured and joined together to form an application program. There are nodes for performing complex tasks, including web access, Twitter, E-mail, HTTP, Bluetooth, MQTT, controlling GPIO ports, etc. One particularly nice aspect of Node-RED is that the programmer does not need to learn how to write complex programs. For example, an email can be sent by simply joining nodes together and writing only a few lines of code. The aim of this book is to teach how Node-RED can be used in projects. The main hardware platform used with most of the projects in this book is Raspberry Pi 4. Chapters are included to show how Node-RED can be also be used with Arduino Uno, ESP32 DevKitC, and the ESP8266 NodeMCU microcontroller development boards.
Projects with Arduino Uno & Raspberry Pi with Examples for the MCP2515 CAN Bus Interface Module
This book details the use of the Arduino Uno and the Raspberry Pi 4 in practical CAN bus based projects. Using either the Arduino Uno or the Raspberry Pi with off-the-shelf CAN bus interface modules considerably ease developing, debugging, and testing CAN bus based projects.
This book is written for students, practicing engineers, enthusiasts, and for everyone else wanting to learn more about the CAN bus and its applications. The book assumes that the reader has some knowledge of basic electronics. Knowledge of the C and Python programming languages and programming the Arduino Uno using its IDE and Raspberry Pi will be useful, especially if the reader intends to develop microcontroller-based projects using the CAN bus.
The book should be a useful source of reference material for anyone interested in finding answers to questions such as:
What bus systems are available for the automotive industry?
What are the principles of the CAN bus?
How can I create a physical CAN bus?
What types of frames (or data packets) are available in a CAN bus system?
How can errors be detected in a CAN bus system and how dependable is a CAN bus system?
What types of CAN bus controllers exist?
How do I use the MCP2515 CAN bus controller?
How do I create 2-node Arduino Uno-based CAN bus projects?
How do I create 3-node Arduino Uno-based CAN bus projects?
How do I set the acceptance masks and acceptance filters?
How do I analyze data on the CAN bus?
How do I create 2-node Raspberry Pi-based CAN bus projects?
How do I create 3-node Raspberry Pi-based CAN bus projects?