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.
Learning Embedded Systems with STM32 Nucleo Boards
Embedded programming has become more accessible than ever before. Development boards are inexpensive, software tools are easy to install, and the Arduino IDE provides a familiar environment for creating embedded applications. Combined with the STM32 Nucleo family of development boards, it offers an excellent platform for learning how modern microcontrollers interact with the physical world.
This book introduces embedded programming using the Arduino environment on STM32 Nucleo boards. You will learn how a microcontroller continuously reads inputs, processes information, and controls outputs in a predictable real-time loop. Through practical examples, you will discover how to control LEDs, read switches and sensors, generate PWM signals, drive motors, and exchange data with other devices, all while becoming familiar with the capabilities of STM32 microcontrollers.
Although the STM32 family includes devices with different performance levels, memory sizes, and peripheral sets, they all share the same architectural concepts. Digital and analog I/O, timers, interrupts, PWM, communication interfaces, and low-power operation are fundamental features found throughout the STM32 ecosystem. Understanding these building blocks will enable you to work confidently with a wide range of STM32 devices, from entry-level microcontrollers to more advanced applications.
By focusing on practical programming techniques rather than hardware complexity, this book develops skills that remain useful well beyond the examples presented. Whether you are taking your first steps in embedded systems or expanding your experience with STM32 microcontrollers, you will gain a solid understanding of both the Arduino development environment and the principles that underpin embedded software design.
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
The Joy-Pi Note 2 is a portable, all-in-one electronics experimentation and learning platform, fully compatible with the Raspberry Pi 4 and 5. Combining an 11.6-inch IPS display, a detachable wireless keyboard, and a compact, robust housing, it provides a flexible environment for electronics development, programming, and education.
With more than 45 hands-on courses and projects, the Joy-Pi Note 2 supports learning and experimentation with Python, Scratch, robotics, and IoT applications. Its integrated learning platform provides step-by-step instructions, making it suitable for beginners, students, educators, and experienced makers.
The system features over 22 integrated sensors and modules, including temperature, light, motion, and distance sensors, as well as LED displays and motor interfaces. Additional connectivity options, including USB-C and GPIO expansion interfaces, allow users to develop and test their own projects.
With support for the Raspberry Pi 5, the Joy-Pi Note 2 also benefits from improved processing power and graphics performance, making it a versatile platform for electronics education, prototyping, and advanced experimentation.
Features
Complete Electronics Experimentation Kit
All-in-One Learning and Experimentation Platform
Compatible with Raspberry Pi 4 & 5
Pre-installed Interactive Learning Platform
Detachable Wireless Keyboard
Integrated Storage Compartment for Power Bank and Accessories
Specifications
Display
11.6" LCD Display
Camera
2 MP
Learning platform
45+ courses & projects
Displays
7-segment display, 16x2 display, 1.8" TFT display, 0.96" OLED display, 8x8 RGB matrix
Power supply
5 V/5 A, USB-C
Displays
7-segment display, 16x2 LCD module, 8x8 RGB matrix
Sensors
DHT temperature & humidity sensor, tilt sensor, motion sensor, sound sensor, touch sensor, RFID module, light sensor, ultrasonic sensor
Motors
Servo interface, stepper motor interface, vibration motor
Control system
Joystick, 4x4 button matrix, Raspberry Pi & PCV connection switch, motion sensor sensitivity controller, sound sensor sensitivity controller, 16x2 LCD module brightness controller
Miscellaneous
Relay, fan, GPIO extension, GPIO LED indicator, breadboard, IO/ ADC/I²C/UART extension interface, infrared sensor interface, buzzer, display driver
Accessories
RFID chip, RFID card, power supply unit, servo motor, stepper motor, infrared receiver, infrared remote control, DC motor with fan attachment, screwdriver, microSD card (32 GB), SD card reader, electronic accessories, wireless mouse, wireless keyboard
Dimensions
291 x 190 x 46 mm
Weight
1.3 kg
Included
Joy-Pi Note 2 Notebook
Raspberry Pi 5 (8 GB RAM)
Accessories
USB-C power supply unit
Quick start guide
Downloads
Joy-Pi website
Datasheet
Kick off with the MAX1000 and VHDPlus
Ready to Master FPGA Programming? In this guide, we’re diving into the world of Field Programmable Gate Arrays (FPGAs) – a configurable integrated circuit that can be programmed after manufacturing. Imagine bringing your ideas to life, from simple projects to complete microcontroller systems!
Meet the MAX1000: a compact and budget-friendly FPGA development board packed with features like memory, user LEDs, push-buttons, and flexible I/O ports. It’s the ideal starting point for anyone wanting to learn about FPGAs and Hardware Description Languages (HDLs).
In this book, you’ll get hands-on with the VHDPlus programming language – a simpler version of VHDL. We’ll work on practical projects using the MAX1000, helping you gain the skills and confidence to unleash your creativity.
Get ready for an exciting journey! You’ll explore a variety of projects that highlight the true power of FPGAs. Let’s turn your ideas into reality and embark on your FPGA adventure – your journey starts now!
Exciting Projects You’ll Find in This Book
Arduino-Driven BCD to 7-Segment Display Decoder
Use an Arduino Uno R4 to supply BCD data to the decoder, counting from 0 to 9 with a one-second delay
Multiplexed 4-Digit Event Counter
Create an event counter that displays the total count on a 4-digit display, incrementing with each button press
PWM Waveform with Fixed Duty Cycle
Generate a PWM waveform at 1 kHz with a fixed duty cycle of 50%
Ultrasonic Distance Measurement
Measure distances using an ultrasonic sensor, displaying the results on a 4-digit 7-segment LED
Electronic Lock
Build a simple electronic lock using combinational logic gates with push buttons and an LED output
Temperature Sensor
Monitor ambient temperature with a TMP36 sensor and display the readings on a 7-segment LED
Downloads
Software
Programming the Finite State Machine with 8-Bit PICs in Assembly and C
Andrew Pratt provides a detailed introduction to programming PIC microcontrollers, as well as a thorough overview of the Finite State Machine (FSM) approach to programming. Most of the book uses assembly programming, but do not be deterred. The FSM gives a structure to a program, making it easy to plan, write, and modify. The last two chapters introduce programming in C, so you can make a direct comparison between the two techniques. The book references the relevant parts of the Microchip datasheet as familiarity with it is the best way to discover detailed information.
This book is aimed at Microsoft Windows and Linux users. To keep your costs to a minimum and to simplify the toolchain, specific applications are provided as a free download to enable you to use an FTDI serial lead as the programmer. The assembler used is the open-source "gpasm". All programming can be done in a text editor. There are detailed instructions on how to perform the necessary installations on Windows, Linux Debian, and derivatives such as Ubuntu and Fedora. For programming in C, Microchip's XC8 compiler is used from the command line. In addition to the programming applications, two serial read and serial write applications can be used for communicating with the PICs from a computer.
A voltmeter project including practical instructions on building a circuit board from scratch is included. All theory is covered beforehand, including how to do integer arithmetic in assembly.
Two PICs are covered: the PIC12F1822 and the PIC16F1823. Both can run at 32 MHz with an internal oscillator. You do not need to buy a factory-made development board and programmer. With relatively inexpensive parts including a serial lead, microcontroller, a few resistors, and LEDs, you can get started exploring embedded programming.
Links
Updated Programmer
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
The minimalist design and the spring loaded test needle makes it possible to simultaneously measure on fine pitch components and nearby signals.
The probe is steady but yet flexible made for instant measurements or total hands-free operations together with your multimeter, logic analyzer or preferred tool.
The dual pin header connector fits directly on a 2.54 mm (0.100”) connector.
The SP10 comes with a powerful magnet in the base, as for all PCBite probes and holders which makes the probe easy to place and reposition.
Included
4x PCBite holder
1x Large base plate (A4)
4x PCBite probe with pin tipped test needle
4x Extra crown tipped test needle
1x Set of yellow insulation washers
5x Dupont to dupont test wire
2x Banana to dupont test wire
1x Microfiber cloth
Downloads
User Guide
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)
Practical Projects and Programs
With Experimenting with Red Pitaya STEMlab Gen 2, Red Pitaya goes beyond a versatile board. It becomes a powerful laboratory instrument for precision measurement, analysis, and control.
From the fundamentals of electronic project development, monitoring, control, and design to testing, this book walks you step-by-step through everything you need to know to harness the full potential of Red Pitaya hardware and software.
The book presents real-time, FPGA-based projects that are developed on a PC using the Vivado environment, then transferred to the Red Pitaya for execution and testing.
You will learn about enhanced performance, expanded I/O capabilities, improved FPGA features, and advanced connectivity options that open up new frontiers for precision measurement, monitoring, and control in your embedded applications.
Inside the book you will discover:
A deep dive into Red Pitaya architecture and hardware design
Electronic experiments using Red Pitaya for measurement and monitoring
Hands-on projects using the Python programming language
Practical guidance for FPGA programming using Red Pitaya
Red Pitaya FPGA projects using the Verilog HDL under Vivado IDE
Practical design of electronic projects including measurement and testing
Step-by-step examples that bridge theory and real-world implementation
Whether you are designing your own electronic circuits, developing signal analysis tools, or creating real-time control or monitoring systems, this book provides you the knowledge and confidence you need to fully learn and customize the Red Pitaya platform.
AVR Architecture and Programming An in-depth look at the 8-bit AVR architecture found in ATtiny and ATmega microcontrollers, mainly from a software and programming point of view. Explore the AVR architecture using C and assembly language in Microchip Studio (formerly Atmel Studio) with ATtiny microcontrollers. Learn the details of how AVR microcontrollers work internally, including the internal registers and memory map of ATtiny devices. Program ATtiny microcontrollers using an Atmel-ICE programmer/debugger, or use a cheap hobby programmer, or even an Arduino Uno as a programmer. Most code examples can be run using the Microchip Studio AVR simulator. Learn to write programs for ATtiny microcontrollers in assembly language. See how assembly language is converted to machine code instructions by the assembler program. Find out how programs written in the C programming language end up as assembly language and finally as machine code instructions. Use the Microchip Studio debugger in combination with a hardware USB programmer/debugger to test assembly and C language programs, or use the Microchip Studio AVR simulator. DIP packaged ATtiny microcontrollers are used in this volume for easy use on electronic breadboards, targeting mainly the ATtiny13(A) and ATtiny25/45/85. Learn about instruction timing and clocks in AVR microcontrollers using ATtiny devices. Be on your way to becoming an AVR expert with advanced debugging and programming skills.
An Introduction to RISC-V
RISC-V is an Instruction Set Architecture (ISA) that is both free and open. This means that the RISC-V ISA itself does not require a licensing fee, although individual implementations may do so. The RISC-V ISA is curated by a non-profit foundation with no commercial interest in products or services that use it, and it is possible for anyone to submit contributions to the RISC-V specifications. The RISC-V ISA is suitable for applications ranging from embedded microcontrollers to supercomputers.
This book will first describe the 32-bit RISC-V ISA, including both the base instruction set as well as the majority of the currently-defined extensions. The book will then describe, in detail, an open-source implementation of the ISA that is intended for embedded control applications. This implementation includes the base instruction set as well as a number of standard extensions.
After the description of the CPU design is complete the design is expanded to include memory and some simple I/O. The resulting microcontroller will then be implemented in an affordable FPGA development board (available from Elektor) along with a simple software application so that the reader can investigate the finished design.