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
Bauen Sie Ihre perfekte Wetterstation oder forschen Sie zusammen mit der ganzen Welt an Umweltdaten. Mit vielen praktischen Projekten für Arduino, Raspberry Pi, NodeMCU, ESP32 und weiteren Developmentboards.
Wetterstationen erfreuen sich seit Jahrzehnten großer Beliebtheit. Ob in aktuellen oder längst eingestellten Elektronik-Magazinen – regelmäßig finden sich Beiträge zum Eigenbau einer Wetterstation. Im Laufe der Jahre wurden diese Systeme immer ausgefeilter und können heute nahtlos in das Smart Home integriert werden. Allerdings erfordert dies oft die Bindung an einen (teuren) Markenhersteller, der sämtliche Komponenten abdeckt.
Mit Ihrer eigenen Wetterstation können Sie jedoch mühelos mithalten – und sogar Messwerte erfassen, die kommerzielle Geräte nicht bieten. Dabei kommt der Spaß nicht zu kurz: Sie erweitern spielerisch Ihr Wissen über Elektronik, moderne Mikrocontroller-Developmentboards und Programmiersprachen. Schon für weniger als zehn Euro können Sie erste Umweltdaten erfassen und Ihr System Schritt für Schritt mit wachsendem Interesse weiter ausbauen.
Aus dem Inhalt:
Wind und Wetter auf der Spur
Wetterdisplay mit OpenWeatherMap und Vakuum-Fluoreszenzanzeige
Flüchtige organische Verbindungen in der Atemluft
Mit MQ-Sensoren arbeiten: Kohlenmonoxid messen – geruchlos aber extrem giftig
CO2-Ampel mit ThingSpeak-IoT-Anbindung
Ein Gießautomat für Ihre Pflanzen
Gutes Raumklima: Temperatur und Luftfeuchtigkeit sind wichtige Kriterien
Schickes Thermometer mit alter Röhrentechnik
Nostalgisches Wetterhäuschen für die ganze Familie
Luftdruck und Temperatur genau messen
Sonnenbrand-Warngerät
DIY-Sensor für die Sonnenscheindauer
Das Smartphone zeigt’s an: Nebel oder klare Sicht?
Erdbeben erkennen
Pegelstände von Gewässern und Behältern
pH-Wert von Gewässern bestimmen
Radioaktive Strahlung erkennen
Mit GPS wissen Sie weltweit, wo ihr Sensor ist
Logdateien mit Zeitstempel auf SD-Karten speichern
LoRaWAN, The Things Network und ThingSpeak
LoRaWAN-Gateway für TTN betreiben
Mega-Display mit Wettervorhersage
Physical Computing met het Arduino-platform
Dit leerboek over het Arduino-platform is uniek en brengt u stap voor stap van beginner tot gevorderde Arduino-gebruiker. Er wordt duidelijk in uitgelegd waarom en waardoor toepassingen werken, ondersteund door gedetailleerde afbeeldingen in kleur. Er is slechts een geringe elektronische basiskennis vereist, omdat de benodigde hardware uitgebreid wordt besproken. Het laatste gedeelte van dit boek bevat een degelijke theoretische verdieping, zodat u een krachtig naslagwerk achter de hand houdt.
Er bestond in het Nederlands nog geen lesboek over dit platform. De didactische opbouw is zodanig dat de vereiste abstracte kennis wordt uitgelegd aan de hand van toepasbare en actuele praktijkvoorbeelden. De meeste toepassingen zijn gericht op ‘physical computing’, dat is de interactie tussen sensoren, actoren, elektronica en software. Hierdoor is het boek ook geschikt voor technisch beroepsonderwijs, o.a. voor de richting mechatronica.
De opbouw van het boek is als volgt:
Algemene introductie microcontrollers.
Informatie over het Arduino-platform.
Oefeningen met uitleg aan de hand van 21 voorbeelden.
Praktijkvoorbeelden met uitleg aan de hand van 5 voorbeelden.
Theoretische verdieping van de software en hardware.
Praktische elektronicaschema´s.
Alle software-voorbeelden in het boek zijn als download beschikbaar.
With Examples for Arduino UNO, Raspberry Pi Pico and ESP32
Programming small electronic systems has never been more accessible. Tasks that once demanded expensive tools, specialized hardware, and deep electrical engineering expertise can now be tackled with low-cost development boards and approachable software. At the centre of this shift is the Arduino environment, which provides a unified and familiar way to program a wide range of microcontroller platforms—from classic AVR boards like the Arduino UNO to modern ARM-based boards such as the Raspberry Pi Pico, and powerful Wi-Fi-enabled devices like the ESP32.
This book introduces embedded programming through the core idea that defines all microcontrollers: reading inputs, processing information, and controlling outputs in a predictable loop. The Arduino environment abstracts much of the hardware complexity, allowing you to focus on behaviour rather than implementation details. With just a few lines of code, you can blink LEDs, read sensors, control motors, and communicate with other devices.
While the Arduino UNO, Raspberry Pi Pico, and ESP32 boards differ greatly in performance and features, they share the same fundamental building blocks: digital and analog I/O, timers, serial communication, PWM, interrupts, and power management. Learning these concepts within the Arduino framework builds skills that transfer easily across platforms and scale toward more advanced applications.
By exploring multiple boards while maintaining a consistent programming approach, this book helps you progress from simple experiments to confidently produce well-structured designs—showing that embedded development can be both practical and enjoyable.
Based on PIC microcontrollers and Arduino
Every mobile phone includes a GSM/GPRS modem which enables the phone to communicate with the external world. With the help of the GSM modems, users can establish audio conversations and send and receive SMS text messages. In addition, the GPRS modem enables users to connect to the internet and to send and receive large files such as pictures and video over the internet.
This book is aimed for the people who may want to learn how to use the GSM/GPRS modems in microcontroller based projects. Two types of popular microcontroller families are considered in the e-book: PIC microcontrollers, and the Arduino. The highly popular mid-performance PIC18F87J50 microcontroller is used in PIC based projects together with a GSM Click board. In addition, the SIM900 GSM/GPRS shield is used with the Arduino Uno projects. Both GSM and GPRS based projects are included in the e-book.
The book will enable you to control equipment remotely by sending SMS messages from your mobile phone to the microcontroller, send the ambient temperature readings from the microcontroller to a mobile phone as SMS messages, use the GPRS commands to access the internet from a microcontroller, send temperature readings to the cloud using UDP and TCP protocols and so on.
It is assumed that the reader has some basic working knowledge of the C language and the use of microcontrollers in simple projects. Although not necessary, knowledge of at least one member of the PIC microcontroller family and the Arduino Uno will be an advantage. It will also be useful if the user has some knowledge of basic electronics.
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.
Open-Source-Code mit Arduino IDE und PlatformIO
Autonomes Fahren: GPS, Accelerometer, Gyroskop
PS3-Controller
Mikrocontroller wie der Arduino und Einplatinenrechner wie der Raspberry Pi haben sich zu beliebten Komponenten entwickelt. Dritter im Bunde ist der ESP32 der Firma Espressif. Mikrocontroller dieser Baureihe zeichnen sich durch eine Vielzahl implementierter Funktionen aus, die bei einem Arduino konventioneller Prägung mit einem Atmel-AVR-Mikrocontroller erst mit weiterer Hardware möglich sind. Prominentes Beispiel sind hier die WiFi- und Bluetooth-Funktionalitäten. Gegenüber einem Raspberry Pi zeichnen sie sich durch einen deutlich geringeren Preis aus.
Allgemeine Informationen für die Realisierung eines Roboterauto-Projekts mit dem ESP32 sind leicht zu finden. Dabei handelt es sich aber oft nur um Ausführungen zu einem Teilaspekt, ohne inhaltliche oder funktionale Abstimmung. So ist nicht nur die Beschaffung der benötigten Informationen mühselig und zeitaufwändig, sie kann auch außerordentlich fehlerträchtig sein.
Ansatzpunkt dieses Buches ist, diese Lücke zu schließen. Es geht auf verschiedene Möglichkeiten eines Chassis ein, vermittelt nötige Kenntnisse und führt schrittweise von einer einfachen Motorsteuerung zu einem komplexen sensor- und sprachgesteuerten Roboterauto. Hacks rund um GPS und eine PlayStation 3 runden die Sache ab.
Inhalt
Bei der Reihenfolge der Kapitel wurde versucht – beginnend bei der Darstellung von grundlegenden Informationen – über die Lösung einfacher Aufgaben zu etwas anspruchsvolleren Techniken zu führen.
Der Mikrocontroller ESP32
Die Software erstellen
Die Stromversorgung
Rund um die Hardware
Das Chassis
Der Gleichstrommotor
Kabellose Steuerung über WiFi
Mit Sensoren Hindernisse erkennen
Eine eigene Roboterauto-App
Servo und Lichtsensor
GPS
Accelerometer / Gyroskop
PS3-Controller
Roboterauto-App
Hinweis zur Software
Die Dateien haben das Suffix (.cpp). Grund ist die Entwicklung mit PlatformIO. Mit Copy & Paste sollten sie auch in der Arduino-IDE verwendet werden können.
USB-Logikanalysatoren am PC mit Arduino, Raspberry Pi und Co
Schritt-für-Schritt-Anleitungen führen Sie in die Analyse moderner Protokolle von I²C, SPI, UART, RS-232, NeoPixel, WS28xx, HD44780 und 1-Wire ein. Anhand von zahlreichen Experimentierschaltungen mit dem Raspberry Pi Pico, Arduino Uno und dem Bus Pirate üben Sie die praxisnahe Anwendung gängiger USB-Logikanalysatoren ein.
Alle in diesem Buch vorgestellten Experimentierschaltungen wurden vollständig getestet und sind funktionsfähig. Die notwendigen Programmlistings sind enthalten, es sind keine besonderen Programmier- oder Elektronikkenntnisse für diese Schaltungen notwendig. Es werden die Programmiersprachen MicroPython und C mit den Entwicklungsumgebungen Thonny und Arduino IDE eingesetzt.
Dieses Buch verwendet mehrere Modelle flexibler und weit verbreiteter USB-Logikanalysatoren und zeigt die Stärken und Schwächen jeder Preisklasse. Sie werden kennenlernen, welche Kriterien für Ihre Arbeit wichtig sind und in der Lage sein, das für Sie passende Gerät zu finden.
Egal ob Arduino, Raspberry Pi oder Raspberry Pi Pico: Die abgebildeten Beispielschaltungen ermöglichen einen schnellen Start in die Protokollanalyse und können auch als Grundlage für eigene weitere Experimente dienen.
Sie werden alle wichtigen Begriffe und Zusammenhänge kennenlernen, eigene Experimente durchführen, selbstständig Protokolle analysieren und nach der Lektüre dieses Buches – im Bereich der digitalen Signale und Protokolle – ein umfassendes Wissen aufgebaut haben.
Build your textbook weather station or conduct environmental research together with the whole world. With many practical projects for Arduino, Raspberry Pi, NodeMCU, ESP32, and other development boards.
Weather stations have enjoyed great popularity for decades. Every current and even every long discontinued electronics magazine has regularly featured articles on building your own weather station. Over the years, they have become increasingly sophisticated and can now be fully integrated into an automated home — although this often requires loyalty to an (expensive) brand manufacturer across all components.
With your own weather and environmental data, you can keep up and measure things that no commercial station can. It’s also fun: expand your knowledge of electronics, current microcontroller development boards and programming languages in a fun and meaningful way. For less than 10 euros you can get started and record your first environmental data — with time and growing interest, you will continue to expand your system.
In this Edition
Which Microcontroller Fits My Project?
The Right Development Environment
Tracking Wind and Weather
Weather Display with OpenWeatherMap and Vacuum Fluorescent Display
Volatile Organic Compounds in the Air We Breathe
Working with MQ Sensors: Measuring Carbon Monoxide — Odorless but Toxic
CO2 Traffic Light with ThingSpeak IoT Connection
An Automatic Plant Watering System
Good Indoor Climate: Temperature and Humidity are Important criteria
Classy Thermometer with Vintage Tube Technology
Nostalgic Weather House for the Whole Family
Measuring Air Pressure and Temperature Accurately
Sunburn Warning Device
DIY Sensor for Sunshine Duration
Simple Smartphone Says: Fog or Clear View?
Identifying Earthquakes
Liquid Level Measurement for Vessels and Reservoirs
Water pH Value Measurement
Detecting Radioactive Radiation
GPS: Sensor Location Service Across the Globe
Saving and Timestamping Log Files on SD Cards
LoRaWAN, The Things Network, and ThingSpeak
Operating a LoRaWAN Gateway for TTN
Defying "Wind and Weather"
Mega Display with Weather Forecasz
Mit Arduino – Schaltungsprojekte für Profis wird der Leser umfassend in die Hardware und Software der Arduino-Plattform eingeführt. Einfache, leicht verständliche Projekte am Anfang des Buches führen Schritt für Schritt in die Open-Source-Plattform ein. Die Projekte werden dann zunehmend komplexer, um dem Leser möglichst viele konkrete Lösungsmöglichkeiten aufzuzeigen, die mit dem Arduino-Mikrocontroller auch für angehende Profis zur Verfügung stehen.
Dabei wird neben den erforderlichen theoretischen Grundlagen stets größter Wert auf eine praxisorientierte Ausrichtung gelegt. So werden wichtige Techniken wie AD-Wandlung, Timer oder Interrupts stets in Praxisprojekte eingebettet. Es entstehen Lauflichteffekte, ein Aufwachlicht, voll funktionsfähige Voltmeter, präzise Digitalthermometer, Uhren in allen Variationen, Reaktionszeitmesser oder mausgesteuerte Roboterarme. Und ganz nebenbei hat der Leser die Grundlagen der zugehörigen Controller-Technik verstanden und im wahrsten Sinne des Wortes begriffen.
32 new Projects, Practical Examples and Exercises with the Elektor Arduino Nano MCCAB Training Board
Electronics and microcontroller technology offer the opportunity to be creative. This practical microcontroller course provides you with the chance to bring your own Arduino projects and experience such moments of success. Ideally, everything works as you imagined when you switch it on for the first time. In practice, however, things rarely work as expected. At that point, you need knowledge to efficiently search for and find the reason for the malfunction.
In this book for advanced users, we delve deep into the world of microcontrollers and the Arduino IDE to learn new procedures and details, enabling you to successfully tackle and solve even more challenging situations.
With this book, the author gives the reader the necessary tools to create projects independently and also to be able to find errors quickly. Instead of just offering ready-made solutions, he explains the background, the hardware used, and any tools required. He sets tasks in which the reader contributes their own creativity and writes the Arduino sketch themselves.
If you don’t have a good idea and get stuck, there is, of course, a suggested solution for every project and every task, along with the corresponding software, which is commented on and explained in detail in the book.
This practical course will teach you more about the inner workings of the Arduino Nano and its microcontroller. You will get to know hardware modules that you can use to realize new and interesting projects. You will familiarize yourself with software methods such as ‘state machines,’ which can often be used to solve problems more easily and clearly.
The numerous practical projects and exercise sketches are once again realized on the Arduino Nano MCCAB Training Board, which you may already be familiar with from the course book ‘Microcontrollers Hands-on Course for Arduino Starters’, and which contains all the hardware peripherals and operating elements we need for the input/output operations of our sketches.
Readers who do not yet own the Arduino Nano MCCAB Training Board can purchase the required hardware separately, or alternatively, build it on a breadboard.
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.