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.
MOTOREN AANSTUREN MET H-BRUGGENeen inleiding tot gelijkstroom-, stappen- en borstelloze motoren
HET ELEKTOR LAB-TEAMonze aanpak, onze tools – en meer...
RASPBERRY PI ALS KVM-AFSTANDSBEDIENINGsoftwaretest Pi-KVM
IQAUDIO CODEC ZEROgeluidskaart voor de Raspberry Pi-familie
WAT WE KUNNEN LEREN VAN HET PIKVM-PROJECTeen vraaggesprek met Maxim Devaev
AUTONOOM RIJDEN MET 2D-LIDARESP32 Pico interpreteert gegevens van de lidar-module DE RASPBERRY PI ZERO 2 W GAAT QUAD-CORE NOTITIES BIJ VAN HET WORLD ETHICAL ELECTRONICS FORUM 2021
MOTORBESTURINGhoe de complexiteit van motorbesturing wordt gereduceerd
GROTE ELEKTROMOTORENbasisprincipes en nuttige informatie AAN DE SLAG MET DE ESP32-C3 RISC-V MCU
BESCHERM UZELF EN ANDEREN!DHZ-hoofdschakelaar voor uw werkbank
GUI'S MAKEN MET PYTHON (DEEL 2)Spionnennaamkiezer
PRODUCTRONICA FAST FORWARD 2021: DE WINNAARSspannende technologieën en creatieve engineeringoplossingen
VEELZIJDIGE SERVOTESTERcontroleer het gedrag, ook zonder datasheet
MODBUS VIA WLANdeel 2: software voor de Modbus TCP WLAN-module
KENNISMAKING MET NEURONEN IN NEURALE NETWERKENdeel 3: neuronen in de praktijk
IN EEN OPEN SOURCE-PROCESSORvoorbeeldhoofdstuk: vergelijking van Lattice- en Xilinx-FPGA’s
ALLE BEGIN......is nog niet klaar met de spoel
PROJECT 2.0correcties, updates en brieven van lezers
KLEUR NAAR GELUIDeen kleursensor via I2C uitlezen
BATTLAB-ONEmeet en optimaliseer de gebruiksduur van IoT-accu’s
EENVOUDIGE AARDLEKTESTERisolatietest voor lichtnetinstallaties
ARMOEDE EN ELEKTRONICAhet streven naar duurzame ontwikkeling
HEXADOKUpuzzelen voor elektronici
Projects with Thonny-IDE, uPyCraft-IDE, and ESP32
The 'Python' programming language has enjoyed an enormous upswing in recent years. Not least, various single-board systems such as the Raspberry Pi have contributed to its popularity. But Python has also found widespread use in other fields, such as artificial intelligence (AI) or machine learning (ML). It is obvious, therefore, to use Python or the 'MicroPython' variant for use in SoCs (Systems on Chip) as well.
Powerful controllers such as the ESP32 from Espressif Systems offer excellent performance as well as Wi-Fi and Bluetooth functionality at an affordable price. With these features, the Maker scene has been taken by storm. Compared to other controllers, the ESP32 has a significantly larger flash and SRAM memory, as well as a much higher CPU speed. Due to these characteristics, the chip is not only suitable for classic C applications, but also for programming with MicroPython.
This book introduces the application of modern one-chip systems. In addition to the technical background, the focus is on MicroPython itself. After the introduction to the language, the programming skills learned are immediately put into practice. The individual projects are suitable for use in the laboratory as well as for everyday applications. So, in addition to the actual learning effect, the focus is also on the joy of building complete and useful devices. By using laboratory breadboards, circuits of all kinds can be realized with little effort, turning the testing and debugging of the 100% homebrew projects into an instructive pleasure.
The various applications, such as weather stations, digital voltmeters, ultrasound range finders, RFID card readers or function generators, make the projects presented ideally suited for practical courses or subject and study work in the natural sciences, or in science and technology classes.
Multitasking and multiprocessing have become a very important topic in microcontroller-based systems, namely in complex commercial, domestic, and industrial automation applications. As the complexity of projects grows, more functionalities are demanded from the projects. Such projects require the use of multiple inter-related tasks running on the same system and sharing the available resources, such as the CPU, memory, and input-output ports. As a result of this, the importance of multitasking operations in microcontroller-based applications has grown steadily over the last few years. Many complex automation projects now make use of some form of a multitasking kernel.
This book is project-based and its main aim is to teach the basic features of multitasking using the Python 3 programming language on Raspberry Pi. Many fully tested projects are provided in the book using the multitasking modules of Python. Each project is described fully and in detail. Complete program listings are given for each project. Readers should be able to use the projects as they are, or modify them to suit their own needs.
The following Python multitasking modules have been described and used in the projects:
Fork
Thread
Threading
Subprocess
Multiprocessing
The book includes simple multitasking projects such as independently controlling multiple LEDs, to more complex multitasking projects such as on/off temperature control, traffic lights control, 2-digit, and 4-digit 7-segment LED event counter, reaction timer, stepper motor control, keypad based projects, car park controller, and many more. The fundamental multitasking concepts such as process synchronization, process communication, and memory sharing techniques have been described in projects concerning event flags, queues, semaphores, values, and so on.
De FNIRSI GC-03 is een multifunctionele stralingsdetector, ontworpen voor professionele metingen van nucleaire straling in alledaagse omgevingen zoals thuis, op kantoor, in de auto en buitenshuis. Het apparaat is voorzien van een 2,4-inch high-definition kleurendisplay en maakt real-time monitoring mogelijk van zowel nucleaire straling als de sterkte van elektrische en magnetische velden. Voor extra veiligheid beschikt het toestel over drie alarmmodi: een geluidssignaal, trillingen en een visuele lichtwaarschuwing.
Kenmerken
3-in-1 detectie: Meet elektrische, magnetische en nucleaire straling met één enkel apparaat.
Uiterst nauwkeurige GM-buis: Detecteert nauwkeurig gamma-, röntgen- en harde bètastraling bij een laag energieverbruik.
Realtime grafiek + 50 alarmmeldingen: Volgt stralingstrends en slaat de alarmgeschiedenis op voor eenvoudige controle.
Aanpasbare drievoudige alarmen: Ondersteunt visuele, akoestische en trilwaarschuwingen met instelbare drempelwaarden.
Lange batterijduur: 1500 mAh-accu voor langdurig en betrouwbaar gebruik in het veld.
Specificaties
Kernstraling
Bereik: 0,01 μSv/u - 999,99 μSv/u
Nauwkeurigheid: 0,01 μSv/u
Elektrisch veld
Bereik: 1 V/m - 1999 V/m
Nauwkeurigheid: 1 V/m
Magnetisch veld
Bereik: 0,01 μT - 99,99 μT
Nauwkeurigheid: 0,01 μT
Stralingsvermogen
0,2 - 1000 mW/m²
Type gedetecteerde straling
Ioniserende straling (gammastraling, enz.)
Detector
GM-buis met energiecompensatie (Geigertellerbuis)
Dosisdebiet
0,00 - 10000 μSv/u (10 mSv/u)
Cumulatief dosis-equivalent
0,00 μSv - 500,0 mSv
Energiebereik
48 keV - 1,5 MeV ≤ ±30% (voor 137Cs)
Gevoeligheid
80 CPM/μSv
Dosis-eenheid
μSv/u, μGy/u, mR/u, CPS, CPM
Alarmmodus
Licht, trilling, geluid
Display
2,4-inch kleurenscherm
Achtergrondverlichting
Helderheid instelbaar
Voeding
USB-C (5 V/1 A)
Batterij
1500 mAh
Talen
Engels, Chinees
Afmetingen
138 x 63 x 32 mm
Gewicht
141 g
Inbegrepen
1x FNIRSI GC-03 stralingsdetector
1x USB-kabel
1x Manual
Downloads
Manual
Firmware v1.0.4
A Practical Guide to AI, Python, and Hardware Projects
Welcome to your BeagleY-AI journey! This compact, powerful, and affordable single-board computer is perfect for developers and hobbyists. With its dedicated 4 TOPS AI co-processor and a 1.4 GHz Quad-core Cortex-A53 CPU, the BeagleY-AI is equipped to handle both AI applications and real-time I/O tasks. Powered by the Texas Instruments AM67A processor, it offers DSPs, a 3D graphics unit, and video accelerators.
Inside this handbook, you‘ll find over 50 hands-on projects that cover a wide range of topics—from basic circuits with LEDs and sensors to an AI-driven project. Each project is written in Python 3 and includes detailed explanations and full program listings to guide you. Whether you‘re a beginner or more advanced, you can follow these projects as they are or modify them to fit your own creative ideas.
Here’s a glimpse of some exciting projects included in this handbook:
Morse Code Exerciser with LED or BuzzerType a message and watch it come to life as an LED or buzzer translates your text into Morse code.
Ultrasonic Distance MeasurementUse an ultrasonic sensor to measure distances and display the result in real time.
Environmental Data Display & VisualizationCollect temperature, pressure, and humidity readings from the BME280 sensor, and display or plot them on a graphical interface.
SPI – Voltmeter with ADCLearn how to measure voltage using an external ADC and display the results on your BeagleY-AI.
GPS Coordinates DisplayTrack your location with a GPS module and view geographic coordinates on your screen.
BeagleY-AI and Raspberry Pi 4 CommunicationDiscover how to make your BeagleY-AI and Raspberry Pi communicate over a serial link and exchange data.
AI-Driven Object Detection with TensorFlow LiteSet up and run an object detection model using TensorFlow Lite on the BeagleY-AI platform, with complete hardware and software details provided.
USB to S/PDIF InterfaceDigital audio output for computer, laptop, tablet or smartphone
Practical ESP32 Multitasking (4)Binary semaphores
A Wireless Temperature Sensor for the Nixie Bargraph ThermometerA multipurpose solution with a design trick
Multitasking with Raspberry PiShowcase: a traffic lights controller
Timer for Headphone Amplifier
Open-Network Weather Station Mk.2Part 2: Software
Home Automation Made EasyWith ESPHome, Home Assistant & MySensors
The Storage CRTPeculiar Parts, the series
Artificial Intelligence for Beginners (3)A stand-alone neural network
Programming PICs from the Ground UpAssembler routine to output a sine wave
IKEA Lamp HackEquipping an inexpensive IKEA lamp with NeoPixel LEDs and WLAN
Don't Let Your Hobby Project Collect Dust in a CornerSupply-side time management and spiral development
Starting Out in Electronics (4)Easier than imagined!
Homelab Tours: The Vinyl CutterReturning to the golden age of LPs
The 8-Bit Microcontroller and BeyondInterview with Tam Hanna
Small Circuits RevivalFrom the Elektor suggestions box
Review: Owon OW18E Bluetooth Multimeter
InteractiveCorrections & Updates || Questions & Answers
Steeped in ElectronicsLead-free soldering and EU regulatory zeal
Promising Project: New 50 Hz – 2 MHz LCR meterAccuracy and ease of use
Error AnalysisTips on FMEA, High Current, and More
Developer's ZoneTips & Tricks, Best Practices and Other Useful Information
Review: Siglent SDL1020X Programmable DC Electronic Load
High-Voltage Power Supply with Curve TracerGenerate voltages up to 400 V and trace characteristics curves for valves and transistors
Hexadoku 2009EL
Analogue Electronics DesignCase Study #2 — Part 1: Analogue filter theory
The Elektor StoreNever expensive, always surprising
How to Draw a Circuit Diagram
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
50+ Android Apps with Raspberry Pi, ESP32 and Arduino
This book is about developing apps for Android compatible mobile devices using the MIT App Inventor online development environment. MIT App Inventor projects can be in either standalone mode or use an external processor. In standalone mode, the developed application runs only on the mobile device (e.g. Android). In external processor-based applications, the mobile device communicates with an external microcontroller-based processor, such as Raspberry Pi, Arduino, ESP8266, ESP32, etc.
In this book, many tested and fully working projects are given both in standalone mode and using an external processor. Full design steps, block programs, circuit diagrams, QR codes and full program listings are given for all projects.
The projects developed in this book include:
Using the text-to-speech component
Intonating a received SMS message
Sending SMS messages
Making telephone calls using a contacts list
Using the GPS and Pin-pointing our location on a map
Speech recognition and speech translation to another language
Controlling multiple relays by speech commands
Projects for the Raspberry Pi, ESP32 and Arduino using Bluetooth and Wi-Fi
MIT APP Inventor and Node-RED projects for the Raspberry Pi
The book is unique in that it is currently the only book that teaches how to develop projects using Wi-Fi and Node-RED with MIT App Inventor. The book is aimed at students, hobbyists, and anyone interested in developing apps for mobile devices.
All projects presented in this book have been developed using the MIT App Inventor visual programming language. There is no need to write any text-based programs. All projects are compatible with Android-based mobile devices. Full program listings for all projects as well as detailed program descriptions are given in the book. Users should be able to use the projects as they are presented, modifying them to suit their own needs.
Nahezu alle Menschen werden zunehmend mit den Anwendungen der „Künstlichen Intelligenz“ (KI oder AI für engl. Artificial Intelligence) konfrontiert. Musik- oder Videoempfehlungen, Navigationssysteme, Einkaufsvorschläge etc. basieren auf Verfahren, die diesem Bereich zugeordnet werden können.
Der Begriff „Künstliche Intelligenz“ wurde 1956 auf einer internationalen Konferenz, dem Dartmouth Summer Research Project geprägt. Eine grundlegende Idee war dabei, die Funktionsweise des menschlichen Gehirns zu modellieren und darauf basierend fortschrittliche Computersysteme zu konstruieren. Bald sollte klar sein, wie der menschliche Verstand funktioniert. Die Übertragung auf eine Maschine wurde nur noch als ein kleiner Schritt angesehen. Diese Vorstellung erwies sich als etwas zu optimistisch. Dennoch sind die Fortschritte der modernen KI, beziehungsweise ihrem Teilgebiet dem sogenannten „Machine Learning“, nicht mehr zu übersehen.
Um die Methoden des Machine Learnings näher kennenzulernen, sollen in diesem Buch mehrere verschiedene Systeme zum Einsatz kommen. Neben dem PC werden sowohl der Raspberry Pi als auch der „Maixduino“ in den einzelnen Projekten ihre Fähigkeiten beweisen. Zusätzlich zu Anwendungen wie Objekt- und Gesichtserkennung entstehen dabei auch praktisch einsetzbare Systeme wie etwa Flaschendetektoren, Personenzähler oder ein „Sprechendes Auge“.
Letzteres ist in der Lage, automatisch erkannte Objekte oder Gesichter akustisch zu beschreiben. Befindet sich beispielsweise ein Fahrzeug im Sichtfeld der angeschlossenen Kamera, so wird die Information „I see a car!“ über elektronisch erzeugte Sprache ausgegeben. Derartige Geräte sind hochinteressante Beispiele dafür, wie etwa auch blinde oder stark sehbehinderte Menschen von KI-Systemen profitieren können.
Het perfecte gereedschap voor de snelle reparaties
De HS-01 is een krachtige, verstelbare slimme soldeerbout met een ingebouwd 0,87' OLED-display, die snel temperaturen tussen 80-420°C kan bereiken. Het display toont alle belangrijke informatie, waaronder de hoogte van de temperatuur, de ingestelde temperatuur, de voedingsspanning en het gebruikte vermogen. U kunt de werkspanning direct in het menu naar wens instellen tussen 9-20 V. De geïntegreerde sleeptimer schakelt de bout automatisch na 30 minuten uit.
Kenmerken
96 W ingang (DC)
65 W PD vermogen
OLED-display
Constante temperatuur & snelle opwarming
CNC-metaal integraal gegoten
Slimme beveiliging tegen verbranding
Mini zakformaat
Ergonomisch ontwerp
Aluminium materiaal
Links/rechts schakelaar
Efficiënte warmte afgifte
inductieve slaap mode
Kleur: zwart
Specificaties
Verbruik
65 W
Scherm
0,87 inch OLED
Werkspanning
9-20 V DC
Voeding
USB-C
Temperatuurbereik
80-420°C
Snellaad protocol
PD trigger
Afmetingen
184 x 20 x 20 mm (7,24 x 0,79 x 0,79 inch)
Gewicht
56 g
Vermogensselectie
Werkspanning
20 V
15 V
12 V
9 V
Bedrijfsstroom
≥ 3,25 A
≥ 2,5 A
≥ 2 A
≥ 1,5 A
Vermogen
65 W
37,5 W
24 W
13,5 W
Tin smelttijd
8 s
12 s
17 s
30 s
Inbegrepen
1x FNRISI HS-01 slimme soldeerbout
6x Soldeerbout tips (HS01-BC2, HS01-KR, HS01-K65, HS01-B2, HS01-ILS, HS01-BC3)
1x DC naar USB-C voedingskabel
1x Standaard voor mini soldeerbout
1x Handleiding
Vereist
Voedingsadapter
USB-C kabel
Downloads
Manual
Firmware V0.3.s19
Deze bundel gaat helemaal over het ontwerpen van projecten gebaseerd op de 555 timer IC. Het boek bevat meer dan 45 volledig geteste en gedocumenteerde projecten. Samen met de kit, die meer dan 130 through-hole componenten bevat, kunt u alle beschreven projecten bouwen op een breadboard. De opzet maakt het ook gemakkelijk om de projecten aan te passen en ermee te experimenteren.
Meer dan 45 builds voor de legendarische 555 Chip (en de 556, 558)
Enkele van de projecten in het boek zijn:
Afwisselend knipperende twee LED's
De knippersnelheid van de LED's wijzigen
Aan/uit-schakelaar van de aanraaksensor
In-/uitschakelvertraging
Lichtafhankelijk geluid
Donker/lichtschakelaar
Tone Burst-generator
Timer voor lange duur
LED's achtervolgen
LED-roulettespel
Verkeerslichten
Continuïteitstester
Elektronisch slot
Schakel over naar debouncen van contacten
Elektronisch speelgoedorgel
Alarmsysteem met meerdere sensoren
Metronoom
Spanningsvermenigvuldigers
Elektronische dobbelstenen
Weergaveteller met 7 segmenten
Motorbesturing
Dobbelstenen met 7 segmenten
Elektronische sirene
Diverse andere projecten
Kit-inhoud
Weerstanden
1x 15 kΩ
1x 68 kΩ
2x 47 kΩ
1x 82 kΩ
2x 820 Ω
1x 8,2 kΩ
3x 10 kΩ
1x 1,8 kΩ
1x 6,8 kΩ
14x 2,2 kΩ
10x 680 Ω
1x 27 kΩ
1x 5,6 kΩ
1x 560 kΩ
1x 4,7 kΩ
1x 3,3 kΩ
3x 33 kΩ
1x 36 kΩ
2x 100 kΩ
5x 1 kΩ
1x 3,9 kΩ
2x 56 kΩ
2x 12 kΩ
1x 10 kΩ potentiometer
1x 1 MΩ potentiometer
2x 50 kΩ potentiometer
3x 20 kΩ potentiometer
1x 10 kΩ potentiometer
1x 10 kΩ potentiometer
1x 50 kΩ potentiometer
1x 100 kΩ potentiometer
1x 50 kΩ potentiometer
Condensatoren
1x 0,33 μF
1x 1 μF
1x 10 nF
1x 22 nF
1x 47 nF
1x 100 nF
1x 10 μF elektrolytisch
1x 33 μF elektrolytisch
2x 100 μF elektrolytisch
LED's
10x 5 mm rode LED
10x 3 mm rode LED
3x 3 mm gele LED
3x 3 mm groene LED
1x 7-segment-LED met gemeenschappelijke kathode
Semiconductors
3x 555 timer
1x CD4017 counter
1x CD4026 counter
1x CD4011 NAND-poort
4x 1N4148-diode
1x IRFZ46N MOSFET
1x Thermistor
1x Lichtafhankelijke weerstand (LDR)
Diverse
1x Passieve buzzer
1x Actieve buzzer
1x SG90 servo
1x 8 Ω miniluidspreker
1x 9 V DC borstelmotor
1x 5 V relais
1x 9 V batterijclip
7x Drukknopschakelaars
1x Broodplank
1x Breadboard-jumperdraden