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.
Mit RPi-basierten Tools und Messgeräten Amateurfunkstationen bauen und programmieren
Obwohl viele Funkamateure immer noch mit klassischer HF- und Mobilfunkausrüstung arbeiten, ist der Einsatz von Computern und digitalen Techniken inzwischen sehr beliebt. Heutzutage kann jeder für ca. 40 € einen Raspberry Pi-Computer kaufen und fast jede Amateurfunk-Software auf dem 'RPi' ausführen.
Die RTL-SDR-Geräte sind bei Funkamateuren sehr beliebt, weil sie sehr preiswert sind und viele Funktionen bieten. Ein Basissystem kann aus einem USB-basierten RTL-SDR-Dongle mit einer geeigneten Antenne, einem RPi-Computer, einem USB-basierten externen Audio-Eingangs-/ Ausgangsadapter und einer auf dem RPi installierten Software bestehen. Mit einer solch einfachen Einrichtung ist es möglich, Signale von etwa 24 MHz bis über 1,7 GHz zu empfangen.
Dieses Buch richtet sich an Funkamateure, die lernen wollen, wie man mit dem Raspberry Pi elektronische Projekte baut. Das Buch eignet sich für die gesamte Bandbreite von Anfängern bis hin zu alten Hasen im Amateurfunk. Die schrittweise Installation des Betriebssystems wird mit vielen Details zu den gängigsten Linux-Befehlen beschrieben. Einige Kenntnisse der Programmiersprache Python sind erforderlich, um die im Buch beschriebenen Projekte zu verstehen und zu bearbeiten. Zu den im Buch entwickelten Beispielprojekten gehören eine Stationsuhr, ein Signalgenerator, der Entwurf eines Transistorverstärkers, der Entwurf eines aktiven Filters, ein Morsezeichen-Übungsgerät, ein Frequenzzähler, ein HF-Meter und vieles mehr. Für jedes Projekt werden das Blockdiagramm, der Schaltplan und der vollständige Python-Quellcode angegeben, einschließlich der vollständigen Beschreibung der Projekte.
Neben der umfassenden Behandlung von RTL-SDR für Amateurfunk fasst das Buch auch die Installations- und Gebrauchsanweisungen der folgenden Amateurfunkprogramme zusammen, die Sie auf ihrem Raspberry Pi ausführen können: TWCLOCK, Klog, Gpredict, FLDIGI, DIRE WOLF, xcwcp, QSSTV, LinPsk, Ham Clock, CHIRP, xastir und CQRLOG.
Ce cours complet de programmation du microcontrôleur ESP32 comprend un manuel, un kit de composants, des projets pratiques ainsi qu’un cours en ligne complet avec simulations. Il est idéal pour apprendre pas à pas la programmation des systèmes embarqués avec Arduino, grâce à une approche concrète et pratique.
Une introduction pratique aux systèmes embarqués avec l’ESP32
Ce cours s’adresse aux débutants en systèmes embarqués recherchant une approche structurée et basée sur des exemples.
Un kit de composants comprenant des LED et des résistances, des interrupteurs, des capteurs et actionneurs, des afficheurs, une breadboard et des fils est inclus. Ceux-ci sont utilisés dans le cours pour illustrer des applications concrètes.
Aucune expérience préalable avec Arduino ou le développement embarqué n’est requise. Chaque section propose des exemples pratiques et des mini-projets conçus pour renforcer les concepts clés et encourager l’exploration. À la fin du cours, vous serez capable non seulement de reproduire les exemples, mais aussi de développer vos propres idées et applications.
Que allez-vous apprendre ?
Programmation du microcontrôleur ESP32 à l'aide de l'IDE Arduino
Utilisation des entrées/sorties numériques, lecture de boutons et encodeurs, commande de LED et relais
Lecture des entrées analogiques, tensions et capteurs analogiques
Génération de signaux analogiques et PWM
Utilisation des communications série comme UART, I²C et SPI pour piloter des afficheurs et lire des capteurs numériques et cartes SD
Gestion du temps
Utilisation des interruptions
Entrées capteurs en temps réel et contrôle via boutons, LED et afficheurs
Commande d’actionneurs comme relais et servomoteurs
À qui s’adresse ce cours ?
Étudiants et autodidactes explorant les systèmes embarqués
Makers et passionnés d’IoT souhaitant améliorer leurs compétences en hardware
Formateurs et enseignants à la recherche de matériel pédagogique prêt à l’emploi
Contenu de la boîte
Accès au cours complet sur la plateforme Elektor Academy Pro
Carte microcontrôleur ESP32 + câble USB
Livre : Programming Microcontrollers in C/C++ Using Arduino
Fichiers de projet téléchargeables pour chaque module
Boîte de composants :
2× LED, rouge, 5 mm
LED, verte, 5 mm
3× résistance, 470 Ω, 0,25 W
LDR
Potentiomètre, 10 kΩ, linéaire
Bouton-poussoir
Module encodeur rotatif
Module relais
Capteur DHT22 (température & humidité)
Afficheur 7 segments 4 digits compatible TM1637
MPU-6050 IMU avec connecteurs
Afficheur OLED I²C compatible SSD1306
Adaptateur carte micro SD avec connecteur
Buzzer
Micro servo SG90
Écran TFT SPI 240×320 compatible ILI9341
20× fils jumper
Breadboard
Tous les cours de programmation (et différences de contenu)
Cours
Arduino
Raspberry Pi Pico with Arduino C/C++
ESP32 with Arduino C/C++
Raspberry Pi Pico with MicroPython
ESP32 with MicroPython
Cours en ligne
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
Carte
Uno R3
Raspberry Pi Pico
ESP32
Raspberry Pi Pico
ESP32
Livre
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
Boîte de composants (40 pièces)
Boîte de composants (40 pièces)
Boîte de composants (40 pièces)
Boîte de composants (40 pièces)
Boîte de composants (40 pièces)
Construisez votre station météo idéale ou explorez les données environnementales avec le monde entier. Avec de nombreux projets pratiques pour Arduino, Raspberry Pi, NodeMCU, ESP32 et autres cartes de développement.
Les stations météo jouissent d’une grande popularité depuis des décennies. Tous les magazines d’électronique, qu’ils soient récents ou non, ont publié et publient régulièrement des articles sur la construction d’une station météo. Au fil des années, elles sont devenues de plus en plus sophistiquées et peuvent aujourd’hui être entièrement intégrées dans la maison intelligente. Ceci implique toutefois souvent une fidélité à un fabricant de produits de marque (coûteux) pour tous les composants.
Cependant, avec votre propre station météo, vous pouvez facilement suivre le rythme et même capturer des relevés que les appareils commerciaux ne peuvent pas réaliser. Le plaisir ne manque pas : vous développerez de manière ludique vos connaissances en électronique, en cartes de développement de microcontrôleurs modernes et en langages de programmation. Pour moins de dix euros, vous pouvez collecter des données environnementales initiales et étendre votre système au fur et à mesure que votre intérêt grandit.
Dans ce numéro
Sur la route du vent et de la météo
Écran météo OpenWeatherMap à affichage fluorescent
Les composés organiques volatils dans l‘air que nous respirons
Travailler avec les capteurs MQ : mesurer le monoxyde de carbone
Détecteur de CO2 avec connexion IdO vers ThingSpeak
Un arrosage automatique pour vos plantes
Un climat intérieur sain : la température et l‘humidité de l‘air sont importants
Thermomètre avec tubes Nixie
Une maison météo rétro pour toute la famille
Mesurez la pression atmosphérique et la température avec précision
Un détecteur de coups de soleil
Capteur maison pour la durée d‘ensoleillement
Le smartphone l‘indique : brouillard ou bonne visibilité ?
Détecter les tremblements de terre
Les niveaux des cours d‘eau et des réservoirs
Évaluer la valeur du pH de l’eau
Détecter les rayonnements radioactifs
Avec le GPS, vous savez où se trouve votre capteur
Enregistrer les fichiers journaux avec horodatage sur des cartes SD
LoRaWAN, The Things Network et ThingSpeak
Exploiter la passerelle LoRaWAN pour le TTN
Affichage géant à led avec prévisions météo
Le Raspberry Pi Bumper est une coque en silicone à clipser qui protège le bas et les bords du Raspberry Pi 5.
Caractéristiques
Bumper en caoutchouc de silicone flexible d'une seule pièce
Permet d'accéder facilement au bouton d'alimentation
Les trous de montage restent accessibles sous le bumper
Téléchargements
Datasheet
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.
Diese Ausgabe steht allen GOLD- und GREEN-Mitgliedern auf der ElektorMagazine-Website zum Download bereit!
Sie sind noch kein Mitglied? Hier klicken!
Kleine WärmebildkameraRealisiert mit einem Arduino UNO
Projekt-Update #3: Energiemessgerät mit ESP32Integration und Test mit Home Assistant
2024: Eine Odyssee in die KIVerbessern der Objekterkennung: Nutzung verfeinerter Techniken
Raspberry Pi Goes KINeues Kit enthält M.2-HAT mit KI-Beschleuniger
Sensoren für WetterstationenWelchen Sensor sollte man wählen?
KI-gestützter WasserzählerTeil 1: Bringen Sie Ihren alten Zähler ins IoT!
Ein GSM-AlarmNutzung der GSM-Technologie für die Fernüberwachung von Garagen
Low-Power-Thread-Geräte optimiert und getestetNiedriger Energiebedarf ... Niedrige Leistung?
Aus dem Leben gegriffenDer Gender-Gap
Nebelkammer selbstgebautUnsichtbare Strahlung sichtbar machen
SparkFun Thing Plus MatterEin vielseitiges Matter-basiertes IoT-Entwicklungsboard
IoT-RetrofittingRS232-Geräte fit für Industrie 4.0 machen
IoT mit 8-Bit-Mikrocontrollern
Technologie als Motor der NachhaltigkeitNeuerungen führen zu Energieeffizienz in vielen Applikationen
AWS für Arduino und Co.Teil 1: AWS-IoT-ExpressLink in der Praxis
Luftstromdetektor (nur) mit ArduinoKeine externen Sensoren erforderlich!
WasserleckdetektorVerbunden mit der Arduino-Cloud
QuarzeBemerkenswerte Bauteile
Universeller Garten-LoggerEin Schritt auf dem Weg zur KI-gestützten Gartenarbeit
Analoger 1-kHz-GeneratorSinuswellen mit geringen Verzerrungen
Miletus: Web-Apps offline nutzenSystem- und Gerätezugriff inklusive
Von 4G zu 5GIst es wirklich so einfach?
Aller Anfang...muss nicht schwer sein: Der Ausgleich
Maîtrise de la puce RP2040 avec plus de 60 projets à réaliser et à programmer
Les cartes Raspberry Pi Pico et Pico W sont animées par un microcontrôleur ARM Cortex M0+ RP2040 à double coeur, rapide, efficace et peu coûteux, qui fonctionne jusqu'à 133 MHz et dispose de 264 Ko de SRAM et de 2 Mo de mémoire Flash. Outre une vaste mémoire, le Pico et le Pico W disposent de nombreuses broches GPIO et d'interfaces telles que CA/N, SPI, I²C, UART, MLI, de fonctions de temporisation, d'une interface de débogage matériel et d'un capteur de température interne.
La carte Raspberry Pi Pico W comporte en plus une puce CYW43439 Bluetooth et Wi-Fi d'Infineon. Au moment de la rédaction de ce livre, le micrologiciel Bluetooth pour le Pico W n'était pas encore disponible. Le Wi-Fi à 2,4 GHz est toutefois entièrement pris en charge avec les protocoles 802.11b/g/n.
Ce livre est une introduction à l'utilisation du Raspberry Pi Pico W avec le langage de programmation MicroPython. Les quelque soixante projets testés et opérationnels sont présentés à l'aide de l'environnement de développement intégré (EDI) Thonny. Les sujets abordés sont nombreux :
Installation de MicroPython sur le Raspberry Pi Pico depuis un PC
Interruptions de l'horloge et interruptions externes
Convertisseur analogique-numérique (CA/N)
Capteurs de température interne et externe
Capteurs externes (pression, humidité, pouls, à ultrasons)
Enregistrement de données
MLI, UART, I²C et SPI
Bluetooth, Wi-Fi et applis sur smarphone
Convertisseur numérique-analogique (CN/A)
Tous les projets ont été testés et éprouvés. Ils peuvent être mis en oeuvre sur le Raspberry Pi Pico ainsi que sur le Raspberry Pi Pico W. Toutefois les projets avec une liaison Wi-Fi ne fonctionnent que sur le Pico W. Une petite expérience en programmation et en électronique est nécessaire pour suivre les projets. De brèves descriptions, des schémas fonctionnels, des schémas détaillés du câblage des montages et des listings MicroPython complets sont fournis pour tous les projets.
PC USB Logic Analyzers with Arduino, Raspberry Pi, and Co.
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.
Kit DIY multilingue (avec 27 LED RGB + Raspberry Pi Pico)
Ajoutez une touche d'ingénierie à votre période de Noël avec le sapin de Noël LED « lumineux » d'Elektor. Ce sapin de Noël 3D au design raffiné combine onze circuits imprimés, un Raspberry Pi Pico et 27 LED RVB adressables pour faire briller des messages festifs en sept langues : danois, néerlandais, anglais, français, allemand, italien et espagnol.
Contrairement aux sapins LED classiques, chaque mot à l'intérieur du sapin possède sa propre chambre lumineuse, créant un éclairage raffiné et doux, sans son ni scintillement. Les LED sont entièrement compatibles WS2812 et pilotées par la bibliothèque Adafruit NeoPixel, ce qui facilite la création d'animations personnalisées et d'effets de couleur.
Idéal pour les makers, les bricoleurs et les passionnés d'électronique festive, ce kit offre à la fois un montage agréable et une décoration originale qui ne manquera pas de susciter la conversation. Le sapin de Noël LED Elektor est le projet de bricolage idéal pour les fêtes !
Caractéristiques
Messages d'accueil multilingues (7 langues) gravés sur le panneau avant
Construction 3D à partir de 11 circuits imprimés emboîtables
Alimenté par Raspberry Pi Pico
27 LED RGB adressables individuellement (pré-montées)
Animations d'apparition et de disparition fluides
Entièrement programmable avec l'IDE Arduino
Une alimentation 5 V (avec connecteur micro-USB) capable de fournir au moins 1 A est recommandée pour une luminosité maximale (non fournie)
Dimensions (H x L x P) : 130 x 115 x 75 mm
Inclus
Toutes les cartes de circuits imprimés nécessaires avec LED et autres composants CMS montés
Raspberry Pi Pico (à souder et programmer par l'utilisateur)
Connecteur à 3 broches (à souder par l'utilisateur)
Support à 3 broches (à souder par l'utilisateur)
4x Tampons en caoutchouc autocollants
Page du projet
Elektor Labs
Praxisnahe Projekte, Profi-Tricks und eigene Anwendungen
Dieses Buch führt Sie Schritt für Schritt in die faszinierende Welt der State Machines ein und zeigt, wie Sie Hardware direkt und effizient ansteuern können – jenseits klassischer CPU-gesteuerter Ansätze.
In diesem Buch lernen Sie:
LEDs und NeoPixel kreativ steuern: Blinken, Dimmen, Farbwechsel und komplexe Animationen
Taster und Encoder zuverlässig auslesen und in Echtzeit in Ihre Projekte integrieren
Analoge Eingänge (ADC) nutzen und Signale digital steuern
Servos präzise ansteuern und Bewegungsabläufe automatisieren
SPI mit PIO umsetzen, um Displays, Sensoren und Module anzusteuern
Menüsysteme und Submenüs auf SPI-Displays realisieren, inklusive Navigation über mehrere Taster
PWM, Signalgenerierung und Frequenzsteuerung für akustische oder visuelle Effekte
Debugging-Strategien und Tipps, um Ihre PIO-Programme effizient zu entwickeln
Alle Beispiele sind praxisnah, sofort umsetzbar und zuverlässig. Mit klaren Anleitungen, Hintergrundwissen und fertigen Codebeispielen lernen Sie, die PIO-Fähigkeiten des Pico maximal zu nutzen – egal ob für Maker-Projekte, Prototypen oder professionelle Anwendungen.
Erleben Sie, wie Sie komplexe Hardwaresteuerung elegant mit dem Pico realisieren können – schneller, flexibler und leistungsfähiger als je zuvor.
AI Projects for the Raspberry Pi with the AI HAT+
Edge AI is transforming everyday devices by putting intelligence where it matters most: directly inside the hardware. With on-device inference, a camera can recognize a visitor instantly, a phone can translate speech without streaming audio to the cloud, and a wearable can detect anomalies in real time—fast, private, and reliable even when the network disappears.
This book is your practical guide to building exactly those kinds of systems with the Raspberry Pi AI HAT+ and the Hailo-8L accelerator. You’ll start with clear foundations: core AI and machine-learning concepts, how neural networks work, and what truly distinguishes Edge AI from cloud AI—plus an honest look at ethical considerations and future impacts.
Then it’s straight to hands-on physical computing. Step by step, you’ll set up Raspberry Pi OS, power and cooling, and develop in Python using the Thonny IDE. You’ll learn GPIO basics with lights and servos, mount the AI HAT+ hardware, install and verify the Hailo software stack, and connect the right camera—official modules or USB webcams, even multiple cameras.
From your first pipeline to real projects, you’ll run person detection, pose estimation, segmentation, and depth estimation, then level up with YOLO object detection: smart alerts, guest counters, and custom extensions. You’ll even connect vision to motion by combining gesture recognition with servo-driven mechanisms, including a robotic arm.
With troubleshooting tips, hardware essentials, and a practical Python refresher, this book turns Edge AI from buzzword into buildable reality.