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).
Elektor GREEN and GOLD members can download their digital edition here.
Not a member yet? Click here.
OBD2 Sensor DashboardOld Dials Sparked a Quest for Real Data
OBD2: Add a Rev Counter and Gear Shift Indicator to Your CarRetro, but Super Useful
LiDAR and Vision Sensors for Robotics
Sensor+Test 2025 and PCIM 2025
Contact-Free E-Field Measurements (1)A Vibrating Membrane for Assessing DC Voltages or Static Electric Fields
Wireless Mailbox NotifierFrom Optical Sensors to Radar, Exploring a Few Options
Elektor Mini-WheelieA Self-Balancing Robot
Solar CellsPeculiar Parts, the Series
Getting Started With a Modern Radar SensorIs an Accurate Measurement on Your Radar?
From Life’s ExperiencePaper Factory
CybersecurityTough Times for Hackers
Siglent Presents Next-Gen Multi-Channel OscilloscopesHigh-Performance Solutions for Modern Power and Embedded Systems
Bluetooth 6.0 Brings Enhanced Distance-Ranging ApplicationsNew Version Offers Improved Device Positioning and Location Services
Exploring Wireless Communication with BeagleY-AI
Err-lectronicsCorrections, Updates, and Readers’ Letters
Starting Out in Electronics……Concludes the Topic on Opamps
A Powerful AI Code AssistantSpeed Up Your Development with Continue and Visual Studio Code
Solar Charge Controller with MPPT (2)The Circuit
Ultrasonic Obstacle DetectorA Simple Project to Help Those with Impaired Vision
2025: An AI OdysseyMid-Year Review
Raspberry Pi Standalone MIDI Synthesizer (3)Making It Smarter and Adding a User Interface
Meshtastic: A Demo ProjectAn Intelligent Mesh of LoRa Radios
Analog Audio Frequency GeneratorHigh-Quality Adjustable Frequency Sine Wave Generator
Over 50 Circuits & Projects US-Style Siren Two Rotary Encoders on One Analog Input How to Build a Digital 220-V AC Dimmer with Arduino Current Source for LEDs Detect Four Switches with 1 Pin Tiny On/Off Switch with Battery Level Check DIY Hand Sanitizer Dispenser A Simple Electronic Organ Ultra-Simple Stereo Amplifier Sound Activated Switch for Amplifiers Balanced/Unbalanced Converter External Mains Filter Button-Free Door Control DI Box for a Smartphone Fun With Running Lights One-Button Thyristor Control Quasi-Analog Exposure Timer for the Dark Room Circuits Galore From the Hackster.io Community Analog Tanning Timer Yet Another Single-Wire LCD Interface Simple AVR ATtiny13-Based PWM Generator Second Life for Batteries Touch Switch for LED Lights Tester for LEDs and DIP Switches Go/No-Go IR Control Tester Power Semiconductor Tester SPI for WS2812(B) LEDs Measuring Power Inductors One Plug for Raspberry Pi and Audio DAC DIY Test Fixture for the LCR Meter Arduino Ammeter Two-Finger Organ Low Noise ADC Calibrator DC/DC Boost Converter Two Potentiometers on One Digital Input Acoustic Proximity Sensor Battery-Free Radiator Sensor A Circuit for Detecting Bugs and Wireless Cameras Car Interior Light Timer Candle Simulator Digital Kitchen Timer Milliohm Meter Hot Water Production Delay Timer Simple Charger for 2S 18650 Cells Tiny Frequency Reference Low-Power IR Switch Recycle Your Car’s Telephone Charger Microphone Pre-Amp for Arduino DIY EMI Filters Electronic Dice Without an MCU Finger Capacitor A Self-Charging LED Flasher Also in this edition KiCad 6 – Five Features to Consider Flashback – The Elektor SC/MP Computer Interview – Making Art with Electricity My First PCB – Going Head First Into KiCad Minimizing Hardware with Smart Software Infographics – Facts and Figures New Devices from Analog Flashback – The Elektor Metal Detector Hexadoku – The Original Elektorized Sudoku
MQTT ist ein leichtgewichtiges, ereignis- und nachrichtenorientiertes Protokoll zur effizienten und asynchronen Kommunikation zwischen Geräten auch über limitierte Netzwerke. Das bereits 1999 von IBM entwickelte Protokoll eignet sich heute in besonderer Weise für Internet-of-Things-Anwendungen. Im Gegensatz zu HTTP mit Request/Response-Verfahren ist bei MQTT eine Publish/Subscribe-Architektur umgesetzt. Es stehen mittlerweile zahlreiche MQTT-Broker und -Clients zur Verfügung. Aufgrund der Unterstützung durch die Eclipse Foundation, IBM und vieler anderer stehen zahlreiche Komponenten kostenlos im Internet zur Verfügung. Client-Bibliotheken gibt es für die unterschiedlichsten Plattformen und Programmiersprachen. Unterstützt werden u. a. die PC-Plattform mit Java und .Net sowie Arduino und Raspberry Pi.
Das MQTT-Praxisbuch führt Schritt für Schritt in die praktische Arbeit mit diesem ressourcensparenden Protokoll ein. Dabei widmet der Autor Walter Trojan dem Thema IoT-Sicherheit ein ausführliches Kapitel. Anhand von abgeschlossenen Projekten zum Nachbauen stellt der Autor in beeindruckender Weise die praktische Bedeutung des MQTT-Protokolls in modernen IoT-Anwendungen dar:
MQTT auf ESP8266
MQTT mit Arduino-IDE
MQTT-Benchmarks
MQTT auf dem Raspberry Pi
Flow-Programmierung mit Node-RED
Boss aller Automaten: openHAB
Projekt Gewächshaus mit automatisierter Beleuchtung, Bewässerung, Temperaturregelung sowie Luft- und Erdfeuchtigkeitsmessung
Una ricca selezione di articoli dal Mondo Elektor!
Gli articoli di questo libro sono una selezione accurata, il "meglio del meglio" di circuiti e progetti recenti, realizzati da tecnici di grande talento provenienti da tutto il mondo.
Nel tipico stile di Elektor, questa raccolta offre qualcosa di interessante per tutti, dai progettisti esperti a coloro che praticano l'elettronica nel tempo libero.
Sommario
Super Servo TesterProva Fino a Quattro Servocomandi, Stand-Alone o in Sistema
The TubeUn Insolito Amplificatore a Valvole
Cloc 2.0La Sveglia che Avete Sempre Desiderato
Stazione Meteo LoRa Low-PowerCostruitevi una Stazione Meteorologica “Long Range”
Uscita Video con Microcontrollori (Parte 1)Video Composito
Uscita Video con Microcontrollori (Parte 2)Uscita VGA e DVI
Un Raspberry Pi Pico come Analizzatore di SpettroFFT su Base Hardware a Basso Costo
PIC O’Clock – In Contatto col TempoProgettare un Ricevitore di Segnali Orari SDR
Frequenzimetro di Rete ACMisura Frequenza e Tensione della Rete Elettrica
Generatore di Funzioni con Arduino NanoNano + Codice = Generatore di Funzioni
Monitor CO2Un Approccio Fai-Da-Te per Il Controllo della Qualità dell‘Aria
ChatMagLevLa Levitazione Magnetica con AI
Alimentatore Lineare Variabile Combinato0…50 V / 0…2 A con Struttura Simmetrica Duale
Ricevitore Digitale FM con Arduino e TEA5767Restate in Ascolto con un Arduino Nano
Protezione Antigelo per Piante da FruttoCon Registrazione della Temperatura
Carico Elettronico con Generatore di clock IntegratoPer Collaudare Alimentatori, Convertitori di Tensione e Batterie
128 Termostato Web con ESP32Mantieni il Vino alla Giusta Temperatura
Iniezione di Segnali e di Potenza......per Rilevare le Interruzioni nei Cavi
DIY LiPo Supercharger KitDal Prototipo al Mercato di Massa
Livella Digitale con Stroboscopio AttivoCalibra il Tuo giradischi con Questo Strumento "Tutto-in-Uno"
The Game of Life – 262.144 Modi di GiocareDal Progetto di un Lettore
Rilevatore di PerditeCollegato ad Arduino Cloud
Orologio di LissajousL’Incedere del Tempo con le Figure di Lissajous
Mastermind – Controllato da ArduinoUna Versione Moderna del Classico Gioco di Decifrazione
Generatore Audio Analogico 1 kHzOnda Sinusoidale a Bassa Distorsione
Aggiorna il tuo Caricabatteria (Parte 1)Non Buttarlo, Modificalo!
Aggiorna il tuo Caricabatteria (Parte 2)Non Buttarlo, Modificalo!
Sistemi GNSS RTK a Basso CostoCon Accuratezza a Livello Centimetrico
Esperimenti a 10 GHz con LNB Satellitari ModificatiSbloccare la Banda X a Basso Costo
Telecamera per FerromodellismoInstalla un Modulo ESP32 CAM a Bordo!
Monitor di Tensione con MicrocontrolloreProtezione dalla Scarica Profonda per Batterie e Altro
Nodo Sensore AutonomoTrasmissione Dati LoRa con Alimentazione a Batterie Solari
Layout e Sicurezza sul PCBConsigli per un Progetto Sicuro e Durevole
This collection features the best of Elektor Magazine's articles on embedded systems and artificial intelligence. From hands-on programming guides to innovative AI experiments, these pieces offer valuable insights and practical knowledge for engineers, developers, and enthusiasts exploring the evolving intersection of hardware design, software innovation, and intelligent technology.
Contents
Programming PICs from the Ground UpAssembler routine to output a sine wave
Object-Oriented ProgrammingA Short Primer Using C++
Programming an FPGA
Tracking Down Microcontroller Buffer Overflows with 0xDEADBEEF
Too Quick to Code and Too Slow to Test?
Understanding the Neurons in Neural NetworksEmbedded Neurons
MAUI Programming for PC, Tablet, and SmartphoneThe New Framework in Theory and Practice
USB Killer DetectorBetter Safe Than Sorry
Understanding the Neurons in Neural NetworksArtificial Neurons
A Bare-Metal Programming Guide
Part 1: For STM32 and Other Controllers
Part 2: Accurate Timing, the UART, and Debugging
Part 3: CMSIS Headers, Automatic Testing, and a Web Server
Introduction to TinyMLBig Is Not Always Better
Microprocessors for Embedded SystemsPeculiar Parts, the Series
FPGAs for BeginnersThe Path From MCU to FPGA Programming
AI in Electronics DevelopmentAn Update After Only One Year
AI in the Electronics LabGoogle Bard and Flux Copilot Put to the Test
ESP32 and ChatGPTOn the Way to a Self-Programming System…
Audio DSP FX Processor Board
Part 1: Features and Design
Part 2: Creating Applications
Rust + EmbeddedA Development Power Duo
A Smart Object CounterImage Recognition Made Easy with Edge Impulse
Universal Garden LoggerA Step Towards AI Gardening
A VHDL ClockMade with ChatGPT
TensorFlow Lite on Small MicrocontrollersA (Very) Beginner’s Point of View
Mosquito DetectionUsing Open Datasets and Arduino Nicla Vision
Artificial Intelligence Timeline
Intro to AI AlgorithmsPrompt: Which Algorithms Implement Each AI Tool?
Bringing AI to the Edgewith ESP32-P4
The Growing Role of Edge AIA Trend Shaping the Future
New LCR Meter 50 Hz - 2 MHz Part 1automatic impedance measuring bridge measures the resistance, capacitance and inductance of components with an impedance of 10 mΩ to 100 MΩ
From Ding-Dong Door Chime to IoT DoorbellIntegrate your doorbell in Home Assistant with ESPHome
Battery ManagementWhat to Be Aware of When Using (Lithium) Batteries
Starting Out in ElectronicsEasier Than Imagined!
Small Circuits RevivalFrom the Elektor Suggestions Box
Breadboard Graphics with Fritzing
Analogue Filter Design (Part 2)Active Filters
Homelab Tours: The Lap CounterA Project for Mini Petrol-Heads
Developer’s ZoneTips & Tricks, Best Practices and Other Useful Information
Review: Rigol DS1054Z Four-Channel Oscilloscope
Christmas CandleBlow It Out!
Tunable Valve Sinewave Generator
Retro is back!
Review: The Rigol DG2072 Generator
KiCad Plugins and Add-ons
Differential Oscilloscope Current Probe 2.0Measure Currents Using Your Oscilloscope
The Hewlett-Packard Interface LoopConnect the world!
The Future of Machine LearningAn Interview with Daniel Situnayake
Smartphone Apps for Android and iOSProgramming Apps Within a Single Development Environment
From Life's ExperienceThe Value of a Technical Education
5G: How Infrastructure Shapes Our Society
Practical ESP32 Multitasking (5)Task event notification
HP 10811 OscillatorPeculiar Parts, the series
LoRa GPS TrackerWith Open Hardware and Software
Programming the Finite State Machinewith 8-bit PICs in Assembly and C
NVIDIA JETSON NANO - BILDVERARBEITUNG FÜR EINSTEIGER (TEIL 2) Erkennen von Objekten mit Edge-Impulsen
ELEKTOR JUMPSTARTER-NEWS Kommende Kampagnen
OPEN-SOURCE-GPS-TRACKING-PLATTFORM Fahrzeug-Tracking ohne fremde Cloud mit Traccar
MULTIFUNKTIONS-KOMPONENTENTESTER LCR-T7 VON JOY-IT Tests von passiven Bauteilen, diskreten Halbleitern und IR-Fernbedienungen
RAUSCH-SYNTHESIZER Vom Rauschen zur Musik mit dem PRBSynth1
ALLER ANFANG … ist gar nicht schwer! Weiter geht's mit der Spule...
DIE NEURONEN IN NEURONALEN NETZEN VERSTEHEN Teil 2: Logische Neuronen
BLITZLICHT-GESCHÜTZTER ANALOGSPEICHER-ZUSATZ FÜR DAS MANIPULATIONSSICHERER DATENPAKET Probleme mit der Sicherheit? Bekämpfen Sie Feuer mit Feuer!
LCR-METER-PLAKAT
BLUETOOTH-BEACONS IN DER PRAXIS Ortsbestimmung in Innenräumen
C-PROGRAMMIERUNG AUF RASPBERRY PI Ein Beispielkapitel: Kommunizieren über WLAN
EMV-VORKONFORMITÄTSTEST FÜR IHR DC-VERSORGTES PROJEKT Teil 2: Die Hardware und wie man sie benutzt
PARALLAX-PROPELLER 2 Teil 5: Das Innenleben des Smart Pins
MODBUS ÜBER WLAN Teil 1: Hardware und Programmierung
ZUTRITT FÜR UNBEFUGTE VERBOTEN Wie der Junior-Computer wieder zum Leben erweckt wurde
BAUEN SIE IHREN EIGENEN HOCHPRÄZISIONSKALIBRATOR -10 V bis +10 V, 0 bis 40 mA, 0,001%
ARDUINO NANO RP2040 VERBINDEN Raspberry Pi RP2040 + WLAN + Bluetooth
DER PHYSISCHE KÖRPER DER KÜNSTLICHEN INTELLIGENZ
PROJEKT 2.0 Korrekturen, Updates und Leserbriefe
GRAFISCHE BENUTZEROBERFLÄCHEN MIT PYTHON UND GUIZERO
CO2-MESSGERÄT-SET FÜRS KLASSENZIMMER Ein ESP8266-basiertes Gerät, entwickelt von der FH Aachen
NOSTALGISCHES MW/LW-RADIO MIT MK484 ...macht immer Spaß beim Bauen!
60 JAHRE ELEKTOR Es werde Licht!
HEXADOKUS Das Original von Elektorized Sudoku
With the availability of free and open source C/C++ compilers today, you might wonder why someone would be interested in assembler language. What is so compelling about the RISC-V Instruction Set Architecture (ISA)? How does RISC-V differ from existing architectures? And most importantly, how do we gain experience with the RISC-V without a major investment? Is there affordable hardware available?
The availability of the Espressif ESP32-C3 chip provides a way to get hands-on experience with RISC-V. The open sourced QEMU emulator adds a 64-bit experience in RISC-V under Linux. These are just two ways for the student and enthusiast alike to explore RISC-V in this book.
The projects in this book are boiled down to the barest essentials to keep the assembly language concepts clear and simple. In this manner you will have “aha!” moments rather than puzzling about something difficult. The focus in this book is about learning how to write RISC-V assembly language code without getting bogged down. As you work your way through this tutorial, you’ll build up small demonstration programs to be run and tested. Often the result is some simple printed messages to prove a concept. Once you’ve mastered these basic concepts, you will be well equipped to apply assembly language in larger projects.
Elektor GREEN en GOLD leden kunnen deze uitgave hier downloaden.
Nog geen lid? Klik hier om een lidmaatschap af te sluiten.
OBD2-sensordashboardOude meters vormden het startpunt van een zoektocht naar echte gegevens
OBD2: voeg een toerenteller en schakelindicator toe aan je autoRetro, maar uiterst nuttig
LiDAR- en Visiesensoren voor Robotica
Sensor+Test 2025 en PCIM 2025
Contactloze E-Veldmetingen (1)Een Trillende Membraan voor het Detecteren van Gelijkspanningen of Statische Elektrische Velden
Draadloze brievenbusmeldervan optische sensoren tot radar: enkele mogelijkheden
Elektor Mini-Wheelieeen zelfbalancerende robot
ZonnecellenVreemde onderdelen, de serie
Aan de slag met een moderne radarsensorStaat een nauwkeurige meting op uw radar?
Uit het leven gegrepenpapierfabriek
CybersecurityZware tijden voor hackers
Infographics: IoT en sensoren 2025
Bluetooth 6.0 brengt verbeterde toepassingen voor afstandsbepalingNieuwe versie biedt betere apparaatpositionerings- en -locatieservices
Draadloze communicatie verkennen met BeagleY-AI
Err-lectronicsCorrecties, updates en lezerspost
Alle begin......sluit het thema opamps af
Een krachtige AI-codeerassistentsneller ontwikkelen met Continue en Visual Studio Code
Zonne-laadregelaar met MPPT (2)Het schema
Ultrasone obstakeldetectoreen eenvoudig project om slechtzienden te helpen
2025: Een AI-odysseeHalfjaaroverzicht
Raspberry Pi Standalone MIDI-synthesizer (3)Het slimmer maken en een gebruikersinterface toevoegen
Meshtastic: een demonstratieprojectEen slim netwerk van LoRa-radio's
Analoge audio-frequentiegeneratorHoogwaardige sinusgenerator met instelbare frequentie
Elektor GREEN and GOLD members can download their digital edition here.
Not a member yet? Click here.
MultiRF Dev BoardA Platform for Evaluating Short- and Long-Range Wireless Protocols
Elektor at 65Disrupting Electronics Since 1961
Wi-Fi-Based Person Detection on an ESP32When Your Router Becomes a Motion Sensor
Wireless ScalesFour Small Scales = One Big Scale
Walter, the Compact IoT ModuleESP32-S3 SoC, LTE-M/NB-IoT 5G Modem, and GNSS Receiver
3- and 4-Wire RTD Sensors ConditioningWith Full-Scale Adjustment and Cable Compensation
3-in-1 2-Channel Oscilloscope/Generator/MultimeterA Review of The Fnirsi 2D15P
electronica Fast Forward 2026 Invites Startups and Industry Partners
EcologgingA Modular Environmental IoT Station for Field Research
Wireless Connectivity in Medical ApplicationsAlways on the Pulse with Bluetooth LE
AudiotronicsHum Reduction
Increasing Agricultural Efficiency with AI Modeling and SensorsBoosting Agricultural Productivity
OPC UA — An OverviewPlatform-Independent Data Exchange
Redox Meter
Instrumentation Amplifier for Physics and Engineering Experiments
Active Differential Audio FiltersFor Professional Crossovers and More
Elektor Community Perspectives on IoT & Sensors
Telegram-Controlled Water Heater Interface ModuleA Solution Based on an ESP32 and Arduino Software
2026: An AI OdysseyWhatever Happened to Fuzzy Logic?
Err-lectronics
Alarm Signal Injector Plus PowerTools for Finding Broken Wires
Le téléchargement intégral de ce numéro est disponible pour nos membres GOLD et GREEN sur le site Elektor Magazine !
Pas encore membre ? Cliquez ici.
stockage de l’énergieRéalisez votre propre stockage d’énergie pour réseau de panneaux photovoltaïques
simulateur de panneau solaireUne solution pour tester et optimiser les trackers MPP et les onduleurs
le concours STM32 Edge AIDécouvrez le STM32N6 et gagnez les 5000 € du concours !
Matériaux à large bande interditePourquoi y a-t-il un tel intérêt pour le SiC et le GaN ?
batterie externe pour ordinateur portableProlongez la durée de vie de votre vieil ordinateur portable
robots médicauxSurmonter les obstacles techniques et réglementaires
prévention du gel pour les vergersavec enregistrement des températures
The Analog ThingL'Arduino de l’ordinateur analogique ?
commande de relais à faible consommation d'énergieÉconomiser 90% de la puissance de commande
amélioration de la charge DC ET5410A+pour un meilleur refroidissement et moins de bruit
electronica 2024 : rétrospective
compatibilité électromagnétiqueLa CEM en quelques mots !
démarrer en électronique......Filtres actifs
réduisez les pertes des chutes de tension avec des condensateursprofitez astucieusement de la réactance capacitive
le MCP4725 : un convertisseur numérique-analogique 12 bits pas cheravec une fonction EEPROM pour un comportement sûr au démarrage
la pince de test intelligente Fnirsi LCR-ST1 pour CMS
labo de test et de mesure personnel basé sur Raspberry PiPour commencer : l'ADC
une charge électroniqueUn projet prêt à l'emploi
2025 : l'odyssée de l'IAQuelques projets pour le nouvel an
AmpVolt v2.0 : mise à jour100 A et plus !
projet 2.0Corrections, mises à jour et courrier des lecteurs
transparence éthiqueCe que révèle l’enquête réalisée par Ethics in Electronics
carte Elektor Audio DSP FX Processor (2)Création d'applications