Concrétisez vos rêves, réalisez les projets les plus fous : un odomètre pour la roue de votre hamster, la surveillance complètement automatisée de votre fourmilière avec interface web, ou le Sandwich-O-Mat – une machine qui grille les sandwichs de votre choix.Avec les cartes Arduino et le mouvement DIY (« fais-le toi-même ») ou maker, se mettre à programmer des microcontrôleurs est devenu un jeu d'enfant. Une deuxième révolution a eu lieu : des développeurs ingénieux ont mis sur le marché de petites cartes – appelées « shields » ou modules – qui simplifient considérablement l'utilisation d'autres dispositifs. Ces petits modules contiennent tous les composants électroniques nécessaires pour la connexion au microcontrôleur ; quelques fils avec des fiches suffisent pour le raccordement, ce qui évite d'avoir à câbler et fait gagner du temps. En outre, il est également possible de manipuler de minuscules composants dépourvus de pattes de connexion (ceux de type CMS).ProjetsArduino et le monde extérieurCapteur BMP180, introduction aux bibliothèques et à l'I²CInitiation aux entrées/sorties avec un shield polyvalentAdaptateur I²C pour LCD et afficheurs à matrice de pointsShield clavier & LCDConvertisseur de niveauW5100 : connexion à internetShields d'extension des entrées/sortiesRelais et relais statiquesShield multifonction : unité de commande universelleConnexion d'un lecteur de carte SD par SPITouches et afficheurs à 7 segmentsConvertisseur analogique/numérique à 16 bitsConvertisseur numérique/analogique MCP4725Pilote de servomoteurs à 16 voies PWMLecteur MP3Enregistreur de données GPS avec stockage sur carte SDCapteur tactileJoystickSHT31 : température et humiditéCapteur d'UV-A VEML6070Temps de vol VL53L0XMesure de distance à ultrasonsAfficheur matriciel à LED à base de MAX7219Horloge en temps réel DS3231Circuit d'extension de port MCP23017Communication radio à 433 MHzGyroscope MPU-6050Accéléromètre ADXL345LED RVB WS2812Cartes d'alimentationCapteurs de gaz MQ-xxCapteur de dioxyde de carbone (CO2)Capteur de courant ACS712Capteur de courant INA219Pilote de moteur L298Kit RFID MFRC522Moteur pas à pas 28BYJ-48Carte avec pilote de moteur ultra-silencieux TMC2209Potentiomètre numérique X9C10xÉcran couleur TFT avec contrôleur/pilote ST7735Écran à encre électroniqueModule BluetoothCompteur GeigerModule GSM SIM800LMultiplexeur I²CModule CAN (Controller Area Network)
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.
From Simple Ciphers to Secure Systems
Understanding how to apply cryptography on modern microcontrollers is essential for building secure, reliable, and trustworthy systems. This book explains cryptography in the context of embedded hardware, from classical ciphers that illustrate core principles to modern techniques such as AES for practical high-security applications.
By combining mathematical theory with real-world microcontroller implementations, readers learn not only how cryptography works, but also how to implement it effectively on systems with limited processing power and memory. The book is intended for students starting out in cryptography, hobbyists securing personal projects, and engineers looking for a structured guide to embedded security.
The book covers these key topics in applied cryptography:
Classical ciphers on Arduino Uno and Raspberry Pi Pico, with full programs: Spartan Scytale, Hebrew Atbash, Caesar, ROT13, Alberti Disk, Vigenère, Affine, Polybius, Playfair, Beaufort, Ottoman Codebook, and One-Time Pad.
Hacking classical ciphers using microcontrollers, with examples.
Pseudo-random (PRNG) and true random number generation (TRNG) on microcontrollers.
Symmetric-key cryptography with full programs: DES and AES-128/256.
Memory and speed constraints of cryptography on microcontrollers.
Asymmetric cryptography: public/private keys, digital signatures, key distribution and derivation (KDF), RSA, and SHA-256 implementations.
A complete secure communication program using RSA and AES-256.
A glossary of commonly used cryptography terms.
Le Joy-Pi Note 2 est une plateforme tout-en-un, portable, dédiée à l'apprentissage et à l'expérimentation en électronique ; elle est entièrement compatible avec les Raspberry Pi 4 et 5. Alliant un écran IPS de 11,6 pouces, un clavier sans fil détachable et un boîtier compact et robuste, elle offre un environnement flexible pour le développement électronique, la programmation et l'enseignement.
Grâce à plus de 45 cours et projets pratiques, le Joy-Pi Note 2 facilite l'apprentissage et l'expérimentation autour de Python, de Scratch, de la robotique et des applications liées à l'Internet des objets (IoT). Sa plateforme pédagogique intégrée propose des instructions étape par étape, ce qui la rend idéale pour les débutants, les étudiants, les enseignants et les passionnés d'électronique expérimentés.
Le système intègre plus de 22 capteurs et modules, notamment des capteurs de température, de luminosité, de mouvement et de distance, ainsi que des affichages LED et des interfaces pour moteurs. Des options de connectivité supplémentaires, incluant des ports USB-C et des interfaces d'extension GPIO, permettent aux utilisateurs de développer et de tester leurs propres projets.
Grâce à sa compatibilité avec le Raspberry Pi 5, le Joy-Pi Note 2 bénéficie également d'une puissance de traitement et de performances graphiques accrues, s'imposant comme une plateforme polyvalente pour l'enseignement de l'électronique, le prototypage et l'expérimentation avancée.
Caractéristiques
Kit complet d'expérimentation électronique
Plateforme tout-en-un d'apprentissage et d'expérimentation
Compatible avec Raspberry Pi 4 et 5
Plateforme d'apprentissage interactive préinstallée
Clavier sans fil détachable
Compartiment de rangement intégré pour batterie externe et accessoires
Spécifications
Écran
Écran LCD 11,6"
Caméra
2 MP
Plateforme d'apprentissage
Plus de 45 cours et projets
Écrans
Afficheur 7 segments, écran 16x2, écran TFT 1,8", écran OLED 0,96", matrice RVB 8x8
Alimentation
5 V/5 A, USB-C
Écrans
Afficheur 7 segments, module LCD 16x2, matrice RVB 8x8
Capteurs
Capteur de température et d'humidité DHT, capteur d'inclinaison, capteur de mouvement, capteur sonore, capteur tactile, module RFID, capteur de luminosité, capteur à ultrasons
Moteurs
Interface pour servomoteur, interface pour moteur pas à pas, moteur vibrant
Système de contrôle
Joystick, matrice de boutons 4x4, commutateur de connexion (Raspberry Pi/PC), réglage de sensibilité (capteur de mouvement, capteur sonore), réglage de luminosité (module LCD 16x2)
Divers
Relais, ventilateur, extension GPIO, indicateur LED GPIO, plaque d'essai (breadboard), interface d'extension (E/S, ADC, I²C, UART), interface pour capteur infrarouge, buzzer, contrôleur d'affichage
Accessoires
Puce RFID, carte RFID, bloc d'alimentation, servomoteur, moteur pas à pas, récepteur infrarouge, télécommande infrarouge, moteur CC avec ventilateur, tournevis, carte microSD (32 Go), lecteur de carte SD, accessoires électroniques, souris sans fil, clavier sans fil
Dimensions
291 x 190 x 46 mm
Poids
1,3 kg
Inclus
Joy-Pi Note 2 ordinateur portable
Raspberry Pi 5 (8 Go de RAM)
Accessoires
Bloc d'alimentation USB-C
Guide de démarrage rapide
Téléchargements
Joy-Pi website
Fiche technique
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.
Dieses Buch beschäftigt sich mit DC-Elektromotoren und deren Einsatz in Arduino und Raspberry Pi Zero W-Projekten. Das Buch enthält zahlreiche Motorsteuerungsprojekte, wobei jedes Projekt denselben Aufbau besitzt:
Projekttitel
Beschreibung des Projekts
Blockschaltbild
Schaltplan
Zusammenbau
Vollständiges Programmlisting
Umfassende Erläuterung des Programms
Die Projekte im Buch umfassen die Standard-DC-Motoren, Schrittmotoren, Servomotoren und mobile Roboter. Das Buch richtet sich an Elektronik-Bastler, die Projekte mit dem Arduino Uno oder dem Raspberry Pi Zero W entwickeln und dabei Motoren einsetzen möchten.
Ein besonders reizvolles Projekt dieses Buches ist die Fernsteuerung eines mobilen Roboters von einem Mobiltelefon aus mit dem Arduino Uno sowie dem Raspberry Pi Zero W. Dieses Projekt wird sowohl über Wi-Fi als auch über Bluetooth mit dem Handy gesteuert. Die Leser sollten in der Lage sein, einen Roboter vorwärts, rückwärts, links oder rechts zu bewegen, indem sie einfache Befehle vom Mobiltelefon aus senden.
Die vollständigen Programmlistings aller Projekte sowie die detaillierten Programmbeschreibungen finden Sie im Buch. Der Leser kann die Projekte Schritt für Schritt nachbauen oder sie an die eigenen Bedürfnisse anpassen.
Mikrocontroller haben sich in den letzten Jahren in praktisch allen Bereichen der modernen Technik etabliert. In zunehmendem Maße dringen sie auch in die Gebiete der Künstlichen Intelligenz und der Robotertechnik vor. Das vorliegende Buch gibt eine umfassende Einführung in die Welt der Controller-Technik mit all ihren Facetten, von der einfachen Steuerung über die Sensor-Technik bis hin zur Datenübertragung in das Internet.
Als Basis dafür dient das von Elektor entwickelte AVR-Playground-Board. Das Board kann mit Controllern der ATmega-Familie bestückt werden und ist mit dem bekannten Arduino-System kompatibel, so dass auch die verschiedenen Arduino-Hardware-Erweiterungen verwendet werden können.
Für die Programmierung kommt die Sprache „C“ zum Einsatz. Auch hier wird im Buch auf das Arduino-System zurückgegriffen. Die frei verfügbare Arduino-Entwicklungsumgebung erlaubt den leichten Einstieg, ohne dass später Einschränkungen in Kauf genommen werden müssen. Die Hardware-nahe Programmierung steht dabei besonders im Fokus. Nach der Erläuterung von grundlegenden Anwendungen wird auf die anspruchsvolleren Themen wie Interrupts, Timer und Counter, Pulsweitenmodulation und Analog-Digital-Wandlung eingegangen.
Praktische Anwendungen können sowohl mit einem Arduino als auch mit dem AVR-Playground-Board durchgeführt werden. Da das AVR-Playground-Board bereits über eine Vielzahl von Peripherie-Einheiten verfügt, sind nur noch wenige externe Bauteile erforderlich. Das Board kann im Elektor-Shop hier bezogen werden.
Der Arduino Uno ist ein Open-Source-Mikrocontroller-Entwicklungssystem, das Hardware, eine integrierte Entwicklungsumgebung (IDE) und eine Vielzahl von Bibliotheken umfasst. Es wird von einer riesigen Gemeinschaft von Programmierern, Elektronikern, Enthusiasten und Akademikern unterstützt. Insbesondere die Bibliotheken erleichtern die Programmierarbeit und reduzieren die Entwicklungszeiten, da sie das Erstellen von Programmen erheblich erleichtern.
Der Raspberry Pi 4 kann in vielen Projekten wie Audio- und Videoanwendungen, aber auch in Industriesteuerungen, Robotik, Spielen usw. eingesetzt werden. Dazu bietet er auch WiFi- und Bluetooth-Fähigkeiten, wodurch er sich zudem hervorragend für internetbasierte Steuerungs- und Überwachungsanwendungen eignet.
In diesem Buch werden sowohl der Raspberry Pi 4 als auch der Arduino Uno in PID-basierten automatischen Steuerungsanwendungen eingesetzt. Nach einer grundlegenden Theorie der Regelsysteme werden funktionierende und getestete Projekte zur Steuerung realer Systeme mit PID-Reglern vorgestellt. Die Open-Loop-Eigenschaften, die Abstimmung der PID-Parameter und das Closed-Loop-Zeitverhalten der Systeme werden zusammen mit Blockdiagrammen, Schaltplänen und PID-Regelalgorithmen ausführlich diskutiert.
Vollständige Programme für den Raspberry Pi und den Arduino Uno runden die im Buch vorgestellten Projekte ab. Die Regelsysteme können problemlos auch auf andere Projekte angewendet werden und die für den Raspberry Pi 4 angegebenen Programme sollten auch mit anderen Modellen der Raspberry Pi-Familie reibungslos funktionieren.
Das Buch behandelt folgende Themen:
Steuer- und Regelsysteme
Analoge und digitale Sensoren
Übertragungsfunktionen und zeitkontinuierliche Systeme
Systemantwortfunktionen erster und zweiter Ordnung
Zeitdiskrete digitale Systeme
Zeitkontinuierliche PID-Regler
Zeitdiskrete PID-Regler
Zweipunkt-Temperaturregelung mit Raspberry Pi und Arduino Uno
PID-basierte Temperaturregelung mit Raspberry Pi und Arduino Uno
Motorsteuerung mit Raspberry Pi und Arduino Uno
Wasserstandsregelung mit Raspberry Pi und Arduino Uno
PID-basierte LED-Helligkeitsregelung mit Raspberry Pi und Arduino Uno
Die chinesische Firma Espressif Systems hat den neuen Mikrocontroller ESP32 entwickelt, das Nachfolgemodell des ESP8266-WiFi-Chips. Zusätzlich zu allen ESP8266-Funktionen stellt der ESP32 nun Bluetooth-Funk, einen größeren SRAM-Datenspeicher, mehr GPIOs, mehr Schnittstellen, einen Touch-Sensor, einen Temperatursensor, höhere CPU-Geschwindigkeit, einen CAN-Bus, ADCs mit höherer Auflösung, DACs und Sicherheitsfunktionen bereit. Der ESP32 ist Arduino-kompatibel.
Dieses Buch ist eine Einführung in den ESP32-Prozessor und beschreibt die wichtigsten Hardware- und Software-Features dieses Chips. Das Hauptziel des Buches ist es, dem Leser zu vermitteln, wie man ESP32-Hard- und Software in praktischen Projekten einsetzt, vor allem durch Verwendung des hochmodernen ESP32-Entwicklungsboards.
Im Buch sind viele einfache, grundlegende und weitere Projekte mittlerer Schwierigkeit auf Basis des Entwicklungsboards ESP32 DevKitC samt der beliebten Arduino-IDE und der Programmiersprache MicroPython enthalten. Die Projekte sind nach aufsteigender Komplexität organisiert.
Build Smart Applications with Raspberry Pi, Arduino, and ESP32
Discover how easy and exciting mobile app development can be with MIT App Inventor. This hands-on guide takes you from basic concepts to building real-world mobile applications using a simple visual programming approach—no prior coding experience required. You will create IoT and AI-powered apps for Android devices and explore how App Inventor can also be used with iPhones and iPads.
Connect your applications to platforms such as Arduino UNO R4 WiFi, ESP32, Raspberry Pi Pico (2)W and Raspberry Pi 5, enabling you to build smart, connected systems.
Inside the book, you will learn how to:
Build interactive apps using buttons, images, sound, and multimedia
Create text-to-speech and speech-recognition applications
Develop camera-based and location-aware (GPS) apps
Design useful tools such as calculators and educational apps
Work with smartphone sensors like accelerometers and light sensors
Build AI-powered applications, including voice assistants and image-generation features
Send and receive messages, and create communication-based apps
Connect mobile apps to hardware using Wi-Fi and Bluetooth
Control real devices such as LEDs, motors, and sensors
Designed for beginners, students, and hobbyists, this book focuses on learning by doing. By the end, you will have the skills and confidence to create your own innovative applications that interact with both the digital and physical worlds.
Start building and turning your ideas into reality.
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.
Program, build, and master 60+ projects with the Wireless RP2040
The Raspberry Pi Pico and Pico W are 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 spacious memory, the Pico and Pico W offer many GPIO pins, and popular peripheral interface modules like ADC, SPI, I²C, UART, PWM, timing modules, a hardware debug interface, and an internal temperature sensor.
The Raspberry Pi Pico W additionally includes an on-board Infineon CYW43439 Bluetooth and Wi-Fi chipset. At the time of writing this book, the Bluetooth firmware was not yet available. Wi-Fi is however fully supported at 2.4 GHz using the 802.11b/g/n protocols.
This book is an introduction to using the Raspberry Pi Pico W in conjunction with the MicroPython programming language. The Thonny development environment (IDE) is used in all of the 60+ working and tested projects 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 sensor chips
Using the internal temperature sensor and external temperature sensor chips
Datalogging projects
PWM, UART, I²C, and SPI projects
Using Bluetooth, WiFi, and apps to communicate with smartphones
Digital-to-analogue converter (DAC) projects
All projects are tried & tested. They can be implemented on both the Raspberry Pi Pico and Raspberry Pi Pico W, although the Wi-Fi-based subjects will run on the Pico W only. Basic programming and electronics experience are required to follow the projects. Brief descriptions, block diagrams, detailed circuit diagrams, and full MicroPython program listings are given for all projects.