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.
Whatever the methods or even then financial means you have to make your circuits work, the power supply should rank high if not Number One in your considerations. The design block simply called “power supply” is hugely underrated both in electronics creation and repair. Yet, the “PSU” has enormous diversity and comes in wildly differing guises like AC/DC, generator, battery (rechargeable or not), PV panel, benchtop, linear or switch-mode, to mention but a few. The output ranges are also staggering like nano-amps to kiloamps and the same for voltages.This special covers the features and design aspects of power supplies.ContentsBasics
Battery ManagementWhat to be aware of when using (Lithium) batteries.
Fixed-Voltage Power Supply using Linear RegulatorsThe best result right after batteries.
Light Energy HarvestingA small solar panel is used in an energy harvesting project to manage and charge four AAA cells.
Mains Powered Adapter DesignBasic circuits and tips for transformers, rectification, filtering and stabilization.
LM317 Soft StartThe high inrush current pulse should be avoided.
Controllable RectifiersSome suggestions to keep the power loss in the linear regulator as low as possible.
Components
Worksheet: The LM117 / LM217 / LM317 Voltage Regulators
SupercapsLow voltage but lots of current… or not?
Reviews
JOY-iT RD6006 Benchtop Power Supply Kit
Siglent SDL1020X Programmable DC Electronic Load
Projects
Balcony Power PlantDIY solar balcony = speedy payback!
DIY LiPo Supercharger KitFrom handcrafted to mass market
Dual-Anode MOSFET ThyristorFaster and less wasteful than the old SCR
Battery JuicerDo not throw away, squeeze!
High-Voltage Power Supply with Curve TracerGenerate voltages up to 400 V and trace characteristics curves for valves and transistors
High Voltage Supply for RIAAFor RIAA tube preamps and other applications.
MicroSupplyA lab power supply for connected devices
Phantom Power Supply using Switched CapacitorsVoltage tripler using three ICs
The SMPS800RE Switch-Mode Supply for the Elektor Fortissimo-100Reliable, light and affordable
Soft Start for PSUBe nice to your power supply – and its load
UniLab 20-30 V, 3 A compact switch-mode lab power supply
Tips
Soft Start for Step-Down Switching Regulators
Low Loss Current Limit
Powerbank Surprise
A Virtual Ground
Battery Maintainer
Battery Pack Discharger
Connecting Voltage Regulators in Parallel
Elektor GREEN and GOLD members can download their digital edition here.
Not a member yet? Click here.
USB Measurement AdapterTesting Current and Signal Quality of USB Ports
4...20 mA Current Output for Arduino UnoA Reliable, EMI-Insensitive Current Loop Interface
Vacuum Cleaner Automatic ControlKeep Your Tools’ Work Area Clean
DDS Generator with ATtiny
Opamp-Tester V2New PCB – Now Also Suitable for SMDs
550-mW “Lamp” Audio AmplifierGet the Warm Sound of Vacuum Tubes With Ease
Fuse GuardMonitoring a Fuse with a Flashing LED
HQ RIAA PreamplifierGet the Most Out of Your Vinyl Records!
Turntable Speed CalibratorAn Arduino-Based 100–120 Hz Strobe Light Generator
Elektor Classics: video buffer/repeater
Infrared Remote-Controlled DimmerControl Your Halogen or LED Floor Lamp Effortlessly and With Style
How to Use switch…case on Strings in C++/Arduino IDE
Magnet FinderWith a Simple Hall-Effect Sensor
Raspberry Pi Smart Power ButtonA Solution for Raspberry Pi Up to Model 4
Essential Maker TipsProfessional Insights for Everyday Making
Practical Projects with the 555 TimerDC Motor Control and Fast Reaction Challenges
Basic AC-Load-On MonitorSave Energy with a Simple Device
Power Banks in ParallelA Three-Day Continuous Power Solution
VFO Up to 15 MHzAn Implementation With Raspberry Pi Pico
Violin Tuner with ATtiny202
Elektor Classics: video amplifier for B/W television sets
Capacitance Meter20 pF to 600 nF
Quasi-Analog Clockwork Mk IITwo LED Rings for Hours and Minutes
You Can Do Anything You Want(with the Arduino Ecosystem at Your Side)
Neon Lamp Dice
Elektor Classics: RTTY calibrator indicator
Inspiring Hardware Designs for Your ESPs
Elektor Classics: variable 3 A power supply
RGB LEDs with Integrated Control CircuitLight with Precision: ICLEDs Set Standards
Experiment: Towards a Mixed-Signal Theremin?Blending Modern Time-of-Flight Sensors With the Timeless XR2206 Analog Generator
ESP32 Audio Transceiver Board (Part 1)SD Card WAV File Player Demo
Infographics: Circuits and Circuit Design 2025
Small Audio MixerA Simple and Versatile Scalable Design
Smart Staircase Light TimerSave More Money on the Energy Bill!
Smarten Up Your ShuttersControlling Velux Hardware With an ESP32 and MQTT
Solid-State Foot WarmerEnergy-Efficient Comfort
Is the M5Stamp Fly Quadcopter the Next Tello?
Boosting Wi-Fi Range of the ESP32-C3 SuperMiniA Simple and Effective Antenna Mod
ZD-8968 Hot-Air Soldering StationA Budget-Friendly Workhorse or Just Hot Air?
Parking Sensor TesterFinding Defects in the PDC System of a Car
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.
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.
Het Elektor Arduino Nano MCCAB Training Board bevat alle componenten (incl. Arduino Nano) die nodig zijn voor de oefeningen, zoals LED’s, schakelaars, drukknoppen, buzzer enz. Ook externe sensoren, motoren of modules kunnen worden gecheckt of bestuurd met dit microcontroller-trainingssysteem.
Specificaties (Arduino Nano Training Board MCCAB)
Voeding
Via de USB-aansluiting van de aangesloten pc of een externe voeding (niet inbegrepen)
Spanning
+5 Vcc
Ingangsspanning
Alle ingangen
0 V tot +5 V
VX1 en VX2
+8 V tot +12 V (alleen bij gebruik van een externe voeding)
Hardware
LCD
2x16 karakters
Potentiometer P1 & P2
JP3: Selectie van de werkspanning van P1 & P2
Verdelers
SV4: Verdeler voor de werkspanningenSV5, SV6: Verdelers voor de in-/uitgangen van de microcontroller
Schakelaars en knoppen
RESET knop op de Arduino Nano module; 6x drukknop schakelaars K1 ... K6; 6x Schuifschakelaars S1 ... S6; JP2: Jumper van de schakelaars met de ingangen van de microcontroller
Buzzer
Piezo buzzer ‘Buzzer1’ met jumper op JP6
Indicator LED’s
11 x LED: Status indicator voor de ingangen/uitgangen LED L op de Arduino Nano module, aangesloten op GPIO D13 JP6; Aansluiting van LED's LD10 ... LD20 met GPIO's D2 ... D12
Seriële interfacesSPI & I²C
JP4: Selectie van het signaal op pin X van de SPI-connector SV12 SV9 naar SV12: SPI-interface (3,3 V/5 V) of I²C-interface
Uitgangen voor externe apparaten
SV1, SV7: Geschakelde uitgang (maximaal +24 V/160 mA, extern aangesloten) SV2: 2x13 pinnen voor aansluiting van externe modules
3x3 LED matrix(9 rode LED's)
SV3: Kolommen van de 3x3 LED matrix (uitgangen D6 ... D8) JP1: Verbinding van de rijen met de GPIO's D3 ... D5
Software
MCCABLib library
Controle van hardware componenten (schakelaars, knoppen, LED's, 3x3 LED matrix, buzzer) op het MCCAB Training Board
Werktemperatuur
Tot +40 °C
Afmetingen
100 x 100 x 20 mm
Specificaties (Arduino Nano)
Microcontroller
ATmega328P
Architectuur
AVR
Spanning
5 V
Flash memory
32 KB, waarvan 2 KB gebruikt door de bootloader
SRAM
2 KB
Kloksnelheid
16 MHz
Analoge IN Pinnen
8
EEPROM
1 KB
DC stroom per I/O-pin
40 mA op één I/O-pin, totaal maximaal 200 mA op alle pinnen samen
Ingangsspanning
7-12 V
Digitale I/O-pinnen
22 (waarvan 6 PWM)
PWM Uitgangen
6
Stroomverbruik
19 mA
Afmetingen
18 x 45 mm
Gewicht
7 g
Inbegrepen
1x Elektor Arduino Nano Training Board MCCAB
1x Arduino Nano
Diese Ausgabe steht allen GOLD- und GREEN-Mitgliedern auf der ElektorMagazine-Website zum Download bereit!
Sie sind noch kein Mitglied? Hier klicken!
Der ESP-BLASTEine Mini-Raketendrohne mit ESP32, die über 100 km/h erreicht
Wireless Workshop (1)Freigeschaltetes Funkmodul: 433-MHz-CC1101-Sub-GHz-Transceiver
AM-Sendermit Rechteck-/Sinuswellengenerator auf Raspberry Pi Pico
STM32Cube Innovations ChallengeTreten Sie mit Ihrem besten STM32C5-Design an
CoffeeCallerWie ein langer Flur zu einer maßgefertigten Mesh-Netzwerk-Platine führte
AudiotronicsKlirrfaktor
Elektor ist 65Projekte aus früheren September/Oktober-Ausgaben
Geräteortung durch Bluetooth Channel SoundingZentimetergenaue Entfernungsmessung im IoT der nächsten Generation
2026: Eine KI-OdysseeQuantencomputing ist nicht die nächste GPU
Cloud-Schutz durch Edge-Sicherheit
Erste Erfahrungen mit dem HackRF ProPraktische Tests mit der neuen SDR-Hardware
Herausforderung ElektromobilitätEffiziente Lötlösungen für moderne Fahrzeugtechnik
Modem-Update von GPRS/2G auf LTE/4Gam Beispiel einer Funk-Alarmzentrale
Loop-Antenne mit RF BricksTeil 1: Kurzwellen-Antenne mit einstellbarer Richtwirkung im Selbstbau
Internetradio-zu-AM-KonverterVerwendung eines ESP32-S3 als Sender
Projekt 2.0
mioty – ein ÜberblickLPWAN à la Fraunhofer
Werkbank-WeisheitPraktische Tipps von Experten
Walter, das kompakte IoT-ModulTeil 2: Zugriff auf Wetter- und Datendienste
Deze verbetere versie 2.0 (exclusief verkrijgbaar bij Elektor) bevat de volgende verbeteringen:
Verbeterde aarding (PE) van het ovenchassis
Extra thermische isolatielaag rond de oven om geuren te verminderen
Aansluiting op een computer, waardoor curvebewerking op een PC mogelijk is
Functies zoals constante temperatuurregeling en timingfuncties
De infrarood IC oven T-962 v2.0 is een microprocessorgestuurde reflow oven die je kunt gebruiken voor het gemakkelijk solderen van diverse SMD en BGA componenten. Het hele soldeerproces kan automatisch worden voltooid en het is heel gemakkelijk in het gebruik. Dit apparaat maakt gebruik van een krachtige infrarood straling en circulatie van de hete luchtstroom, zodat de temperatuur zeer nauwkeurig wordt gehouden en gelijkmatig verdeeld wordt.
Een lade met vensters is ontworpen om het werkstuk vast te houden, en maakt een veilige soldeertechniek mogelijk en het manipuleren van SMD & BGA en andere kleine elektronische onderdelen die op een printplaat gemonteerd zijn. De T-962 v2.0 kan gebruikt worden om soldeer automatisch na te verwarmen om slechte soldeerverbindingen te corrigeren, slechte componenten te verwijderen/vervangen en kleine technische modellen of prototypes te maken.
Kenmerken
Groot infrarood soldeeroppervlak
Effectief soldeergebied: 180 x 235 mm; dit vergroot het gebruik van deze machine drastisch en is daardoor een goede aanschaf.
Keuze uit verschillende soldeercycli
De parameters van acht soldeercycli zijn vooraf ingesteld en het hele soldeerproces kan automatisch verlopen van voorverwarmen, op temperatuur vloeibaar houden tot afkoelen..
Speciale opwarming en temperatuur egalisatie bij alle versies
Gebruikt een energiezuinige infrarood verwarming tot 800 Watt en luchtcirculatie om het soldeer vloeibaar te houden.
Ergonomisch ontwerp, praktisch en gemakkelijk te bedienen
Door de goede bouwkwaliteit, lichte gewicht en de kleine afmetingen kan de T-962 v2.0 gemakkelijk op een werkbank worden geplaatst, of worden vervoerd of opgeborgen.
Groot aantal functies beschikbaar
De T-962 v2.0 kan de meeste kleine componenten van printplaten solderen, bijvoorbeeld CHIP, SOP, PLCC, QFP, BGA enz. Het is de ideale oplossing voor rework, van eenmalige productie tot kleinschalige productie op bestelling.
Specificaties
Soldeeroppervlak (max.)
180 x 235 mm
Vermogen (max.)
800 W
Temperatuurbereik
0-280°C
Verwarmingsmethode
Infrarood
Verwerkingstijd
1-8 minuten
Voeding
220 V AC/50 Hz
Display
LCD met achtergrondverlichting
Bedieningsmodus
8 intelligente temperatuurcurven
Afmetingen
310 x 290 x 170 mm
Gewicht
6,2 kg
Inbegrepen
1x T-962 v2.0 Reflow Soldeeroven (Elektor versie)
2x Zekeringen
1x Netsnoer (EU)
Elektor GREEN and GOLD members can download their digital edition here.
Not a member yet? Click here.
Raspberry Pi Pico as Spectrum AnalyzerFFTs on a Low-Cost Hardware Basis
±40-V Linear Voltage RegulatorAn Alternative Power Supply for the Fortissimo-100 Power Amplifier… and Others!
MCU Wireless Communication Made FlexibleEEPROM Opens Networking Prospects for Wireless MCUs
€5,000 up for grabs!Join the STM32 Wireless Innovation Design Contest
2023: An AI OdysseyGetting Started with ChatGPT’s Code Interpreter
LoRa, a Swiss Army Knife (1)The LoRa Protocol and Its Advantages
Adjustable Current Sink with Integrated Clock GeneratorTest Power Supplies, Voltage Converters and Batteries
Two New Arduino UNO R4 Boards: Minima and WiFi
Logarithmic PotentiometersThey’re Exponential!
Motor Driver Breakout BoardA BoB for a 5 A DC Motor Driver with a 3×3 mm Size
From Life’s ExperienceHazardous Electronics
Is Cellular the Lowest-Power Option for IoT?LTE-M and NB-IoT Energy Requirements in LPWAN Deployments
Wireless Communication in IoT Systems – Using Arduino MKR ModulesThe Right Board for Wi-Fi, LoRa, and Many More Standards
AC Losses in Magnetic ComponentsAvoid Hot Inductors!
Measurement for Optimal Cloud Deployment
Matter Adoption: What does it take to deploy Matter devices?
YARD Stick OneA Sub-1 GHz Wireless Test Tool
Latching RelaysPeculiar Parts, the Series
PIC O’Clock – In Touch with TimeDesigning an SDR Time Signal Receiver
Due Diligence DirectiveBusiness as Usual Will Not Do
Starting Out in Electronics……Voltage Amplification
Infrasound Recorder with the Arduino Pro MiniA Sample Project from Elektor’s “Arduino & Co.” Book
Cloud-Based Energy MeterWith ESP32 Module and PZEM-004T Voltage/Current Sensor
A Bare-Metal Programming Guide (Part 2)Accurate Timing, the UART, and Debugging
Hexadoku
ZELFBOUW LIPO-SUPERCHARGER KITvan prototype tot productie
ELEKTOR @ 60gedachten bij zestig jaar elektronica
SIGLENT SDM3045X TAFELMULTIMETER
DC-STROOMKLEMHall-sensor + ferrietkern + Arduino
SOLDEERSTATION 2021makkelijk om te bouwen!
KENNISMAKING MET DE PARALLAX PROPELLER 2 (DEEL 2)de ontwikkelomgeving en de code
WIFI VOOR DE LORA SWITCHgeïntegreerd in Home Assistant met ESPHome
GEEN ANGST VOOR DE CELLULAIRE MODULE!
HOUD DE TIJD BIJ MET ESP32 EN TOGGLwerken met de M5Stack
KENNISMAKING MET HET RASPBERRY PI PICO-BOARD EN DE RP2040
MICROPYTHON VOOR MICROCONTROLLERStechnieken voor kleine displays
12–200 V DC/DC-CONVERTERvoor buizenversterkers
WARMTEZOEKERde Seek Shot Pro warmtebeeldcamera
OBJECTGEORIËNTEERD PROGRAMMERENeen korte inleiding met C++
OOST WEST LAB BEST...waar Kurt Diedrich synthesizers bouwt
JAVA OP DE RASPBERRY PIdeel 1: GPIO’s
DIP-SCHAKELAARSvreemde onderdelen
INTERACTIEFcorrecties & updates || brieven van lezers
WIENS PRODUCT IS HET EIGENLIJK?recht-op-reparatie beweging laat van zich horen
UIT HET LEVEN GEGREPENhet grote blunderboek
MICRO-PROFESSORassembleertaal leren op een Z80
ALLE BEGIN......hoeft niet zo moeilijk te zijn – zelfs als het om condensatoren gaat
HEXADOKUThe Original Elektorized Sudoku
De FNIRSI DLA-serie combineert krachtige USB 3.0-logica-analyse met flexibele, meerkanaals signaalregistratie voor het debuggen en analyseren van digitale circuits en embedded systemen. De serie is verkrijgbaar in twee uitvoeringen: de DLA-16 Plus met 16 digitale kanalen en de DLA-32 Plus met 32 digitale kanalen.
Beide modellen bieden samplingfrequenties tot 1 GSa/s, 4 Gbit intern geheugen en ondersteuning voor meer dan 120 protocoldecoders. Dankzij de acquisitiemodi Buffer, Stream en Roll zijn ze geschikt voor zowel snelle signaalanalyse als langdurige monitoring.
Kies de DLA-16 Plus voor hogere samplingfrequenties bij gebruik van alle kanalen, of de DLA-32 Plus wanneer u meer kanalen en geavanceerde seriële en parallelle triggering nodig heeft.
Kenmerken
Verkrijgbaar met 16 of 32 digitale ingangskanalen
Bemonsteringssnelheid tot 1 GSa/s
DLA-16 Plus: tot 500 MSa/s bij gebruik van alle 16 kanalen
DLA-32 Plus: tot 250 MSa/s bij gebruik van alle 32 kanalen
4 Gbit intern geheugen
High-speed USB 3.0-interface
Acquisitiemodi: Buffer, Stream en Roll
Ondersteuning voor meer dan 120 protocoldecoders
Geavanceerde triggeropties
4 PWM-uitgangen met een frequentiebereik van 1 Hz tot 20 MHz
Data-export naar CSV en BIN
Specificaties
DLA-16 Plus
DLA-32 Plus
Digitale kanalen
16
32
Max. Sampling rate
1 GSa/s
Sampling rate (1 kanaal)
1 GSa/s
Sampling rate (8 kanalen)
1 GSa/s
Max. Buffer sampling
16 kanalen @ 500 MSa/s
32 kanalen @ 250 MSa/s
Max. Stream sampling
16 kanalen @ 125 MSa/s
32 kanalen @ 50 MSa/s
Hardwaregeheugen
4 Gbit
Interface
USB 3.0 / USB-C
Max. USB-overdrachtssnelheid
5 Gbit/s
Acquisitiemodi
Buffer / Stream / Roll
Protocoldecoders
120+
Ondersteuning voor aangepaste protocollen
Ja
Triggermodi
Stijgende flank, dalende flank, hoog, laag, elke flank
Geavanceerde trigger
Standaard triggering
Serieel en parallel
Parallelle triggerfasen
–
Tot 16
PWM-uitgangen
4
PWM-uitgangsspanning
3,3 V
PWM-frequentie
1 Hz–20 MHz
Gegevensexport
CSV, BIN
Afmetingen
90 x 81 x 11,5 mm
Inbegrepen
1x FNIRSI DLA-16/32 Plus Logic Analyzer
4 Sets van 5 afgeschermde kabels
18x Mini IC-testhaken (uitvoering met uitgebreide configuratie)
1x USB 3.0-datakabel
10x IC-testhaken
1x Transparante opbergdoos voor testhaken
1x Opbergtas
1x Manual
Downloads
Manual
Software for Windows
Software for macOS (Apple Silicon)
Software for macOS (Intel)