Elektor GREEN and GOLD members can download their digital edition here.
Not a member yet? Click here.
Rotary Dial Phone as Remote ControlTo Switch On the Lights, Dial 1; For the Coffee Maker, Dial 2
GPS-Based Speed MonitorNo More Speeding Tickets
RGB Stroboscope with ArduinoA Colorful Adaptation of a Useful Instrument
Wireless Emergency Push ButtonEnhanced Safety with LoRa
Starting Out in ElectronicsFollow the Emitter
Arbitrary, Independent Hysteresis Levels for Comparatorswith Simulations, Spreadsheets and Algebra
ESP32-Based Impedance AnalyzerSimple, Low-Part-Count, and Inexpensive!
HomeLab ToursEncouraging DIY
The MCCAB Arduino Nano Training BoardAll-in-One Hardware for the “Microcontrollers Hands-On Course”
From Life’s ExperienceModern Luddism
Sensor 101: The DS18B20 Temperature SensorConnection to the 1-Wire Bus
Is Matter the Thread to Save the Smart Home?New Standards to Simplify the Smart Home
A Matter of CollaborationDeveloping with the Thing Plus Matter Board and Simplicity Studio
Infographics: IoT and Sensors
Matter, ExpressLink, Rainmaker — What Is This All About?Q&A with Amey Inamdar, Technical Marketing Director at Espressif
Selecting Microcontroller Dev Kits for IoT and IIoT ApplicationsAn Introductory Guide
Capacitors Do Not Always Behave Capacitively!
An NTP Clock with CircuitPythonWhy Should You Use This Programming Language?
Build a Cool IoT DisplayWith the Phambili Newt
The HB100 Doppler Motion SensorTheory and Practice
A Bare-Metal Programming Guide (Part 1)For STM32 and Other Controllers
Siglent SDM3045X Multimeter
Microprocessors for Embedded SystemsPeculiar Parts, the Series
Microcontroller Documentation Explained (Part 3)Block Diagrams and More
Low-Power LoRa Weather StationBuild a long-range weather station by yourself
Transverter for the 70 cm Band
Climate Calling EngineersMove Fast and Fix Things
Hexadoku
35 Projects for Beginners
This book is for hobbyists, students and engineers who want to learn C and how to use an mbed ARM microcontroller in an easy and fun way, without the need for cumbersome software installations.
ARM mbed microcontroller NXP LPC1768
The projects in this book are meant for beginners in C and ARM microcontrollers. That doesn't mean the projects are simple, but it does mean that they are easy to understand. We use for example USB communications, a subject that is made so easy by the mbed that it is suitable for a beginners book.
Cloud technology
The mbed NXP LPC1768 uses cloud technology, a revolutionary concept in software development. This means you do not need to install software on your PC in order to program the mbed!
The only thing you need is a browser such as Microsoft Internet Explorer, and a USB port on your PC. You can get access to your project from any PC anywhere in the world and continue working on it. When you are done a few simple mouse clicks transfer the program to your mbed hardware. Of course you can optionally download the projects and store them on your own PC.
Features of this Book
Learn how to program an mbed ARM microcontroller using cloud technology. No complicated software installation on your PC needed.
Learn programming in C by doing fun and interesting projects. No previous experience or knowledge required.
Examples of projects in this book: flashing light, timer, light activated switch, digital thermometer, people detector, USB communication, talking microcontroller, debugging, sound switch, and much more - 35 projects in total.
Examples of C subjects in this book: variables, commands, functions, program execution, pointers (introduction).
The Joy-Pi Advanced is a compact and powerful device that allows you to realize your projects quickly and easily. Whether you already have a lot of experience, or next to none, the Joy-Pi Advanced lets you unleash your creativity. Thanks to its compatibility with a wide range of platforms, including Raspberry Pi, Raspberry Pi Pico, Arduino Nano, BBC micro:bit, and NodeMCU ESP32, you can easily and quickly access your preferred platform.
In addition, the Joy-Pi Advanced features more than 30 stations, lessons, and modules, giving you an unlimited variety of ways to get your projects done. With the self-developed learning center, you can not only improve your skills but also create new projects. The learning center offers a wealth of information and tutorials that will guide you step by step through your projects.
Joy-Pi Advanced is characterized in particular by its intelligent switch units, which allow an extended use of the available pins. A total of three switch units are integrated, each equipped with 12 individual switches that provide precise control of the connected sensors and modules. This system solves the well-known problem of limited pin count that occurs with conventional microcontrollers. The switch units allow you to operate a large number of sensors and modules in parallel by switching them on and off individually. This simulates multiple pin assignment, allowing you to exploit the full power of your projects without compromising functionality.
By combining innovative adapter boards and the micro:bit slot, you can achieve seamless compatibility with a wide range of microcontrollers such as Raspberry Pi Pico, NodeMCU ESP32, micro:mit and Arduino Nano. The specially developed adapter boards are designed to perfectly match the respective microcontroller. By plugging the microcontroller onto the appropriate adapter board and then plugging it into the micro:bit slot, the Joy-Pi Advanced quickly and easily becomes compatible with the different microcontrollers. This allows seamless integration of your preferred platform and the ability to combine the strengths of the different microcontrollers in your projects. This way, you can fully focus on your creative projects without worrying about the compatibility of different microcontrollers. The Joy-Pi Advanced simplifies the development process and gives you the possibility to design your projects flexibly and individually.
Features
Highly integrated development platform & learning center
Fast, easy & wireless combination of various sensors & actuators
Installation option for Raspberry Pi 4
Compatible with various microcontrollers
Self-developed, didactic learning platform for Raspberry Pi & Windows
Specifications
Compatible to
Raspberry Pi 4, Arduino Nano, NodeMCU ESP32, BBC micro:bit, Raspberry Pi Pico
Installed sensors, actuators & components
39
Learning platform
Over 40 entries in the know-ledge database, 10 projects, 10 learning tasks, 14 visions
Displays
7-segment display, 16x2 display, 1.8“ TFT display, 0.96" OLED display, 8x8 RGB matrix
Sensors
DS18B20, shock sensor, hall sensor, barometer, sound sensor, gyroscope, PIR sensor, Light barrier, NTC, Light sensor, 6x touch sensor, color sensor, ultrasonic distance sensor, DHT11 temperature & humidity sensor
Control
Joystick, 5x switches, potentiometer, rotary encoder, 4x4 button matrix, relays, PWM fan
Motors
Servo interface, Stepper motor interface, Vibration motor
Measuring & conversion modules
Analog-Digital Converter, Level converter, voltmeter, Variable voltage supply
Other components
RTC real time clock, buzzer, EEPROM memory, infrared receiver, breadboard, RFID reader
Adapter boards
Adapter for NodeMCU ESP32, Arduino Nano & Raspberry Pi Pico, Board connectors for Raspberry Pi & External Boards
Electronic components
Infrared remote control, RFID chip, RFID card, 6x alligator clips, microSD card reader, servo motor, stepper motor, 32 GB microSD card
Components
40x resistors, 3x green LEDs, 3x yellow LEDs, 3x red LEDs, 1x transistor, 5x buttons, 1x potentiometer, 2x capacitors
Other accessories
Screw assortment, screwdriver, accessory storage bag, power supply & power cable, servo mount
Power supply
Built-in power supply: 36 W, 12 V, 3 A Case connector: Small device plug C8
Voltage outputs
12 V, 5 V, 3.3 V, Variable voltage output (2-11 V)
Data buses & signal outputs
I²C, SPI, Analog to digital converter
Battery (RTC)
CR2032
Dimensions
327 x 200 x 52 mm
Included
Raspberry Pi 4 (8 GB RAM)
Downloads
Joy-Pi website
Datasheet
Manual
This book details the use of the ARM Cortex-M family of processors and the Arduino Uno in practical CAN bus based projects. Inside, it gives a detailed introduction to the architecture of the Cortex-M family whilst providing examples of popular hardware and software development kits. Using these kits helps to simplify the embedded design cycle considerably and makes it easier to develop, debug, and test a CAN bus based project. The architecture of the highly popular ARM Cortex-M processor STM32F407VGT6 is described at a high level by considering its various modules. In addition, the use of the mikroC Pro for ARM and Arduino Uno CAN bus library of functions are described in detail.
This book is written for students, for practising engineers, for hobbyists, and for everyone else who may need 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 programming language will be useful in later chapters of the book, and familiarity with at least one microcontroller will be an advantage, especially if the reader intends to develop microcontroller based projects using CAN bus.
The book should be useful source of reference to anyone interested in finding an answer to one or more of the following questions:
What bus systems are available for the automotive industry?
What are the principles of the 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 reliable is a CAN bus system?
What types of CAN bus controllers are there?
What are the advantages of the ARM Cortex-M microcontrollers?
How can one create a CAN bus project using an ARM microcontroller?
How can one create a CAN bus project using an Arduino microcontroller?
How can one monitor data on the CAN bus?
Programmierung in Assembler und C am Beispiel der ATtiny-Familie
Dieses Buch bietet einen eingehenden Blick auf die 8-Bit-AVR-Architektur in ATtiny- und ATmega-Mikrocontrollern, hauptsächlich aus der Sicht der Software und der Programmierung. Erforschen Sie die AVR-Architektur unter Verwendung von C und Assembler in Microchip Studio (früher Atmel Studio) mit ATtiny-Mikrocontrollern.
Lernen Sie die Details der internen Funktionsweise von AVR-Mikrocontrollern kennen, einschließlich der internen Register und des Speicherplans von ATtiny-Bausteinen.
Programmieren Sie ATtiny-Mikrocontroller mit einem Atmel-ICE-Programmiergerät/Debugger oder verwenden Sie ein preiswertes Hobby-Programmiergerät oder sogar einen Arduino Uno als Programmiergerät.
Die meisten Code-Beispiele können mit dem Microchip Studio AVR-Simulator ausgeführt werden.
Lernen Sie, Programme für ATtiny-Mikrocontroller in Assembler zu schreiben.
Erfahren Sie, wie Assemblersprache in Maschinencodebefehle umgewandelt wird.
Finden Sie heraus, wie Programme, die in der Programmiersprache C geschrieben wurden, in Assemblersprache und schließlich in Maschinencode umgewandelt werden.
Verwenden Sie den Microchip Studio Debugger in Kombination mit einem Hardware-USB-Programmierer/Debugger, um Assembler- und C-Programme zu testen oder verwenden Sie den Microchip Studio AVR-Simulator.
ATtiny-Mikrocontroller im DIP-Gehäuse werden verwendet, um eine einfache Nutzung auf Breadboards zu ermöglichen.
Erfahren Sie mehr über Timing und Taktimpuls in AVR-Mikrocontrollern mit ATtiny-Bausteinen.
Werden Sie zu einem AVR-Experten mit fortgeschrittenen Debugging- und Programmierfähigkeiten.
A Project-Based Introduction to Microcontrollers and Drone Control
A Practical Introduction to Embedded Systems with the ESP32
This book is intended for readers who are new to embedded systems and looking for a structured, example-driven way to begin. If you’ve explored general-purpose electronics or Arduino-based resources but found them too broad or lacking in practical application, this guide offers a more focused alternative.
With a small, affordable set of components – such as LEDs, sensors, an OLED screen and a motion sensor – you’ll build and work with the same hardware setup throughout the book. This allows you to focus on learning and experimenting without constant reconfiguration.
Topics include:
Understanding and programming the ESP32 microcontroller
Using the Arduino IDE to write and deploy code
Exploring cyber-physical systems, culminating in basic drone control
No prior experience with Arduino or embedded development is required. Each section includes hands-on examples and mini-projects designed to reinforce core concepts and encourage deeper exploration. By the end, you’ll be equipped not only to reproduce the book’s examples, but also to extend them toward your own ideas and applications.
Whether your interest is in learning embedded programming, building interactive systems, or exploring educational drone control, this book provides a clear and practical path to getting started.
Over 45 Builds for the Legendary 555 Chip (and the 556, 558)
The 555 timer IC, originally introduced by the Signetics Corporation around 1971, is sure to rank high among the most popular analog integrated circuits ever produced. Originally called the IC Time Machine, this chip has been used in many timer-related projects by countless people over decades.
This book is all about designing projects based on the 555 timer IC. Over 45 fully tested and documented projects are presented. All projects have been fully tested by the author by constructing them individually on a breadboard. You are not expected to have any programming experiences for constructing or using the projects given in the book. However, it’s definitely useful to have some knowledge of basic electronics and the use of a breadboard for constructing and testing electronic circuits.
Some of the projects in the book are:
Alternately Flashing Two LEDs
Changing LED Flashing Rate
Touch Sensor On/Off Switch
Switch On/Off Delay
Light-Dependent Sound
Dark/Light Switch
Tone Burst Generator
Long Duration Timer
Chasing LEDs
LED Roulette Game
Traffic Lights
Continuity Tester
Electronic Lock
Switch Contact Debouncing
Toy Electronic Organ
Multiple Sensor Alarm System
Metronome
Voltage Multipliers
Electronic Dice
7-Segment Display Counter
Motor Control
7-Segment Display Dice
Electronic Siren
Various Other Projects
The projects given in the book can be modified or expanded by you for your very own applications. Electronic engineering students, people engaged in designing small electronic circuits, and electronic hobbyists should find the projects in the book instructive, fun, interesting, and useful.
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.
Program, build, and master over 50 projects with MicroPython and the RP2040 microprocessor The Raspberry Pi Pico is a high-performance microcontroller module designed especially for physical computing. Microcontrollers differ from single-board computers, like the Raspberry Pi 4, in not having an operating system. The Raspberry Pi Pico can be programmed to run a single task very efficiently within real-time control and monitoring applications requiring speed. The ‘Pico’ as we call it, is based on the fast, efficient, and low-cost dual-core ARM Cortex-M0+ RP2040 microcontroller chip running at up to 133 MHz and sporting 264 KB of SRAM, and 2 MB of Flash memory. Besides its large memory, the Pico has even more attractive features including a vast number of GPIO pins, and popular interface modules like ADC, SPI, I²C, UART, and PWM. To cap it all, the chip offers fast and accurate timing modules, a hardware debug interface, and an internal temperature sensor. The Raspberry Pi Pico is easily programmed using popular high-level languages such as MicroPython and or C/C++. This book is an introduction to using the Raspberry Pi Pico microcontroller in conjunction with the MicroPython programming language. The Thonny development environment (IDE) is used in all the projects described. There are over 50 working and tested projects in the book, covering the following topics: Installing the MicroPython on Raspberry Pi Pico using a Raspberry Pi or a PC Timer interrupts and external interrupts Analogue-to-digital converter (ADC) projects Using the internal temperature sensor and external temperature sensor chips Datalogging projects PWM, UART, I²C, and SPI projects Using Wi-Fi and apps to communicate with smartphones Using Bluetooth and apps to communicate with smartphones Digital-to-analogue converter (DAC) projects All projects given in the book have been fully tested and are working. Only basic programming and electronics experience is required to follow the projects. Brief descriptions, block diagrams, detailed circuit diagrams, and full MicroPython program listings are given for all projects described. Readers can find the program listings on the Elektor web page created to support the book.
Practical Guide to Modular RF Design
Build Your Own Software-Defined Radio combines RF circuitry with hardware programming and PC-based signal processing. The e-book presents a modular approach to building a complete SDR system using RF Bricks – from the mechanical framework and RF modules to measurement tools, PC software, and FPGA implementations. Practical explanations guide readers through real signal paths, construction steps, and measurement routines, linking hardware and software into a flexible SDR platform.
Key topics include:
Mechanical setup: RF Brick template, chassis, and 19-inch module carrier
Bridges: USB isolator, I²C level shifter, I²C power switch, and practical examples
Signal-chain design with RF Bricks: antennas, band filters, NanoVNA work, preamplifiers, PLLs, demodulators, direct-conversion chains, multiband options, and narrowband bricks
RF measurement Bricks: single- and dual-tone sources, NPR methods, noise generators, notch filters, broadband amplifiers, and impedance bridges
Useful accessories: ATU-100 tuner, X-Phase QRM eliminator, and firmware notes
PC host software: SoapyAudio adjustments, GQRX, SDR++, and added functionality
GnuRadio elements: control blocks, SSB demodulation, GUI components, messaging, and filter handling
FPGA-based SDR: VHDL, toolchains, ADC/DAC blocks, oversampling, and a complete SSB/CW signal chain
With its modular structure and detailed working examples, this e-book offers a practical path to building and extending modern SDR systems.
Downloads
Software
Open-Source-Code mit Arduino IDE und PlatformIO
Autonomes Fahren: GPS, Accelerometer, Gyroskop
PS3-Controller
Mikrocontroller wie der Arduino und Einplatinenrechner wie der Raspberry Pi haben sich zu beliebten Komponenten entwickelt. Dritter im Bunde ist der ESP32 der Firma Espressif. Mikrocontroller dieser Baureihe zeichnen sich durch eine Vielzahl implementierter Funktionen aus, die bei einem Arduino konventioneller Prägung mit einem Atmel-AVR-Mikrocontroller erst mit weiterer Hardware möglich sind. Prominentes Beispiel sind hier die WiFi- und Bluetooth-Funktionalitäten. Gegenüber einem Raspberry Pi zeichnen sie sich durch einen deutlich geringeren Preis aus.
Allgemeine Informationen für die Realisierung eines Roboterauto-Projekts mit dem ESP32 sind leicht zu finden. Dabei handelt es sich aber oft nur um Ausführungen zu einem Teilaspekt, ohne inhaltliche oder funktionale Abstimmung. So ist nicht nur die Beschaffung der benötigten Informationen mühselig und zeitaufwändig, sie kann auch außerordentlich fehlerträchtig sein.
Ansatzpunkt dieses Buches ist, diese Lücke zu schließen. Es geht auf verschiedene Möglichkeiten eines Chassis ein, vermittelt nötige Kenntnisse und führt schrittweise von einer einfachen Motorsteuerung zu einem komplexen sensor- und sprachgesteuerten Roboterauto. Hacks rund um GPS und eine PlayStation 3 runden die Sache ab.
Inhalt
Bei der Reihenfolge der Kapitel wurde versucht – beginnend bei der Darstellung von grundlegenden Informationen – über die Lösung einfacher Aufgaben zu etwas anspruchsvolleren Techniken zu führen.
Der Mikrocontroller ESP32
Die Software erstellen
Die Stromversorgung
Rund um die Hardware
Das Chassis
Der Gleichstrommotor
Kabellose Steuerung über WiFi
Mit Sensoren Hindernisse erkennen
Eine eigene Roboterauto-App
Servo und Lichtsensor
GPS
Accelerometer / Gyroskop
PS3-Controller
Roboterauto-App
Hinweis zur Software
Die Dateien haben das Suffix (.cpp). Grund ist die Entwicklung mit PlatformIO. Mit Copy & Paste sollten sie auch in der Arduino-IDE verwendet werden können.