For Raspberry Pi, ESP32 and nRF52 with Python, Arduino and Zephyr
Bluetooth Low Energy (BLE) radio chips are ubiquitous from Raspberry Pi to light bulbs. BLE is an elaborate technology with a comprehensive specification, but the basics are quite accessible.
A progressive and systematic approach will lead you far in mastering this wireless communication technique, which is essential for working in low power scenarios.
In this book, you’ll learn how to:
Discover BLE devices in the neighborhood by listening to their advertisements.
Create your own BLE devices advertising data.
Connect to BLE devices such as heart rate monitors and proximity reporters.
Create secure connections to BLE devices with encryption and authentication.
Understand BLE service and profile specifications and implement them.
Reverse engineer a BLE device with a proprietary implementation and control it with your own software.
Make your BLE devices use as little power as possible.
This book shows you the ropes of BLE programming with Python and the Bleak library on a Raspberry Pi or PC, with C++ and NimBLE-Arduino on Espressif’s ESP32 development boards, and with C on one of the development boards supported by the Zephyr real-time operating system, such as Nordic Semiconductor's nRF52 boards.
Starting with a very little amount of theory, you’ll develop code right from the beginning. After you’ve completed this book, you’ll know enough to create your own BLE applications.
This book is all about building your own DIY home control system. It presents two innovative ways to assemble such a system: By recycling old PC hardware – possibly extending the life of an old PC, or by using Raspberry Pi. In both cases, the main system outlined in this book will consist of a computer platform, a wireless mains outlet, a controller and a USB webcam – All linked together by Linux.
By using the Raspberry Pi in conjunction with Arduino (used as an advanced I/O system board), it is possible to construct a small, compact, embedded control system offering enhanced capacity for USB integration, webcams, thermal monitoring and communication with the outside world.
The experience required to undertake the projects within this book are minimal exposure to PC hardware and software, the ability to surf the internet, burn a CD-ROM and assemble a small PCB.
KI in der Praxis
Tauchen Sie ein in die faszinierende Welt der Robotik und Automatisierung!
Dieses Elektor Special zeigt, wie Sie mit Kreativität, etwas Know-how und günstiger Technik eigene Roboter bauen können. Vom ersten DIY-Projekt mit Arduino oder Raspberry Pi bis hin zu intelligenten Systemen mit KI – dieses Heft macht moderne Robotik verständlich und greifbar.
Entdecken Sie praxisnahe Anleitungen, inspirierende Projekte und spannende Einblicke in die Maker-Szene. Lernen Sie, wie aus Experimentierfreude, Gemeinschaft und Offenheit echte Innovation entsteht – und warum Robotik weit mehr ist als nur ein technisches Hobby.
Inhalt
Phantasie wird Realität
Arduino-controlled Drawing Robot
GalaxyRVR Mars Rover Kit for Arduino
YDLIDAR X4Pro Lidar
xHuskyLens AI Camera
DOF Robot Arm mit Raspberry Pi Pico
Fertigungsroboter mit Fischertechnik
Pneumatischer Industrieroboter
Warum bauen wir immer wieder Roboterhunde?
Elektor Mini-Wheelie
Roboterfahrzeuge und autonomes Fahren
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.
3K5 Noteworthy Designs (1975-2026)
This USB archive stick contains over 3,500 noteworthy circuits from all areas of electronics (audio & video, hobby & modelling, home & garden, test & measurement, computers & microcontrollers, radio, power supplies & batteries) published in Elektor Magazine since 1975. Most circuits are sourced from the Elektor Summer Circuits editions.
You can use the article search function to find specific content in the full text. The results are always shown as preformatted PDF documents. Adobe Reader may be used to browse articles as well as find individual words and expressions using the program’s integrated Search functions.
Please note that no Summer Circuits editions were published between 2014 and 2022, so these years are not included in the directory.
Specifications
Storage
16 GB
Connectors
1x USB-A1x USB-C
Vos premiers pas avec l?ESP32-C3 et l?IdOBouton Wi-Fi + relais Wi-Fi
Cloud IdO à la sauce Arduino
Détecteur Geiger-Müller à double tube (extension pour Arduino)Capteur très sensible pour très faible rayonnement
Détecteur de CO2 : CO2 GuardUne solution « maison » pour surveiller la qualité de l'air
Kit de mesure de la qualité de l?air pour Raspberry Pi de MonkMakesMesure de température et de CO2e
Démarrer en électronique... (13)Entrée en scène de la diode
Trucs et astuces pour tester les composantsSans appareils de test coûteux
Réduction de la consommation d?énergie de votre repousse-taupesGrâce au remplacement du 555 par un ATtiny13
Interrupteur crépusculaire DeLuxUne solution pour une commutation de haute précision, commandée par la lumière
Les défis de la commercialisation des solutions IdOProblématiques de sécurité, d'évolutivité et de concurrence
Elektor infographieIoT : le nouveau Graal ?
« Je préfère quand même être en filaire »Conseils pour développer une interface 1 Gbit/s dans un environnement industriel
La détection d?objets en temps réel pour les microcontrôleurs grâce à Edge Impulse FOMO
Tubes à ondes progressivesPeculiar Parts, the Series
NB-IoTNormes, couvertures, conventions et modules
Passerelle intérieure Dragino LPS8Configuration rapide de la passerelle LoRaWAN
Explorer les microcontrôleurs ATtiny en utilisant le langage C et le langage assembleurExtrait : Ports d?E/S d?ATtiny
Électronique interactive : projet 2.0Corrections, mises à jour et courriers des lecteurs
Mise à jour de la balise GPS LoRaRecevoir et afficher la localisation à l?aide d?un Raspberry Pi
Simulation de circuits avec TINA Design Suite & TINACloudExtrait : oscillateurs sinusoïdaux
Sur le vifFaçon de pincer
Infrastructure graphique WinUI pour les applications WindowsApplication de démonstration
Création d?interfaces graphiques en Python avec guizeroLa pire des interfaces
Systèmes solaires autonomesProduction d?électricité indépendante du réseau
10 ans avec le même smartphone ?Et si c?était possible !
Hexadoku
Measuring Does Not Have to be Expensive
Low-Cost Audio TesterUsing PC-Based Software and a USB Audio Interface
AC Grid Frequency MeterMonitor Mains Frequency and Voltage
A Modest Inductance MeterAn Affordable Solution for Your Workbench
Acoustic Wave HoveringA Look at the Makerfabs Acoustic Levitation Kit
Starting Out in ElectronicsRectifiers E-FFWD: Looking Ahead Again!
Get Started With Your OscilloscopeFind Your Way Through the Knobs and Buttons
Raspberry Pi Pico Makes an MSF-SDRDecode a Time Signal with a Pi Pico SDR
Moisture Sensors for Watering SystemsAutomatic Watering
Disruption in Test and Measurement EquipmentInnovation from the Smaller Players Infographics 7-8/2022
Inspiration, That’s What It’s All AboutInterview with Entrepreneur Walter Arkesteijn, InnoFaith Beauty Sciences Minimizing EMC Interference from Storage Chokes
GUIs with Python (Part 5)Tic-Tac-Toe
Reed RelaysPeculiar Parts, the series Simple Analog ESR Meter With Moving-Coil Meter Precision
Sigfox CO2 Traffic LightNo Wi-Fi Network Needed!
Women in Tech“It's All About Merit Until Merit Has Tits”
Low-Budget Tablet Oscilloscope ADS1013DGood Value for Money?
Smart Plug TeardownWhich Ones Are Hacker-Friendly?
Skin Impedance and Skin CapacitanceSmall Experiments
From Life’s ExperienceNo Local Business
Pokit Meter ReviewA Swiss army knife of test gear
HexadokuThe Original Elektorized Sudoku
Home Information SystemUsing Windows on a Raspberry Pi
Starting with Node-REDAn open-source visual block-based programming tool
Elektor Summer GiveAway
Simple Function Generator: With Reverse-Order Signal Creation
GreatScott! Builds a LoRa Alarm System
Review: Joy-iT RD6006 Benchtop Power Supply Kit
Review: The GreatFET One Interface Board
Small Circuits Revival – XXLEscaped from the Suggestions Box
Poorest Man's External 2.4 GHz Wi-Fi Antenna
Simple On-Off Temperature Controller with Raspberry Pi HAT
How to Take (Successful) Photos of ElectronicsShowing your projects in their best light
Review: The I2CDriver Tool
Review: JOY-iT Joy-View Portable Touchscreen
LED Booster for MicrocontrollersWith just one component
Experimental Ultrasonic Clothes Washer
Review: The Joy-iT JDS2915 Signal GeneratorA 2-Channel Signal Generator and Frequency Counter
Traffic Lights Programmed in PIC Assembly Code
E-E-E-ternal Blinker
Experimental Hall Sensor
Tracing Shorts with the Milli-Ohm or ESR Meter
Review: Elektor SDR Hands-on Kit
Elektor Labs Pipeline
Elektor KickstarterWell, you get the idea.
Do You Really Need All That Stuff???This is where I spend many hours working on electronics projects
Homelab Tours: The Kinetic Clock MakerStargate jigsawed!
Hello, World! We’re Elektor, and We’re Social
M4 + 2x A7 + GPU: An Unbalanced Dream TeamLatest STM32MP1-SoCs can tackle demanding applications
Test Rig for 16F18877 & Similar Big PICs
Inter-Microcontroller Traffic with the SPI Bus and ATmega328p
Six Shades of LF/AF OSC (and the Miller’s Tale)
BBC micro:bit Absolute Minimalist Oscilloscope with LED Display
‘Knight Rider’ LED Chaser with the ESP32
LW/MW AM Signal Generator with ATtiny13
Absolute Minimalist Dip Meter
Photovoltaic Regulator UpdateNew function for measuring battery temperature
Wireless SignallingTransmitting switching signals over LPR
Ultrasonic Reverse Parking Aid with Arduino Uno
Distortion Pedal with Op Amp and Space Charge Tubes
Electronics Workspace Essentials
Hexadoku
Artificial Intelligence for Beginners (2)Neural networks with Linux and Python
AI in Practice
Dive into the fascinating world of robotics and automation!
This Elektor Special shows you how to build your own robots with creativity, a little know-how, and affordable technology. From your first DIY project with Arduino or Raspberry Pi to intelligent systems with AI – this issue makes modern robotics understandable and accessible.
Discover practical instructions, inspiring projects, and exciting insights into the maker scene. Learn how experimentation, community, and openness give rise to true innovation – and why robotics is so much more than just a technical hobby.
Contents
Imagination turns into reality
Arduino-controlled Drawing Robot
GalaxyRVR Mars Rover Kit for Arduino
YDLIDAR X4Pro Lidar
xHuskyLens AI Camera
DOF Robot Arm with Raspberry Pi Pico
Manufacturing Robots with Fischertechnik
Pneumatic Industrial Robot
Why Do We Keep Building Robot Dogs?
Elektor Mini-Wheelie
Robot Vehicles and Autonomous Driving
This book is about the Raspberry Pi 3 computer and its use in various control and monitoring applications. The book explains in simple terms and with tested and working example projects, how to configure the Raspberry Pi 3 computer, how to install and use the Linux operating system, and how to write hardware based applications programs using the Python programming language.
The nice feature of this book is that it covers many Raspberry Pi 3 based hardware projects using the latest hardware modules such as the Sense HAT, Swiss Pi, MotoPi, Camera module, and many other state of the art analog and digital sensors. An important feature of the Raspberry Pi 3 is that it contains on-board Bluetooth and Wi-Fi modules. Example projects are given in the book on using the Wi-Fi and the Bluetooth modules to show how real-data can be sent to the Cloud using the Wi-Fi module, and also how to communicate with an Android based mobile phone using the Bluetooth module.
The book is ideal for self-study, and is intended for electronic/electrical engineering students, practising engineers, research students, and for hobbyists. It is recommended that the book should be followed in the given Chapter order.
Over 30 projects are given in the book. All the projects in the book are based on the Python programming language and they have been fully tested. Full program listings of every project are given in the book with comments and full descriptions. Experienced programmers should find it easy to modify and update the programs to suit their needs.
The following sub-headings are given for each project to make it as easy as possible for the readers to follow the projects:
Project title
Description
Aim of the project
Raspberry Pi type
Block diagram
Circuit diagram
Program listing
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.
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.