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.
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.
59 Experiments with Arduino IDE and Python
The main aim of this book is to teach the Arduino IDE and MicroPython programming languages in ESP32 based projects, using the highly popular ESP32 DevKitC development board. Many simple, basic, and intermediate level projects are provided in the book using the Arduino IDE with ESP32 DevKitC. All projects have been tested and work. Block diagrams, circuit diagrams, and complete program listings of all projects are given with explanations. In addition, several projects are provided for programming the ESP32 DevKitC using MicroPython. The projects provided in this book are designed to teach the following features of the ESP32 processor:
GPIOs
Touch sensors
External interrupts
Timer interrupts
I²C and I²S
SPI
PWM
ADC
DAC
UART
Hall sensor
Temperature sensor
Infrared controller
Reading and writing to SD card
Reading and writing to flash memory
RTC timer
Chip ID
Security and encryption
Wi-Fi and network programming
Bluetooth BLE programming
Communication mobile devices
Low power design
ESP-IDF programming
The projects have been organized with increasing levels of difficulty. Readers are encouraged to tackle the projects in the order given. A specially prepared hardware kit (SKU 18305) is available from Elektor. With the help of this hardware, it should be easy and fun to build the projects in this book.
STM32 Nucleo family of processors are manufactured by STMicroelectronics. These are low-cost ARM microcontroller development boards. This book is about developing projects using the popular Nucleo development board. In the early chapters of the book, the architecture of the Nucleo family is briefly described.
Software development tools that can be used with the Nucleo boards such as the Mbed, Keil MDK, TrueSTUDIO, and the System Workbench are described briefly in later Chapters.
The book covers many projects using most features of the STM32 Nucleo development boards where the full software listings for Mbed and System Workbench are given for every project. The projects range from simple flashing LEDs to more complex projects using modules and devices such as GPIO, ADC, DAC, I²C, LCD, analog inputs and others.
In addition, several projects are given using the Nucleo Expansion Boards, including popular expansion boards such as solid-state relay, MEMS and environmental sensors, DC motor driver, Wi-Fi, and stepper motor driver.
These Expansion Boards plug on top of the Nucleo development boards and simplify the task of project development considerably.
Features of this book
Learn the architecture of the STM32 microcontrollers
Learn how to use the Nucleo development board in projects using Mbed and System Workbench Toolchains
Learn how to use the Nucleo Expansion Boards with the Nucleo development boards
Update
The Mbed compiler has been replaced with two software packages: The Mbed Studio and Keil Studio Cloud. Both of these software packages are free of charge and are available on the Internet. If you need assistance using the Keil Studio Cloud, please download the Guide below.
The XIAO ESP32-C3 board combines the ultra-compact form factor of the XIAO series with the full capabilities of the ESP32-C3 chip, including integrated Wi-Fi and Bluetooth 5.0. This book is a comprehensive, hands-on guide to getting the most out of this powerful yet affordable development board.
The author takes readers from the fundamentals to advanced projects. Starting with LED blinking and dimming, the book progresses to ADC and PWM for precise sensor interfacing and PWM-controlled lighting effects before moving on to building practical, real-world applications, including:
A Wi-Fi weather station with an OLED display and real-time online weather data
An ultrasonic parking assistant with audible feedback
A refrigerator monitoring probe with climate sensing and Deep Sleep for years of battery operation
A retro Pong game controlled by a touch-free sensor
A microphone-based party app that responds to claps
And much more: lighting control, reaction-time measurement, mains frequency analysis, soil moisture sensing, ambient LED lighting, and 7-segment displays
De Joy-Pi Note 2 is een draagbaar, alles-in-één platform voor elektronica-experimenten en educatie, dat volledig compatibel is met de Raspberry Pi 4 en 5. Dankzij de combinatie van een 11,6-inch IPS-scherm, een afneembaar draadloos toetsenbord en een compacte, robuuste behuizing biedt het een flexibele omgeving voor elektronicaontwikkeling, programmeren en onderwijs.
Met meer dan 45 praktische cursussen en projecten ondersteunt de Joy-Pi Note 2 het leren en experimenteren met Python, Scratch, robotica en IoT-toepassingen. Het geïntegreerde leerplatform biedt stapsgewijze instructies, waardoor het uitermate geschikt is voor beginners, studenten, docenten en ervaren makers.
Het systeem is uitgerust met meer dan 22 ingebouwde sensoren en modules, waaronder sensoren voor temperatuur, licht, beweging en afstand, evenals led-displays en interfaces voor motoren. Dankzij extra aansluitmogelijkheden, zoals USB-C en GPIO-uitbreidingspoorten, kunnen gebruikers hun eigen projecten ontwikkelen en testen.
Dankzij de ondersteuning voor de Raspberry Pi 5 profiteert de Joy-Pi Note 2 bovendien van verbeterde rekenkracht en grafische prestaties. Hierdoor is het een veelzijdig platform voor elektronicaonderwijs, prototyping en geavanceerde experimenten.
Kenmerken
Complete set voor elektronica-experimenten
Alles-in-één platform voor leren en experimenteren
Compatibel met Raspberry Pi 4 & 5
Vooraf geïnstalleerd interactief leerplatform
Afneembaar draadloos toetsenbord
Geïntegreerd opbergvak voor powerbank en accessoires
Specificaties
Display
11,6" lcd-scherm
Camera
2 MP
Leerplatform
45+ cursussen & projecten
Displays
7-segmentendisplay, 16x2-display, 1,8" TFT-display, 0,96" OLED-display, 8x8 RGB-matrix
Voeding
5 V/5 A, USB-C
Displays
7-segmentendisplay, 16x2-LCD-module, 8x8 RGB-matrix
Sensoren
DHT-temperatuur- en vochtigheidssensor, kantelsensor, bewegingssensor, geluidssensor, aanraaksensor, RFID-module, lichtsensor, ultrasone sensor
Motoren
Servo-interface, stappenmotorinterface, vibratiemotor
Besturingssysteem
Joystick, 4x4-knopsmatrix, schakelaar voor Raspberry Pi- & pc-verbinding, gevoeligheidsregelaar voor bewegingssensor, gevoeligheidsregelaar voor geluidssensor, helderheidsregelaar voor 16x2-LCD-module
Diversen
Relais, ventilator, GPIO-uitbreiding, GPIO-led-indicator, breadboard, IO-/ADC-/I²C-/UART-uitbreidingsinterface, infraroodsensor-interface, zoemer, display-driver
Accessoires
RFID-chip, RFID-kaart, voedingseenheid, servomotor, stappenmotor, infraroodontvanger, infraroodafstandsbediening, gelijkstroommotor met ventilatoropzetstuk, schroevendraaier, microSD-kaart (32 GB), SD-kaartlezer, elektronische accessoires, draadloze muis, draadloos toetsenbord
Afmetingen
291 x 190 x 46 mm
Gewicht
1,3 kg
Inbegrepen
Joy-Pi Note 2 Notebook
Raspberry Pi 5 (8 GB RAM)
Accessoires
USB-C-voedingsadapter
Snelstartgids
Downloads
Joy-Pi website
Datasheet
DIY LiPo Supercharger KitFrom Handcrafted to Mass Market
Elektor @ 60Reflections on Six Decades of Electronics
Siglent Bench Multimeter SDM3045X
DC Current-Sense ClampHall Sensor + Ferrite Core + Arduino
Soldering Station 2021Easy to build!
Hands On the Parallax Propeller 2Part 2: The Development Environment and Code
Wi-Fi for LoRa SwitchIntegrated in Home Assistant with ESPHome
Do Not Fear the Cellular Module!
Tracking Time with ESP32 and TogglWorking with the M5Stack
Get to Know the Raspberry Pi Pico Board and RP2040
MicroPython for MicrocontrollersSmall-Format Screens
12-to-200-V DC/DC Converter for Valve Amplifiers
Heat SeekerThe Seek Shot Pro Thermal Imaging Camera
Object-Oriented Programming: A Short Primer Using C++
HomeLab ToursHome Lab and an Analogue Synthesiser by Kurt Diedrich
Java on the Raspberry PiPart 1: GPIOs
DIP SwitchesPeculiar Parts, the series
Project 2.0Corrections, Updates and Readers’ Letters
Whose Product Is It Anyway?Right to Repair Gains Momentum
From Life's ExperienceThe Great Book of Blunders
Micro-ProfessorLearning Assembly Language on a Z80
Starting out in ElectronicsEasier Than Imagined! Even When It Is About Capacitors
HexadokuThe Original Elektorized Sudoku
PCBite is the complete solution handling your circuit board during the development phase. Powerful magnets together with a stainless base plate makes the system flexible, mobile and user friendly. The holder can easily be repositioned to handle circuit boards of varying shape and sizes. The probes are steady but yet flexible made for instant measurements or total hands-free operations together with your multimeter or prefered tool. Included 4x PCBite holder 2x Banana to DuPont test wires red/black 2x SP10 probe with red/black probe head and pin tipped test needles 2x Extra crown tipped test needle 1x Set of yellow insulation washers 1x Large Baseplate (A4) 1x Microfiber cloth Downloads User Guide
Hands-on in more than 50 projects
STM32 Nucleo family of processors are manufactured by STMicroelectronics. These are low-cost ARM microcontroller development boards. This book is about developing projects using the popular STM32CubeIDE software with the Nucleo-L476RG development board. In the early Chapters of the book the architecture of the Nucleo family is briefly described.
The book covers many projects using most features of the Nucleo-L476RG development board where the full software listings for the STM32CubeIDE are given for each project together with extensive descriptions. The projects range from simple flashing LEDs to more complex projects using modules, devices, and libraries such as GPIO, ADC, DAC, I²C, SPI, LCD, DMA, analogue inputs, power management, X-CUBE-MEMS1 library, DEBUGGING, and others. In addition, several projects are given using the popular Nucleo Expansion Boards. These Expansion Boards plug on top of the Nucleo development boards and provide sensors, relays, accelerometers, gyroscopes, Wi-Fi, and many others. Using an expansion board together with the X-CUBE-MEMS1 library simplifies the task of project development considerably.
All the projects in the book have been tested and are working. The following sub-headings are given for each project: Project Title, Description, Aim, Block Diagram, Circuit Diagram, and Program Listing for the STM32CubeIDE.
In this book you will learn about
STM32 microcontroller architecture;
the Nucleo-L476RG development board in projects using the STM32CubeIDE integrated software development tool;
external and internal interrupts and DMA;
DEBUG, a program developed using the STM32CubeIDE;
the MCU in Sleep, Stop, and in Standby modes;
Nucleo Expansion Boards with the Nucleo development boards.
What you need
a PC with Internet connection and a USB port;
STM32CubeIDE software (available at STMicroelectronics website free of charge)
the project source files, available from the book’s webpage hosted by Elektor;
Nucleo-L476RG development board;
simple electronic devices such as LEDs, temperature sensor, I²C and SPI chips, and a few more;
Nucleo Expansion Boards (optional).
De Elektor Laserkop transformeert de Elektor Sand Clock in een klok die de tijd op glow-in-the-dark-film schrijft in plaats van op zand. Naast het weergeven van de tijd kan het ook worden gebruikt om kortstondige tekeningen te maken. De 5 mW laserpointer, met een golflengte van 405 nm, produceert heldergroene tekeningen op de glow-in-the-dark-film. Voor het beste resultaat gebruikt u de kit in een slecht verlichte kamer. Waarschuwing: Kijk nooit rechtstreeks in de laserstraal!
De kit bevat alle benodigde componenten, maar het solderen van drie draden is vereist.
Opmerking: Deze kit is ook compatibel met de originele Arduino-gebaseerde Zandklok uit 2017. Voor meer details, zie Elektor 1-2/2017 en Elektor 1-2/2018.
The SQ series of handsfree PCBite probes from Sensepeek are insulated, come with included color-coded cable holders and have a lower point of gravity making them even more stable compared with the original SP series of probes. All the loved features of handsfree measurement, exchangeable fine pitch spring tipped test needle and the minimalistic design is maintained to make traditional sized and handheld probes obsolete. Features All handsfree probes from Sensepeek makes instant measurements or long triggering sessions a breeze. No more soldering wires to connect your probe or complicated tools to setup, just positioning the probe needle on any test point or component in the signal path and release. Saves time and frustration during development, verification and repairs. The minimalist design and the spring-loaded test needle makes it possible to simultaneously measure on fine pitch components and nearby signals. Both length and weight of the SQ probes are perfectly balanced to be used with the included PCB holders and base plate which is a must for handsfree function. The probe holder comes with a powerful magnet in the base, as for all PCBite probes and holders which makes the probe easy to place and reposition. The SQ series of probes can be used handheld without the probe holder as they have an insulated grip but their full potential is used when measuring handsfree. One side of the included baseplate is matte and the other is mirror polished. The mirror polished surface makes it easy to see components on the circuit board underside. For added protection during measurement the included insulation cover can be mounted on one of the surfaces. Included 4x PCBite PCB holders 1x Set of yellow insulation washers for the PCB holders 1x Large Base plate (A4) 1x Insulation cover for the base plate (A4) 1x Micro fiber cloth 4x SQ10 probes and pin tipped test needles (black) 2x Banana to dupont test wires (red/black) 5x Dupont to dupont test wires 1x Set of cable holders (4 colors) 4x Extra test needles Downloads User guide (PCBite kit) User guide (SQ10 probes)
The Elektor LoRa NodeVersatile, long-range, 868-MHz remote control with state feedback and STM32 Inside
InteractiveCorrections & Updates || Questions & Answers
Analogue Electronics DesignCase Study #1 — Section 2: Preamplifier optimized for MEMS microphone
My IoT Button: A Button for the WebPart 1: IoT architecture
BASIC for the ESP32 and ESP8266Programming with Annex WiFi RDS
ESP32 Doorbell via Telegram“The UPS Man Always Rings Once”
Small Circuits RevivalCapita Selecta from the Elektor Project Suggestions Box
My First LoRaWANWith Blue Pill, LoRa Breakout Board and The Things Network
Elektor Connexions 2003EL
“A Strong Supporter of Open Internet”Interview with Wienke Giezeman, Initiator of The Things Network
The Meadow F7 BoardA great board for .NET developers
Practical ESP32 Multitasking (2)Task priorities
Sigfox and the IoT (3)First steps on the network
Raspberry Pi Bash Command Cheat Sheet
Europe's Most Successful Start-up Accelerator?HighTechXL, Eindhoven, The Netherlands
Review: The Enviro+ RPi-HATMeasure air quality with a Raspberry Pi and the Enviro+ HAT
Steeped in Electronicsordering components from Ukraine and Russia
Review: Andonstar AD407Better than its predecessor?
Lab, Sweet LabA glimpse of The Holy Place — no unauthorized entry.
Optical Probe for OscilloscopesMeasure brightness fluctuations of lighting systems
The 'TABULA' Project - An UpdateTangibles with user feedback
How-To Calculate the Prospective Short-Circuit Current or PSCCand choose the proper circuit breaker
TMS1000 Series Microcontrollers
Peculiar Parts, the series
Starting Out in Electronics (2)
Easier than imagined!
Developer's ZoneTips & Tricks, Best Practices and Other Useful Information
Locating Wayward Wires
Track and trace concealed and defective cables with ease and certainty
Review: Joy-IT DMSO2D72 Portable 3-in-1 Oscilloscope
Homebrew PC for the Electronics LabTips on Component Choice and Construction
The Elektor ‘Intelekt’ Chess Computer (1981)Tiny Chess 86 ported to the Intel 8088
Beyond ElectronicsPCB Art - Pushing the Limits of Industrial Manufacturing