Datenbankmodelle und -software für Elektronikanwendungen
Mit seiner Energieeffizienz und seinem reichen Spektrum an quelloffener Software eignet sich der Einplatinencomputer Raspberry Pi auch für die Speicherung von Daten und deren grafische Aufbereitung lokal oder im World Wide Web (WWW).
Dieses Buch stellt verschiedene Datenbankmodelle und diverse Datenbanksoftware vor:
SQL: MariaDB, SQLite
InfluxDB: Telegraf
Grafana
MQTT
Verschlüsselung mit RPi
Apache
PHP
Node RED
Docker
Es zeigt darüber hinaus ausgewählte Ansätze, gespeicherte Daten anzuzeigen und zu verwalten. Ein eigener Abschnitt ist sowohl der SSL-Verschlüsselung der Verbindung als auch dem Betrieb von Servern im WWW gewidmet.
Das Buch richtet sich an alle,
die neugierig sind und gerne die Möglichkeiten des Raspberry Pi ausloten möchten,
die einen Einstieg in das Datenmanagement mit Datenbanken suchen,
die mit einfachen Mitteln schnell loslegen möchten,
die Alternativen aufgezeigt bekommen möchten,
die in komprimierter Form Tipps für eigene Entwicklungen suchen,
die Freude am eigenen Entwickeln und Realisieren haben.
Programmierkenntnisse und -erfahrungen sind für die Installation der Software nicht erforderlich. Jeder einzelne Schritt wird detailliert beschrieben und mit Screenshots visuell unterlegt.
Learn to program displays and GUIs with Python
This book is about Raspberry Pi 4 display projects. The book starts by explaining how to install the latest Raspbian operating system on an SD card, and how to configure and use the GPIO ports.
The core of the book explains the following topics in simple terms with fully tested and working example projects:
Simple LED projects
Bar graph LED projects
Matrix LED projects
Bitmap LED projects
LED strips
LCDs
OLED displays
E-paper displays
TFT displays
7-inch touch screen
GUI Programming with Tkinder
One unique feature of this book is that it covers almost all types of display that readers will need to use in their Raspberry Pi based projects. The operation of each project is fully given, including block diagrams, circuit diagrams, and commented full program listings. It is therefore an easy task to convert the given projects to run on other popular platforms, such as Arduino or PIC microcontrollers.
Python program listings of all Raspberry Pi projects developed in this book are available for download at Elektor.com. Readers can use these programs in their projects. Alternatively, they can modify the programs to suit their applications.
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
Robot à équilibrage sur deux roues compatible Arduino et alimenté par ESP32
L'Elektor Mini-Wheelie est une plateforme robotique expérimentale autonome et auto-équilibrée. Basé sur un microcontrôleur ESP32-S3, le robot auto-équilibré est entièrement programmable à l'aide de l'environnement Arduino et de bibliothèques open source. Ses capacités sans fil lui permettent d'être contrôlé à distance via Wi-Fi, Bluetooth ou ESP-NOW ou de communiquer avec un utilisateur ou même un autre robot.
Un transducteur à ultrasons est disponible pour détecter les obstacles. Son écran couleur peut être utilisé pour afficher de jolies expressions faciales ou, pour les utilisateurs les plus terre-à-terre, des messages de débogage énigmatiques.
Le robot est livré en kit complet avec des pièces à assembler soi-même. Tout est inclus, même un tournevis.
Remarque : Le Mini-Wheelie est une plateforme de développement pédagogique destinée à l'apprentissage, à l'expérimentation et au développement de la robotique. Il n'est pas considéré comme un jouet pour enfants, et ses caractéristiques, sa documentation et le public auquel il s'adresse reflètent cet objectif. Le produit est destiné aux étudiants, aux éducateurs et aux développeurs qui souhaitent explorer la robotique, la programmation et l'intégration de matériel dans un cadre éducatif.
Spécifications
Microcontrôleur ESP32-S3 avec Wi-Fi et Bluetooth
MPU6050 unité de mesure inertielle (IMU) à 6 axes
Deux moteurs électriques 12 V à commande indépendante avec tachymètre
Transducteur à ultrasons
Écran couleur TFT 2,9 pouces (320 x 240)
Emplacement pour carte MicroSD
Moniteur de puissance de la batterie
Batterie Li-Po rechargeable 3S (11,1 V/2200 mAh)
Chargeur de batterie inclus
Logiciel Open Source basé sur Arduino
Dimensions (L x L x H) : 23 x 8 x 13 cm
Inclus
1x Carte mère ESP32-S3 + module MPU6050
1x Carte LCD (2,9 pouces)
1x Capteur à ultrasons
1x Batterie (2200 mAh)
1x Chargeur de batterie
1x Kit de pneus moteur
1x Tableau de caisse
1x Tableau acrylique
1x Tournevis
1x Bande de protection
1x Câble flexible B (8 cm)
1x Câble flexible A (12 cm)
1x Câble flexible C
4x Colonnes A en cuivre (25 mm)
4x Colonnes B en cuivre (55 mm)
4x Colonnes C en cuivre (5 mm)
2x Colonnes en plastique et nylon
8x Vis A (10 mm)
24 Vis B (M3x5)
8x Noix
24x Rondelles métalliques
2x Attaches zippées
1x Carte MicroSD (32 Go)
Téléchargements
Documentation
Livre : Logic Analyzers in Practice
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.
Analyseur logique USB (8 voies, 24 MHz)
Cet analyseur logique USB est un analyseur logique à 8 voies avec chaque entrée à double usage pour l'enregistrement de données analogiques. Idéal pour le débogage et l'analyse de signaux tels que I²C, UART, SPI, CAN et 1-Wire. Il fonctionne en échantillonnant une entrée numérique connectée à un dispositif en test (DUT) à une fréquence d'échantillonnage élevée. La connexion au PC se fait via USB.
Spécifications
Voies
8 voies numériques
Fréquence d'échantillonnage maximale
24 MHz
Tension d'entrée maximale
0 V ~ 5 V
Température de fonctionnement
0°C ~ 70°C
Impédance d'entrée
1 MΩ || 10 pF
Protocoles pris en charge
I²C, SPI, UART, CAN, 1-Wire, etc.
Connexion au PC
USB
Dimensions
55 x 28 x 14 mm
Télechargements
Software
Cette offre groupée contient :
Livre 'Logic Analyzers in Practice' (prix normal : 35 €)
Analyseur logique USB (8 voies, 24 MHz) (prix normal : 20 €)
Câble USB
Nappe de fils de liaison
Raspberry Pi 5 fournit deux connecteurs MIPI à quatre voies, chacun pouvant prendre en charge une caméra ou un écran. Ces connecteurs utilisent le même format FPC « mini » à 22 voies au pas de 0,5 mm que le kit de développement de module de calcul et nécessitent des câbles adaptateurs pour se connecter aux connecteurs au format « standard » à 15 voies au pas de 1 mm du Raspbery Pi actuel. produits d'appareil photo et d'affichage. Ces câbles adaptateurs mini vers standard pour caméras et écrans (notez qu'un câble de caméra ne doit pas être utilisé avec un écran, et vice versa) sont disponibles en longueurs de 200 mm, 300 mm et 500 mm.
Pfiffige Projekte zum Messen, Steuern und Regeln
Der Raspberry Pi dominiert seit vielen Jahren die Maker-Szene. Frei verfügbare I/O-Pins machten ihn zu einem der beliebtesten Prozessorboards aller Zeiten. Allerdings verfügt der klassische Raspberry Pi über keinerlei Analogeingänge. Eine direkte Messung analoger Werte ist damit nicht möglich. So können weder Photodioden noch NTCs oder Hallsensoren etc. unmittelbar ausgelesen werden. Zudem sind die Pins direkt, d. h. ohne Treiber oder Schutzschaltung, mit den freiliegenden Kontakten verbunden. Dadurch kann der zentrale Controller und damit der gesamte Raspberry Pi schnell zerstört werden.
Mit dem Pico können diese Probleme elegant gelöst werden. Er kann als sogenanntes „Frontend“ problemlos vielfältige Messaufgaben übernehmen. Zudem ist der Pico deutlich preisgünstiger als ein klassischer Raspberry Pi 4. Falls eine Fehlbeschaltung zur Zerstörung des Pico führt, ist dies vor allem für nicht-professionelle Anwender relativ leicht zu verkraften. Der klassische Raspberry Pi und der Pico werden so zum idealen Duo.
Das Buch führt entsprechend in das weite und hochaktuelle Gebiet der modernen Controllertechnik anhand der beiden Boards „Raspberry Pi 4“ und „Raspberry Pi Pico“ ein. Neben einer tiefergehenden Einführung in die Arbeits- und Funktionsweise der Controllerboards selbst wird insbesondere auch auf die Messwerterfassung und -verarbeitung mit digitalen Prozessoren eingegangen. Insbesondere die Kombination beider Systeme bietet vielfältige und hochinteressante Möglichkeiten.
Praktische Projekte aus dem Inhalt:
USB-Verbindung zwischen Raspberry Pi 4 und Pico
I²C-Kommunikation und Pico als I²C-Device
Voltmeter und Computerthermometer
Pico W als Web-Server und WLAN-Scanner
Frequenzmesser und -generatoren
OLED-Displays an Pico und Raspberry Pi 4
Energiesparmonitor
Welche Astronauten sind im Orbit?
Mini-Monitor für den aktuellen Bitcoin-Kurs
Le téléchargement intégral de ce numéro est disponible pour nos membres GOLD et GREEN sur le site Elektor Magazine !
Pas encore membre ? Cliquez ici.
l'ESP-BLASTUn mini drone-fusée ESP32 qui vole à plus de 100 km/h
atelier sans fil (1)Modules radio déverrouillés : émetteur-récepteur sub-GHz CC1101 433 MHz
émetteur AMAvec le générateur d'ondes carrées/sinusoïdales sur Raspberry Pi Pico
STM32Cube Innovation ChallengeParticipez avec votre meilleur projet STM32C5
CoffeeCallerComment une pause café a inspiré un PCB sur mesure
audiotroniquesDistorsion harmonique totale
Elektor à 65 ansProjets de septembre et octobre au fil des ans
Bluetooth Channel Sounding pour le suivi des équipementsMesure de distance avec une précision centimétrique pour l’IoT de nouvelle génération
2026 : une Odyssée de l'IAL'informatique quantique n'est pas le prochain GPU
protéger le cloud exige de sécuriser la périphérie
premières expériences avec le HackRF ProTests pratiques avec le nouveau matériel SDR
mise à niveau du modem de GPRS/2G vers LTE/4GExemple d'un panneau de contrôle d'alarme sans fil
antenne en bouclePartie 1 : Une antenne ondes courtes à directivité réglable, à réaliser soi-même
convertisseur de radio Internet en AMUn ESP32-S3 comme émetteur
projet 2.0
mioty : aperçu généralL'approche de Fraunhofer pour les LPWAN
sagesse d'atelierConseils pratiques d'experts
Walter, le module IoT compactPartie 2 : Accéder aux services météorologiques et aux services de données
Secure, Modular, Open-Source and Self-Sufficient
Ever since the Raspberry Pi was introduced, it has been used by enthusiasts to automate their homes. The Raspberry Pi is a powerful computer in a small package, with lots of interfacing options to control various devices. This book shows you how you can automate your home with a Raspberry Pi. You’ll learn how to use various wireless protocols for home automation, such as Bluetooth, 433.92 MHz radio waves, Z-Wave, and Zigbee. Soon you’ll automate your home with Python, Node-RED, and Home Assistant, and you’ll even be able to speak to your home automation system. All this is done securely, with a modular system, completely open-source, without relying on third-party services. You’re in control of your home, and no one else.
At the end of this book, you can install and configure your Raspberry Pi as a highly flexible home automation gateway for protocols of your choice, and link various services with MQTT to make it your own system. This DIY (do it yourself) approach is a bit more laborious than just installing an off-the-shelf home automation system, but in the process, you can learn a lot, and in the end, you know exactly what’s running your house and how to tweak it. This is why you were interested in the Raspberry Pi in the first place, right?
Turn your Raspberry Pi into a reliable gateway for various home automation protocols.
Make your home automation setup reproducible with Docker Compose.
Secure all your network communication with TLS.
Create a video surveillance system for your home.
Automate your home with Python, Node-RED, Home Assistant and AppDaemon.
Securely access your home automation dashboard from remote locations.
Use fully offline voice commands in your own language.
Download the software and view the errata for the book on GitHub.
Le téléchargement intégral de ce numéro est disponible pour nos membres GOLD et GREEN sur le site Elektor Magazine !
Pas encore membre ? Cliquez ici.
programmation PIO sur le Raspberry Pi PicoNeuf instructions, de multiples possibilités
l'IA en ligne de commandeDéveloppement, compilation et validation de projets embarqués depuis le terminal
le Scrutiny DebuggerDéboguer, visualiser et tester du code C/C++ embarqué
carte breakout Sigfox (1)Développement d’une BoB radio
alimentation à faible bruit (2)Construction, assemblage et mise en œuvre pratique
générateur de signaux simple basé sur le RP2040Signaux analogiques et numériques
à la découverte du futur de la domotique avec Matter et l’IA EdgeLes dernières versions de Matter et l’essor de l’IA en périphérie de réseau (edge) donnent-ils enfin aux ingénieurs les outils nécessaires pour construire les maisons intelligentes et parfaitement intégrées promises aux utilisateurs ?
capteurs de pression différentielleLa maintenance prédictive appliquée aux systèmes CVC
la sécurité dès la conceptionPrincipes d’ingénierie pour limiter les défaillances
la sécurité des systèmes embarqués n’est plus une option
la CRA et la PQC redéfinissent les priorités de la sécurité embarquéePourquoi même les petites entreprises IoT et industrielles doivent prévoir une mise à niveau
embedded world 2026Entretien avec Benedikt Weyerer, directeur d’embedded world
prise en main du bus I3CUtilisation de matériel de ST et Microchip
le projet BLEnkyPrototypage rapide d’applications Bluetooth Low Energy
modulation de largeur d’impulsionDu thermostat tout ou rien à un signal analogique continu filtré
audiotroniqueDes circuits audio agréables à l’écoute, à réaliser soi-même
sur le vifLisez donc le manuel !
carte émetteur-récepteur audio ESP32 (4)Réglage des horloges et une option filaire
2026 : une odyssée de l’IAConséquences du vibe coding
charge CC symétriqueCharge CC symétrique, statique ou dynamique
comptage de visages avec MaixCAMUne méthode simple pour estimer la taille d’un public
This book details the use of the Arduino Uno and the Raspberry Pi 4 in practical CAN bus based projects. Using either the Arduino Uno or the Raspberry Pi with off-the-shelf CAN bus interface modules considerably ease developing, debugging, and testing CAN bus based projects.
This book is written for students, practicing engineers, enthusiasts, and for everyone else wanting to learn more about the CAN bus and its applications. The book assumes that the reader has some knowledge of basic electronics. Knowledge of the C and Python programming languages and programming the Arduino Uno using its IDE and Raspberry Pi will be useful, especially if the reader intends to develop microcontroller-based projects using the CAN bus.
The book should be a useful source of reference material for anyone interested in finding answers to questions such as:
What bus systems are available for the automotive industry?
What are the principles of the CAN bus?
How can I create a physical CAN bus?
What types of frames (or data packets) are available in a CAN bus system?
How can errors be detected in a CAN bus system and how dependable is a CAN bus system?
What types of CAN bus controllers exist?
How do I use the MCP2515 CAN bus controller?
How do I create 2-node Arduino Uno-based CAN bus projects?
How do I create 3-node Arduino Uno-based CAN bus projects?
How do I set the acceptance masks and acceptance filters?
How do I analyze data on the CAN bus?
How do I create 2-node Raspberry Pi-based CAN bus projects?
How do I create 3-node Raspberry Pi-based CAN bus projects?
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.