Get Cracking with the Arduino Nano V3, Nano Every, and Nano 33 IoT
The seven chapters in this book serve as the first step for novices and microcontroller enthusiasts wishing to make a head start in Arduino programming. The first chapter introduces the Arduino platform, ecosystem, and existing varieties of Arduino Nano boards. It also teaches how to install various tools needed to get started with Arduino Programming. The second chapter kicks off with electronic circuit building and programming around your Arduino. The third chapter explores various buses and analog inputs. In the fourth chapter, you get acquainted with the concept of pulse width modulation (PWM) and working with unipolar stepper motors.
In the fifth chapter, you are sure to learn about creating beautiful graphics and basic but useful animation with the aid of an external display. The sixth chapter introduces the readers to the concept of I/O devices such as sensors and the piezo buzzer, exploring their methods of interfacing and programming with the Arduino Nano. The last chapter explores another member of Arduino Nano family, Arduino Nano 33 IoT with its highly interesting capabilities. This chapter employs and deepens many concepts learned from previous chapters to create interesting applications for the vast world of the Internet of Things.
The entire book follows a step-by-step approach to explain concepts and the operation of things. Each concept is invariably followed by a to-the-point circuit diagram and code examples. Next come detailed explanations of the syntax and the logic used. By closely following the concepts, you will become comfortable with circuit building, Arduino programming, the workings of the code examples, and the circuit diagrams presented. The book also has plenty of references to external resources wherever needed.
An archive file (.zip) comprising the software examples and Fritzing-style circuit diagrams discussed in the book may be downloaded free of charge below.
Elektor GREEN and GOLD members can download their digital edition here.
Not a member yet? Click here.
MultiRF Dev BoardA Platform for Evaluating Short- and Long-Range Wireless Protocols
Elektor at 65Disrupting Electronics Since 1961
Wi-Fi-Based Person Detection on an ESP32When Your Router Becomes a Motion Sensor
Wireless ScalesFour Small Scales = One Big Scale
Walter, the Compact IoT ModuleESP32-S3 SoC, LTE-M/NB-IoT 5G Modem, and GNSS Receiver
3- and 4-Wire RTD Sensors ConditioningWith Full-Scale Adjustment and Cable Compensation
3-in-1 2-Channel Oscilloscope/Generator/MultimeterA Review of The Fnirsi 2D15P
electronica Fast Forward 2026 Invites Startups and Industry Partners
EcologgingA Modular Environmental IoT Station for Field Research
Wireless Connectivity in Medical ApplicationsAlways on the Pulse with Bluetooth LE
AudiotronicsHum Reduction
Increasing Agricultural Efficiency with AI Modeling and SensorsBoosting Agricultural Productivity
OPC UA — An OverviewPlatform-Independent Data Exchange
Redox Meter
Instrumentation Amplifier for Physics and Engineering Experiments
Active Differential Audio FiltersFor Professional Crossovers and More
Elektor Community Perspectives on IoT & Sensors
Telegram-Controlled Water Heater Interface ModuleA Solution Based on an ESP32 and Arduino Software
2026: An AI OdysseyWhatever Happened to Fuzzy Logic?
Err-lectronics
Alarm Signal Injector Plus PowerTools for Finding Broken Wires
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
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.
Cool Projects for Test, Measurement, and Control
The Raspberry Pi has dominated the maker scene for many years. Freely accessible I/O pins have made it one of the most popular processor boards of all time. However, the classic Raspberry Pi has no analog inputs. Direct measurement of analog values is therefore not possible. Consequently, photodiodes, NTCs, Hall sensors, etc. cannot be read directly. In addition, the pins are connected directly to the exposed contacts, i.e. without a driver or protection circuit. This can quickly destroy the central controller and thus the entire Raspberry Pi.
These problems can be elegantly solved with the Pico. As a front-end, it can easily handle a wide range of measurement tasks. In addition, the Pico is much cheaper than a classic Raspberry Pi 4 or 5. If a faulty circuit leads to the destruction of the Pico, this is relatively easy to handle. This makes the combination of a classic Raspberry Pi 4 or 5 and the Pico an ideal pair.
The book introduces the broad and highly topical field of modern controller technology using the combined force of a Raspberry Pi 4 or 5 and a Raspberry Pi Pico. In addition to a detailed introduction to the operation and functionality of the controller boards themselves, the book also focuses on data acquisition and processing with digital processors. Especially the combination of both systems offers a wide range of interesting possibilities.
Some practical projects from the contents:
USB between Raspberry Pi 4 or 5 and Pico
I²C Communication and Pico as an I²C device
Voltmeter and Computer Thermometer
Pico W as a Web Server and WLAN Scanner
Frequency Meters and Generators
OLED Displays on Raspberry Pi 4 or 5 and Pico
Energy Saving Monitor
Which Astronauts are in Orbit?
Mini Monitor for Current Bitcoin Exchange Rate
Praktischer Einstieg mit Arduino, GnuRadio und FPGA
Das Thema „Software Defined Radio“ ist facettenreich: Neben der Schaltungstechnik ist auch eine Einarbeitung in die Programmierung von Hardware und PC wichtig. Ein schrittweises Vorgehen erleichtert Ihnen den Einstieg. Mit dem im Buch vorgestellten modularen „RF Bricks“-Konzept werden Sie zum Architekten Ihrer Signalkette. Auf einem Chassis angeordnet gewährleisten die Module einen soliden und gut abgeschirmten Aufbau, den Sie einfach verändern und mit eigenen Ideen anreichern können.
Der skalierbare Aufbau bildet Ihr Blockschaltbild auch mechanisch ab – die so gewonnene Übersicht kann in der Aus- und Weiterbildung nützlich sein. Ein Arduino in Ihrem Chassis kommuniziert nach einigen Anpassungen mit üblichen SDR-Programmen, z. B. SDRCPP, GQRX und CubicSDR auf einer Linux-Plattform. Damit können Sie Ihren Empfänger direkt per Mausklick abstimmen.
Wenn Sie Blockschaltbilder mögen, ist GnuRadio ein natürlicher Partner der „RF Bricks“. Mit einem selbst programmierten Python-Block gelingt Ihnen in GnuRadio die Fernsteuerung Ihres Empfängers. Im GnuRadio-Universum können Sie Ihre GUI stufenweise ausbauen, behalten dabei aber immer volle Kontrolle über die inneren Abläufe des Programms.
Mit einem FPGA können zeitaufwändige Operationen auch direkt in die Hardware verlagert werden. Sie bauen stufenweise einen Doppelsuperhet auf und entwickeln die Filterkoeffizienten für FIR-Filter mit Scilab. Das in VHDL realisierte Weaver-Schema rundet diesen Empfänger ab, der mit hoher Empfindlichkeit und Dynamik aufwarten kann.
Mit dem gewonnen Überblick und Ihrer neuen Hardware können Sie die einzelnen Aspekte des Themenkomplexes SDR beliebig weiter vertiefen.
Downloads
Software
A Fast-Lane Ride From Concept to Project
The core of the book explains the use of the Raspberry Pi Zero 2 W running the Python programming language, always in simple terms and backed by many tested and working example projects. On part of the reader, familiarity with the Python programming language and some experience with one of the Raspberry Pi computers will prove helpful. Although previous electronics experience is not required, some knowledge of basic electronics is beneficial, especially when venturing out to modify the projects for your own applications.
Over 30 tested and working hardware-based projects are given in the book, covering the use of Wi-Fi, communication with smartphones and with a Raspberry Pi Pico W computer. Additionally, there are Bluetooth projects including elementary communication with smartphones and with the popular Arduino Uno. Both Wi-Fi and Bluetooth are key features of the Raspberry Pi Zero 2 W.
Some of the topics covered in the book are:
Raspberry Pi OS installation on an SD card
Python program creation and execution on the Raspberry Pi Zero 2 W
Software-only examples of Python running on the Raspberry Pi Zero 2 W
Hardware-based projects including LCD and Sense HAT interfacing
UDP and TCP Wi-Fi based projects for smartphone communication
UDP-based project for Raspberry Pi Pico W communication
Flask-based webserver project
Cloud storage of captured temperature, humidity, and pressure data
TFT projects
Node-RED projects
Interfacing to Alexa
MQTT projects
Bluetooth-based projects for smartphone and Arduino Uno communications
Diese Ausgabe steht allen GOLD- und GREEN-Mitgliedern auf der ElektorMagazine-Website zum Download bereit!
Sie sind noch kein Mitglied? Hier klicken!
electronica Fast Forward Start- & Scale-Up AwardsDie Vorbereitungen laufen auf Hochtouren!
Bluetooth Low Energy mit dem ESP32-C3 und ESP32Es muss nicht immer WLAN sein!
Bluetooth-LE-SnifferMit dem makerdiary nRF52840 MDK USB-Dongle
Magischer RGB-LED-WürfelHardware-Design rund um einen RP2040
Automatischer Ein/Ausschalter für Lötpastenkompressor
Elektor - live und in FarbeLivestreams, Webinare und Kurse für Ingenieure und Maker
Fahrrad elektrifizierenE-Bike-Nachrüstkit in der Praxis
Aller Anfang ...Muss nicht schwer sein: Multiplikation von Spannungen
Aus dem Leben gegriffenNebenbeschäftigungen
Teensy 4.0 - warum ist das Board so schnell?Oder: Geschwindigkeit ist keine Hexerei!
Simulation von Audio-Leistungsverstärkern mit TINADer „Try-Before-You-Build“-Ansatz
LoRaWAN-Knoten im IoTEin Beispiel-Kapitel: Die LoRaWAN-Module Dragino LHT65, LDS01 und LDS02
Projekt 2.0Korrekturen, Updates und Leserbriefe
5G für mich alleinVollständige Kontrolle über 5G-Implementierungen in privaten Mobilfunknetzen
Infographics 7-8/2022
Wie lernt mein Gerät funken?Applikationen mit WiFi-Schnittstellen ausrüsten
Rheinturmuhr – Wecker de luxe
Audio-Spektrum-Analysator mit DekatronsEine neue Art, alte Röhren zu verwenden
Senden von Daten an TelegramEin ESP32 und ein paar Bauteile erledigen den Job32 and a Few Parts
Fliege-Bandsperre für Audio-MessungenBesseres Messen durch Notch-Filterung
CO2-Messgerät auseinandergenommenIst das Gerät hackbar für Ihre Projekte?
Spielereien mit PUTsAnaloge Entwürfe mit dem Programmierbaren Unijunction-Transistor
Ein runder Touchscreen für den Raspberry PiHyperPixel 2.1 Round von Pimoroni
Fernwirken und die Erkennung von Verbindungsverlustenmit Hilfe von nRF24L01+ Modulen
Digitaler UKW-EmpfängerMit Arduino Nano und TEA5767
OLED-Display - aus SPI mach I²C
Zutritt für Unbefugte verboten!Ein Hobby geht nicht in Rente!
Ein Jahrzehnt der Ethik in der ElektronikTessel Renzenbrink sinniert über die digitale Gesellschaft
HexadokuSudoku für Elektroniker
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
Mehr als 50 Grundlagenprojekte mit MicroPython und dem RP2040-Mikrocontroller
Der Raspberry Pi Pico ist eine leistungsstarke Mikrocontroller-Platine, die speziell für das Physical Computing – also hardwarenahe Anwendungen – entwickelt wurde. Der Raspberry Pi Pico kann so programmiert werden, dass er eine einzelne Aufgabe sehr effizient ausführt und ermöglicht so schnelle Steuerungs- und Überwachungsanwendungen in Echtzeit. Der 'Pico', wie wir ihn nennen, basiert auf dem schnellen, effizienten und kostengünstigen Dual-Core ARM Cortex-M0+ RP2040 Mikrocontroller-Chip, der mit bis zu 133 MHz läuft und über 264 KB SRAM und 2 MB Flash-Speicher verfügt. Neben dem großen Speicher hat der Pico noch weitere attraktive Eigenschaften, darunter eine große Anzahl von GPIO-Pins sowie gängige Schnittstellen wie ADC, SPI, I²C, UART und PWM. Als Krönung bietet der Chip schnelle und genaue Timer, eine Hardware-Debug-Schnittstelle und einen internen Temperatursensor.
Zur Programmierung lassen sich leicht die gängigen Hochsprachen wie MicroPython oder C/C++ verwenden. Dieses Buch ist eine Einführung in die Verwendung des Pico mit der Programmiersprache MicroPython. In allen Projekten wird die Thonny-Entwicklungsumgebung (IDE) eingesetzt. Über 50 Projekte decken folgende Themen ab:
Installation von MicroPython auf dem Raspberry Pi Pico
Timer-Interrupts und externe Interrupts
Projekte mit Analog-Digital-Wandler (ADC)
Verwendung des internen sowie externer Temperatursensoren
Datenlogger
Projekte zur PWM, UART, I²C-Bus und SPI-Bus
Wi-Fi und Bluetooth für die Kommunikation mit Smartphones
Projekte mit dem Digital-Analog-Wandler (DAC)
Alle in diesem Buch vorgestellten Projekte wurden vollständig getestet und sind funktionsfähig. Es werden keine Programmier- oder Elektronikkenntnisse vorausgesetzt, um sie nachzuvollziehen. Für alle beschriebenen Projekte gibt es kurze Beschreibungen, Blockdiagramme, detaillierte Schaltpläne und vollständige MicroPython-Programmlistings. Die Listings sind auch auf der zum Buch gehörenden Elektor-Webseite zu finden.
De OWON SDS1102 is een betaalbare benchtop digitale oscilloscoop die solide prestaties combineert met essentiële meetfuncties. Deze 2-kanaals oscilloscoop biedt een bandbreedte van 100 MHz, een sample rate van 1 GS/s, een 7-inch LCD-display en een geheugendiepte van 10 kpts. Daarmee is het een praktische keuze voor dagelijkse elektronicatests, foutopsporing en onderwijs.
De SDS1102 beschikt over een vereenvoudigd triggersysteem met niveau- en flanktriggering, waardoor gangbare signalen eenvoudig kunnen worden vastgelegd en geanalyseerd. Het apparaat is ontworpen voor toepassingen waarvoor geen grote geheugendiepte of geavanceerde triggerfuncties nodig zijn, en biedt een eenvoudige en kostenefficiënte oplossing voor basis-signaalanalyse.
Kenmerken
Bandbreedte: 100 MHz
2 kanalen
Bemonsteringssnelheid: 1 GS/s
Ultradunne behuizing
7-inch lcd met hoge resolutie
Ondersteuning voor SCPI en LabVIEW
Specificaties
Bandbreedte
100 MHz
Horizontale schaal (s/div)
5 ns/div - 1000 s/div
Kanalen
2
Verticale gevoeligheid
5 mV/div - 5 V/div (bij ingang)
DC Gain nauwkeurigheid
3%
Verticale resolutie (A/D)
8 bits (2 kanalen tegelijk)
Ingang
Ingangsimpedantie
1 MΩ, 10 pF
Ingangskoppeling
AC, DC, GND
Max ingangsspanning
± 400 V, CATI, CATII
Passieve probes
x1; 10
Probe verzwakkingsfactor
x1; x10; x100; x1000
Triggersysteem
Trigger mode
Auto, Normal, Single
Trigger type
Flank, Video
Flank triggerbron
CH1, CH2
Video trigger
Sampletype
Real-time
Samplefrequentie
1 GS/s
Equivalente samplesnelheid
No
Golflengte
10K pts
Interpolatie
sin(x)/x
Meet- en rekenkundig bewerkingssysteem
Automatische meting
Vpp, Vavg, RMS, Frequency, Period, Vmax, Vmin, Vtop, Vbase, Width, Overshoot, Pre-shoot Rise time, Fall time, +Width, -Width, +Duty, -Duty, Delay A->B, Delay A->B, area, cycle area
Rekenkundige functies
Addition, Subtraction, Multiplication, Division, FFT
Algemene kenmerken
Display maat
7" color LCD
Display resolutie
800 x 480
Voeding
100-240 V, 45-440 Hz, <15 W
Afmetingen
301 x 70 x 152 mm
Gewicht
1,1 kg
Inbegrepen
1x OWON SDS1102 Oscilloscoop
2x Oscilloscoopsonde
1x Sonde aanpassen
1x Netsnoer
1x USB-kabel
1x CD-Rom
1x Snelstartgids
Downloads
Quick Guide
Manual
PC Software
SCPI Commands
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.