Affordable solutions with the ESP8266 and 3D printing
If you are looking for a small yet powerful IoT device, you are likely to come across the ESP8266 and compatible products on the market today. One of these, the Wemos/Lolin D1 Mini Pro board strikes a remarkable balance between cost and performance. A small and very affordable prototype board, the D1 Mini Pro stands out with its WiFi functionality and a 16-Mbytes flash memory for easy creation of a flash file system. In addition, there are sufficient input and output pins (only one analog input though) to support PWM, I²C, and One-Wire systems to mention but a few. The book describes the operation, modding, construction, and programming of home appliances including a colorful smart home accessory, a refrigerator/greenhouse controller, an AC powerline monitor, a door lock monitor, and an IKEA Trådfri controller.
As a benefit, all firmware developed for these DIY, "IoT-ized" devices can be updated over-the-air (OTA).
For most of the designs in the book, a small printed circuit board (PCB) and an enclosure are presented so readers can have a finished and attractive-looking product. Readers having – or with access to! – a 3D printer can "print" the suggested enclosures at home or in a shop.
Some of the constructions benefit from a Raspberry Pi configured as a gateway or cms server. This is also described in detail with all the necessary configuring.
You don’t need to be an expert but the prerequisites to successful replication of the projects include basic skills with PC software including the ability to surf the Internet. In terms of hardware, you should be comfortable with soldering and generally assembling the PCBs presented in the book.
All custom software written for the IoT devices, the PCB layouts, and 3D print files described in the book are available for free downloading.
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.
Met de Raspberry Pi heeft u voor slechts een paar tientjes een complete computer in handen, waar op eenvoudige wijze allerlei elektronica aangesloten kan worden. In deze 2e herziene en uitgebreide versie gaan we in op een van de sterke kanten van de Raspberry Pi: de combinatie van programmeren en elektronica.
Na een korte introductie van de Raspberry Pi wordt de benodigde software geïnstalleerd. Op de SD-kaart die u bij dit boek kunt aanschaffen, is die allemaal al aanwezig voor de Raspberry Pi. Aan de (optionele) Windows PC kant gebeurt dit met gratis software die u kunt downloaden.
Daarna volgt een beknopte inleiding in het besturingssysteem Linux en gaan we programmeren in Bash, Python en JavaScript. De nadruk ligt hierbij op Python, maar in alle gevallen houden we het kort. We bespreken net voldoende zodat u de projecten kunt begrijpen en aan uw wensen aanpassen, en gaan dan aan de slag met leuke projecten.
Maar liefst 45 spannende en interessante projecten worden in detail besproken en uitgelegd. Van wisselknipperlicht, aansluiten van een elektromotor, het verwerken en maken van analoge signalen tot lichtmeter en temperatuurregeling. Maar ook gecompliceerdere projecten zoals een motorsnelheidsregeling, webserver met CGI, client-server applicaties en Xwindows programma‘s. U kunt dit boek gebruiken als projecten boek en de projecten nabouwen en in de praktijk inzetten. Door de duidelijke uitleg, schema‘s en foto‘s van de opstellingen op een steekbord wordt het nabouwen een erg leuke bezigheid.
RPi
Alle software voor de RPi is voorgeïnstalleerd op een SD-kaart die u bij dit boek kunt aanschaffen. Dat wil zeggen dat alle software en drivers voor SSH, SPI, I²C, GPIO, PWM, muziek, Python Ontwikkelversie, wxPython, IdleX en de seriële verbinding gegarandeerd werken. Tevens staan alle broncodes van de projecten uitdit boek op deze kaart.
Windows-PC
In het gratis download-pakket dat bij dit boek hoort, vindt u de software die in dit boek gebruikt wordt op de Windows-PC handig bij elkaar in een enkel ZIP-bestand. Alle software is gratis. Tevens bevat het pakket een filmpje van de Nutteloze Doos (Useless Machine) van project 13.4.
Software download-pakket
WinOscillo
Putty
Xming
WinSCP
DiskImager
Notepad2
IdleX
Useless Box film
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.
Most people are increasingly confronted with the applications of Artificial Intelligence (AI). Music or video ratings, navigation systems, shopping advice, etc. are based on methods that can be attributed to this field.
The term Artificial Intelligence was coined in 1956 at an international conference known as the Dartmouth Summer Research Project. One basic approach was to model the functioning of the human brain and to construct advanced computer systems based on this. Soon it should be clear how the human mind works. Transferring it to a machine was considered only a small step. This notion proved to be a bit too optimistic. Nevertheless, the progress of modern AI, or rather its subspecialty called Machine Learning (ML), can no longer be denied.
In this book, several different systems will be used to get to know the methods of machine learning in more detail. In addition to the PC, both the Raspberry Pi and the Maixduino will demonstrate their capabilities in the individual projects. In addition to applications such as object and facial recognition, practical systems such as bottle detectors, person counters, or a “talking eye” will also be created.
The latter is capable of acoustically describing objects or faces that are detected automatically. For example, if a vehicle is in the field of view of the connected camera, the information 'I see a car!' is output via electronically generated speech. Such devices are highly interesting examples of how, for example, blind or severely visually impaired people can also benefit from AI systems.
Le boîtier Raspberry Pi 5 est une amélioration du boîtier Raspberry Pi 4 avec des caractéristiques thermiques améliorées pour prendre en charge la consommation d'énergie maximale plus élevée du Raspberry Pi 5. Il intègre un ventilateur à vitesse variable qui est alimenté et contrôlé via un connecteur dédié sur le Raspberry Pi 5.
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
Vom Messwert zur stabilen Entscheidung
Wie wird aus einem einfachen Mikrocontroller ein intelligentes System, das Sensorwerte erfasst, verarbeitet und sinnvoll darauf reagiert? Dieses Buch zeigt es Ihnen Schritt für Schritt – verständlich, praxisnah und ohne unnötige Vorkenntnisse.
Sie beginnen mit den Grundlagen der digitalen und analogen Ein- und Ausgänge. Anschließend lernen Sie, wie Sensorwerte gelesen, geglättet und zuverlässig bewertet werden. Anschauliche Beispiele erklären, warum einzelne Messwerte oft täuschen können und wie Mittelwertbildung, Hysterese und einfache Entscheidungsregeln für stabile Ergebnisse sorgen. Nach und nach erweitern Sie Ihre Projekte um Displays, I²C-Kommunikation und mehrere vernetzte Mikrocontroller. So entstehen verteilte Systeme, in denen Raspberry Pi Pico und ATtiny-Controller Daten austauschen und gemeinsam Aufgaben übernehmen.
Im fortgeschrittenen Teil erhalten Sie einen leicht verständlichen Einstieg in Merkmalsbildung, Datenvorverarbeitung, hybride Entscheidungsmodelle und TinyML-nahe Anwendungen. Dabei verbinden Sie klassische Regelungstechnik mit modernen datenbasierten Methoden.
Alle Projekte werden von ausführlich kommentierten Programmen in C und MicroPython begleitet. Das Buch richtet sich an Einsteiger, Maker, Studierende und alle, die Embedded-Systeme von Grund auf verstehen möchten.
Am Ende können Sie eigene Systeme entwickeln, die nicht nur messen, sondern Informationen auswerten, zuverlässige Entscheidungen treffen und gezielt reagieren.
With Examples for Raspberry Pi Pico and ESP32
Creating and programming small electronic systems is now easier than ever before. With inexpensive development boards and modern software tools, anyone curious about embedded design can quickly move from an idea to a working piece of hardware. At the heart of this change is MicroPython—a clear, interactive, and beginner-friendly way to program microcontrollers while still remaining closely connected to the underlying electronics.
This book introduces embedded programming through MicroPython on popular platforms such as the Raspberry Pi Pico and the ESP32. You will discover how to use microcontrollers for reading inputs, processing data, and controlling outputs in a predictable, real-time loop. With just a few lines of code, you can blink LEDs, read sensors, drive motors, and communicate with the outside world. The interactive REPL programming interface encourages experimentation and fast learning, making concepts tangible from the very first chapter.
While different boards offer different capabilities, they all share the same core principles. Timers, GPIO, analog I/O, PWM, interrupts, and communication interfaces form the foundation of every embedded system.
By focusing on these universal building blocks, this book helps you build skills that transfer across platforms and scale naturally toward more advanced development. Whether you are a beginner or an experienced programmer entering embedded systems, you will find that working with MicroPython is both practical and genuinely enjoyable.
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
Cette offre groupée contient tout ce dont vous avez besoin pour démarrer immédiatement avec la carte de développement XIAO ESP32-C3. Découvrez les bases de l’ESP32-C3 et réalisez des projets pratiques avec le Wi-Fi, le Bluetooth, des capteurs, des écrans, le PWM, le Deep Sleep et bien plus encore.
Livre : Build Smart Projects with the XIAO ESP32-C3 Board
La carte XIAO ESP32-C3 associe le format ultracompact de la série XIAO aux nombreuses fonctionnalités de la puce ESP32-C3, notamment le Wi-Fi intégré et le Bluetooth 5.0. Ce livre est un guide complet et pratique qui vous permettra d’exploiter pleinement cette carte de développement à la fois puissante et abordable.
L’auteur accompagne le lecteur des notions fondamentales jusqu’à des projets avancés. Après le clignotement et la variation de luminosité des LED, le livre aborde l’ADC et le PWM pour une connexion précise des capteurs et des effets lumineux commandés par PWM, avant de passer à des applications pratiques et concrètes, notamment :
Une station météo Wi-Fi avec écran OLED et données météorologiques en ligne en temps réel
Un assistant de stationnement à ultrasons avec retour sonore
Une sonde de surveillance pour réfrigérateur avec capteurs climatiques et mode Deep Sleep pour plusieurs années d’autonomie sur batterie
Un jeu Pong rétro commandé sans contact à l’aide d’un capteur
Une application festive basée sur un microphone qui réagit aux applaudissements
Et bien plus encore : commande d’éclairage, mesure du temps de réaction, analyse de la fréquence du secteur, mesure de l’humidité du sol, éclairage LED d’ambiance et afficheurs 7 segments
Seeed Studio XIAO ESP32C3
Le Seeed Studio XIAO ESP32C3 est équipé d’une puce ESP32-C3 hautement intégrée, basée sur un processeur RISC-V 32 bits doté d’un pipeline à quatre étages et fonctionnant jusqu’à 160 MHz.
La carte intègre un SoC ESP32-C3 hautement intégré. La puce dispose d’un sous-système Wi-Fi 2,4 GHz complet prenant en charge le mode Station, le mode SoftAP, le mode SoftAP & Station ainsi que le mode promiscuous pour diverses applications Wi-Fi. Elle fonctionne également avec une très faible consommation d’énergie et prend en charge Bluetooth 5 ainsi que Bluetooth Mesh. Avec 400 KB de SRAM et 4 MB de mémoire Flash, la puce offre suffisamment d’espace pour la programmation et de nombreuses possibilités pour les applications de contrôle IoT.
Applications
Internet des objets (IoT)
Objets connectés portables
Surveillance de la santé
Éducation
Réseaux basse consommation
Prototypage rapide
Spécifications
Processor
ESP32-C3 SoC
RISC-V single-core 32-bit chip processor with a four-stage pipeline that operates at up to 160 MHz
Wireless
Complete 2.4GHz Wi-Fi subsystem
Bluetooth Low Energy 5.0/ Bluetooth Mesh
On-chip Memory
400 KB SRAM & 4 MB Flash
Interface
1x UART, 1x I²C, 1x SPI, 11x GPIO (PWM), 4x ADC
1x Reset button, 1x Boot button
Power (Typ.)
Max 3.3 V Output Current: 500 mA Test Condition: BAT Pin Input @ 3.8 V Source Capability: 3 A
Charging current: 380 mA(Fast) / 40 mA(Trickle)
Input voltage (VIN): 5 VInput voltage (BAT): 3.7 V
Deep Sleep Power Consumption
Deep Sleep Mode: 44 μA
Wi-Fi Enabled Power Consumption
Active Mode: 75 mA
Modem-sleep Mode: 25 mA
Light-sleep Mode: 4 mA
BLE Enabled Power Consumption
Modem-sleep Mode: 27 mA
Light-sleep Mode: 10 mA
Dimensions
21 x 17.8 mm
Inclus
1x Seeed Studio XIAO ESP32C3
1x Sntenne
2x Connecteurs à 7 broches
Téléchargements
Wiki
Datasheet
Cette offre groupée contient :
Buch: Build Smart Projects with the XIAO ESP32-C3 Board (d'une valeur de : 35 €)
Board: Seeed Studio XIAO ESP32C3 (d'une valeur de : 10 €)
Ce livre vous emmène dans une visite éclair du développement d'applications Web full-stack à l'aide de Raspberry Pi. Vous apprendrez à créer une application à partir de zéro.
Vous acquerrez de l'expérience et des connaissances sur les technologies, notamment :
Le système d'exploitation Linux et la ligne de commande.
Le langage de programmation Python.
Les broches d'entrée-sortie à usage général (GPIO) du Raspberry Pi.
Le serveur Web Nginx.
Micro-framework Flask Python pour les applications Web.
JQuery et CSS pour créer des interfaces utilisateur.
Gérer les fuseaux horaires.
Création de graphiques avec Plotly et Google Charts.
Enregistrement des données avec Google Sheet.
Développement d'applets avec IFTTT.
Sécuriser votre application avec SSL.
Recevez des messages texte sur votre téléphone avec Twilio.
Ce livre vous apprend également comment configurer à distance un nœud de capteur Arduino sans fil et en collecter des données. Votre application Web Raspberry Pi sera capable de traiter les données du nœud Arduino de la même manière qu'elle traite les données de son capteur intégré.
Raspberry Pi Full Stack vous enseigne de nombreuses compétences essentielles à la création d'applications Web et Internet des objets.
L'application que vous construirez dans ce projet est une plate-forme sur laquelle vous pourrez vous développer. Ce n'est que le début de ce que vous pouvez faire avec un Raspberry Pi et les composants logiciels et matériels que vous apprendrez.
Ce livre est soutenu par l'auteur à travers un espace de discussion dédié.