The software simulation of gauges, control-knobs, meters and indicators which behave just like real hardware components on a PC’s screen is known as virtual instrumentation.
In this book, the Delphi program is used to create these mimics and PIC based external sensors are connected via a USB/RS232 converter communication link to a PC.
Detailed case studies in this Book include a virtual compass displayed on the PC’s screen, a virtual digital storage oscilloscope, virtual -50 to +125 degree C thermometer, and FFT sound analyser, a joystick mouse and many examples detailing virtual instrumentation Delphi components. Arizona’s embedded microcontrollers – the PIC's are used in the projects and include PIC16F84A, PIC16C71, DSPIC30F6012A, PIC16F877, PIC12F629 and the PIC16F887. Much use is made of Microchip’s 44 pin development board (a virtual instrument ‘engine)’, equipped with a PIC16F887 with an onboard potentiometer in conjunction with the PIC’s ADC to simulate the generation of a variable voltage from a sensor/transducer, a UART to enable PC RS232 communications and a bank of 8 LED's to monitor received data is also equipped with an ISP connector to which the ‘PICKIT 2’ programmer may easily be connected.
Full source code examples are provided both for several different PIC’s, both in assembler and C, together with the Pascal code for the Delphi programs which use different 3rd party Delphi virtual components.
Elektor GREEN en GOLD leden kunnen deze uitgave hier downloaden.
Nog geen lid? Klik hier om een lidmaatschap af te sluiten.
Low-noise laboratorium voeding (1)Een stabiele voedingsbron voor gevoelige circuits
STM32 Edge-AI Contest 2025: De winnaars
Batterijen van vandaagTechnologie en verschillen in lithiumbatterijen
Instelbare elektronische belastingStatische en dynamische DC-belasting
Step-down converter van 48 V naar 5 VHet verhaal achter de ontwikkeling van een schakeling
Autonome sensornode v2.0Deel 2: Hardware-validatie en vermogensoptimalisatie
VaristorenVreemde onderdelen
Grafische netfrequentiemeterControleer de kwaliteit van het stroomnet
Alle begin......maakt er een eind aan
Piekstroombelasting SMD-ferrietenBeter bestand tegen stroompieken
Elektor Live! Expert Day 2025
Energy harvesting belooft de implementatie van IoT- en IIoT-toepassingen te zullen versnellenHoe energy harvesting IoT loskoppelt van het stroomnet
Fnirsi DPS-150Compacte draagbare voeding en converter
Instelbare USB-C voedingsbronMaak van uw USB-C-lader een regelbare voeding
Eenvoudige lader en capaciteitstesterMet twee goedkope kant-en-klaar modules
Slimme kleurendetector met AI-stem en afspeelfunctie
PbMonitor v2.0Overzicht van het vernieuwde accu-bewakingssysteem
Een ventilator voor de mini-reflow plateSlimme aanpassingen die de resultaten verbeteren
Uit het leven gegrepende tsunami der verwendheid
Err-lectronicsCorrecties, updates en lezersbrieven
2026: Een AI-odysseeWanneer modellen de hardware bepalen
Precisie pico-ampèremeter (2)Montage, kalibratie en test
Draadloze energievoorziening van apparatenMet inductieve technologie
Autonoom rijden op basis van AIDe Self Driving Challenge 2024 van de RDW
Geluidskaart als signaalgeneratorPC als DCF77-testzender
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.
STmicroelectronics’ wireless IoT & wearable sensor development kit
‘SensorTile.box’ is a portable multi-sensor circuit board housed in a plastic box and developed by STMicroelectronics. It is equipped with a high-performance 32-bit ARM Cortex-M4 processor with DSP and FPU, and various sensor modules, such as accelerometer, gyroscope, temperature sensor, humidity sensor, atmospheric pressure sensor, microphone, and so on. SensorTile.box is ready to use with wireless IoT and Bluetooth connectivity that can easily be used with an iOS or Android compatible smartphone, regardless of the level of expertise of the users. SensorTile.box is shipped with a long-life battery and all the user has to do is connect the battery to the circuit to start using the box.
The SensorTile.box can be operated in three modes: Basic mode, Expert mode, and Pro mode. Basic mode is the easiest way of using the box since it is pre-loaded with demo apps and all the user has to do is choose the required apps and display or plot the measured data on a smartphone using an app called STE BLE Sensor. In Expert mode users can develop simple apps using a graphical wizard provided with the STE BLE Sensor. Pro mode is the most complex mode allowing users to develop programs and upload them to the SensorTile.box.
This book is an introduction to the SensorTile.box and includes the following:
Brief specifications of the SensorTile.box; description of how to install the STE BLE Sensor app on an iOS or Android compatible smartphone required to communicate with the box.
Operation of the SensorTile.box in Basic mode is described in detail by going through all of the pre-loaded demo apps, explaining how to run these apps through a smartphone.
An introduction to the Expert mode with many example apps developed and explained in detail enabling users to develop their own apps in this mode. Again, the STE BLE Sensor app is used on the smartphone to communicate with the SensorTile.box and to run the developed apps.
The book then describes in detail how to upload the sensor data to the cloud. This is an important topic since it allows the sensor measurements to be accessed from anywhere with an Internet connection, at any time.
Finally, Pro mode is described in detail where more experienced people can use the SensorTile.box to develop, debug, and test their own apps using the STM32 open development environment (STM32 ODE). The Chapter explains how to upload the developed firmware to the SensorTile.box using several methods. Additionally, the installation and use of the Unicleo-GUI package is described with reference to the SensorTile.box. This PC software package enables all of the SensorTile.box sensor measurements to be displayed or plotted in real time on the PC.
Practical Multitasking Fundamentals
Programming embedded systems is difficult because of resource constraints and limited debugging facilities. Why develop your own Real-Time Operating System (RTOS) as well as your application when the proven FreeRTOS software is freely available? Why not start with a validated foundation?
Every software developer knows that you must divide a difficult problem into smaller ones to conquer it. Using separate preemptive tasks and FreeRTOS communication mechanisms, a clean separation of functions is achieved within the entire application. This results in safe and maintainable designs.
Practicing engineers and students alike can use this book and the ESP32 Arduino environment to wade into FreeRTOS concepts at a comfortable pace. The well-organized text enables you to master each concept before starting the next chapter. Practical breadboard experiments and schematics are included to bring the lessons home. Experience is the best teacher.
Each chapter includes exercises to test your knowledge. The coverage of the FreeRTOS Application Programming Interface (API) is complete for the ESP32 Arduino environment. You can apply what you learn to other FreeRTOS environments, including Espressif’s ESP-IDF. The source code is available from GitHub. All of these resources put you in the driver’s seat when it is time to develop your next uber-cool ESP32 project.
What you will learn:
How preemptive scheduling works within FreeRTOS
The Arduino startup “loopTask”
Message queues
FreeRTOS timers and the IDLE task
The semaphore, mutex, and their differences
The mailbox and its application
Real-time task priorities and its effect
Interrupt interaction and use with FreeRTOS
Queue sets
Notifying tasks with events
Event groups
Critical sections
Task local storage
The gatekeeper task
Elektor GREEN en GOLD leden kunnen deze uitgave hier downloaden.
Nog geen lid? Klik hier om een lidmaatschap af te sluiten.
AI-tools voor hardwareprototypingWat helpt, wat niet, en waar de technicus nog steeds nodig is
ZSWatch, van idee tot productDeel 1: Een volledig open smartwatch
Drieweg toonregelingHigh-end, voor net dat beetje extra
electronica Fast Forward 202610 jaar innovatie
Microcontroller prototypingEen overzicht van populaire boards
Prototype-breadboardsVreemde onderdelen, de serie
Ontwerpen voor de ruimteEen makers-gids voor COTS-selectie, stralingsbestendigheid en missie-architectuur
Thermisch beheer voor betrouwbare elektronicaWanneer elke graad telt
Van concept naar gadgetHet ontwikkelen van embedded systemen die daadwerkelijk op de markt worden gebracht
EMI-ferriet voor DCF77-antennesEen alternatief voor traditionele ferriet-antennekernen
Een robotarm leren zien en bewegenAI-gestuurde manipulatie met een 3D-geprinte robotarm
Elektor op 65-jarige leeftijdProjecten uit november en december van vroeger
Lusantenne met RF-bouwstenenDeel 2: Signaalverwerking
Van prototype tot productiePraktische lessen van de Elektor-community
Project updatesFeedback, ideeën, correcties
Draagbare audiogeneratorEen referentiesignaalbron voor een snelle installatie van audiosystemen
AudiotronicaMeer vervorming en een versterker met niveauaanpassing
2026: Een AI-odysseeWanneer AI begint met het bouwen van AI
Wireless Workshop (2)Radio Modules Ontsluierd: 2,4 GHz nRF24L01P Transceiver
Het digitale pad
De Ontwikkeling van een Open-Source SmartwatchDaniel Kampert over ZSWatch, Open Hardware en Engineering Trade-offs
Hoe u zich voorbereidt op professionele SMD-assemblage
Engineering weg van de WerkbankSysteemintegratie, probleemoplossing en praktijktesten
Avionica instrument simulatorOp basis van de ESP32-S3, met rond HMI-scherm
Raspberry Pi 5 provides two four-lane MIPI connectors, each of which can support either a camera or a display. These connectors use the same 22-way, 0.5 mm-pitch “mini” FPC format as the Compute Module Development Kit, and require adapter cables to connect to the 15-way, 1 mm-pitch “standard” format connectors on current Raspbery Pi camera and display products.These mini-to-standard adapter cables for cameras and displays (note that a camera cable should not be used with a display, and vice versa) are available in 200 mm, 300 mm and 500 mm lengths.
ELEKTOR AIDE L'électronique dans des temps difficiles
AFFICHAGE D'INFORMATION POUR LA MAISON avec Windows sur le Raspberry Pi
DÉMARRER AVEC NODE-RED un outil de programmation open source basé sur des blocs visuels
LA tombola d'ÉTÉ d'ELEKTOR
GREATSCOTT ! CONSTRUIRE UN SYSTÈME D'ALARME LORA
REVUE : ALIMENTATION DE LABORATOIRE JOY-IT RD6006 (KIT)
REVUE : INTERFACEBOARD GREATFET ONE
QUI N'HONNE PAS LES PETITS – XXL de la boîte à suggestions d'Elektor
ANTENNE WIFI EXTERNE 2,4 GHZ POORLUIS
CONTRÔLE FACILE DE LA TEMPÉRATURE MARCHE/ARRÊT AVEC CHAPEAU RASPBERRY PI
COMMENT PRENDRE DE (BONNES) PHOTOS DÈS L'IMPRESSION... ...et les composants électroniques ?
REVUE : NOYAU I2CDRIVER
ÉCRAN TACTILE JOY-VIEW 13 DE JOY-IT
BOOSTER LED POUR MICROCONTRÔLEURS avec un seul composant !
MACHINE À LAVER À ULTRASONS EXPÉRIMENTALE
REVUE : GÉNÉRATEUR DE SIGNAUX JOY-IT JDS2915 générateur de signaux doubles avec compteur de fréquence dans un boîtier métallique
PROGRAMMATION DES FEUX DE SIGNALISATION EN LANGAGE PIC ASSEMBLY
LED CLIGNOTANT PERMANENT
CAPTEUR DE HALL EXPÉRIMENTAL
DÉTECTER LES COURT-CIRCUITS AVEC UN MILLIOHM OU ESR MÈTRE
KIT PRATIQUE ÉLECTRIQUE SDR
PIPELINE DE LABORATOIRES ÉLECTRIQUES
KICK-STARTER ÉLECTRIQUE ....eh bien, vous voyez ce que nous voulons dire.
AVEZ-VOUS VRAIMENT BESOIN DE TOUT ÇA ??? ici, je passe de nombreuses heures sur des projets électroniques...
LABORATOIRE EST OUEST MEILLEUR un aperçu du plus saint des saints, où naissent des projets intéressants
BONJOUR LE MONDE! NOUS SOMMES ELEKTOR ET NOUS SOMMES SOCIAUX
M4 + A7 + GPU : UNE ÉQUIPE DE RÊVE INÉGALE le nouveau SoC STM32MP1 pour les travaux plus lourds
CONFIGURATION DE TEST POUR LE 16F18877 ET AUTRES GRANDES PHOTOS
COMMUNICATION INTER-ΜC AVEC LE BUS SPI ET ATMEGA328P
SIX VARIANTES DE L'OSCILLATEUR LF/AF (et la capacité de M. Miller)
BBC MICRO:BIT oscilloscope absolument minimaliste avec affichage LED
FEU DE RUNNING À LED 'KNIGHT RIDER' AVEC ESP32
GÉNÉRATEUR DE SIGNAUX AM LW/MW AVEC ATTINY13
DIPMÈTRE ABSOLUMENT MINIMALISTE
SCOOTERS ÉLECTRIQUES BON MARCHÉ quelle est la qualité d'un scooter électrique « homologué » à 300 euros de Lidl ?
AIDE AU STATIONNEMENT À ULTRASONS AVEC ARDUINO UNO
PÉDALE DE DISTORSION AVEC AMPLI OP ET TUBES DE CHARGE SPATIALE
INDISPENSABLE POUR CHAQUE LABORATOIRE D'ÉLECTRONIQUE
HEXADOKU
IA POUR DÉBUTANTS (2) réseaux de neurones avec Linux et Python
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
NOUVEAU LCR-MÈTRE 50 HZ - 2 MHZpont de mesure d'impédance automatique pour mesurer la résistance, la capacité et l'inductance des composants ayant une impédance de 10 mΩ à 100 MΩCONNECTEZ VOTRE SONNETTE À L'INTERNET DES OBJETSavec Home Assistant et ESPHomeCOMMENT BIEN GÉRER MES BATTERIES ?Qui veut aller loin ménage son lithiumDÉMARRER EN ÉLECTRONIQUE (5)…est moins difficile qu'on ne l'imagine !ELLES SONT PETITES, MAIS FONT DE GRANDES CHOSESLes pépites d'ElektorFRITZING◦: GRAPHISME D'IMPLANTATION SUR PLAQUES D'ESSAISCONCEPTION DE FILTRES ANALOGIQUES (2)Filtres actifsDIS-MOI COMMENT TU RANGES TON LABO...Visite guidée dans le saint des saintsBUREAU D'ÉTUDES - ZONE DD comme développement, débrouille et dur-à-cuire Trucs et astuces, bonnes pratiques et autres informations utilesBANC D'ESSAI : OSCILLO À 4 VOIES RIGOL DS1054ZBOUGIE DE NOËL ÉLECTRONIQUESoufflez-la comme une vraie !GÉNÉRATEUR SINUSOÏDAL ACCORDABLE À TUBESLe retour du rétroBANC D'ESSAI : GÉNÉRATEUR DDS RIGOL DG4162GREFFONS ET MODULES DE KICADSONDE DE COURANT DIFFÉRENTIELLE POUR OSCILLO – 2.0Mesurer les courants avec l'oscilloscopeRÉTRONIQUE : LA BOUCLE D'INTERFACE HEWLETT-PACKARDConnecter le monde (en 1981) !APPRENTISSAGE AUTOMATIQUE : UN BEL AVENIREntretien avec Daniel SitunayakeAPPLICATIONS MOBILES POUR ANDROID ET IOSà partir d'un moule uniqueSUR LE VIFProfessions en déficit de main d'oeuvre5G : QUI FAÇONNE QUI, LES INFRASTRUCTURES OU LA SOCIÉTÉ ?La question n'est pas anodine, les conséquences non plusMULTITÂCHE EN PRATIQUE AVEC L'ESP32 (5)Notification d'événements de tâchesOSCILLATEUR HP 10811Un drôle de composant drôlement précisBALISE GPS LORAMatériel et logiciel libres et ouvertsJE PROGRAMME AVEC DES AUTOMATES FINISen assembleur et en C sur des PIC à 8 bitsHEXADOCU
Diese Ausgabe steht allen GOLD- und GREEN-Mitgliedern auf der ElektorMagazine-Website zum Download bereit!
Sie sind noch kein Mitglied? Hier klicken!
DIY-SolarakkusÜber den Selbstbau von Energiespeichern für Solaranlagen
Solarmodul-SimulatorFür Test und Optimierung von MPP-Trackern und Invertern
Der STM32-Edge-KI-WettbewerbEntdecken Sie den neuen STM32N6 und nehmen Sie am Wettbewerb um 5.000 € teil!
Erweiterung der BandlückeWarum gibt es so viel Interesse an SiC und GaN?
Power-Bank für NotebooksVerlängern Sie das Leben Ihres alten Laptops!
Medizinische RoboterÜberwindung technischer und regulatorischer Hürden
Frostwächter für ObstpflanzenMit Temperatur-Datenlogger
Das analoge DingDer Arduino des Analog-Computings?
Sparsames NetzrelaisMit über 90% Leistungsreduzierung
Verbesserung der DC-Last ET5410A+Keep cool and be quiet!
electronica 2024 im Rückblick
Elektromagnetische VerträglichkeitEMV kurz und bündig!
Aller Anfang......muss nicht schwer sein: Aktive Filter
Verlustleistung reduzieren mit AbleitkondensatorenEin cleverer Einsatz von kapazitiver Reaktanz
Preiswerter 12-Bit-Digital-Analog-Wandler MCP4725Mit EEPROM-Feature für sicheres Einschaltverhalten
Fnirsi LCR-ST1, die intelligente LCR-SMD-Pinzette
Test- und Messlabor mit Raspberry PiDas Wichtigste zuerst: Der ADC
Elektronischer LastwiderstandEin Projekt aus der Kiste
2025: Eine Odyssee in die KIEinige Projekte für das neue Jahr
Projekt-Update: Modulares DC-Leistungsmessgerät AmpVolt v2.0100 Ampere und mehr!
Projekt 2.0
Ethische Transparenz sichtbar gemachtErgebnisse der Umfrage 2024 von Ethics in Electronics
Elektor Audio-DSP FX-Prozessor-BoardTeil 2: Anwendungen erstellen
De mens is van nature uitgerust met sensoren voor geluid, licht, geur, smaak en gevoel. Zintuigen die met elektronica slechts ten dele gekopieerd kunnen worden. Met de Elektor sensorkit kunnen we wel aardig in de buurt komen.
Sensoren kunnen elektronica aansturen, maar ze kunnen ons ook van informatie voorzien. Daarom vormt niet alleen het meten van grootheden, maar ook het zichtbaar maken ervan via de Arduino seriële monitor een niet onbelangrijk deel van dit boek.
De microprocessor ATtiny85 die de Arduino-taal begrijpt, maakt het experimenteren met sensoren gemakkelijk en goedkoop. We zullen niet snel een Arduino-kaartje vast solderen in een permanente opstelling. Bij een achtpotige ATtiny zal dat geen schuldgevoel opleveren. Dat neemt niet weg dat alle sketches gewoon op elk Arduino-board draaien met mogelijk hier en daar een aanpassing van pennummers omdat die kunnen verschillen met reguliere Arduino-boards.
We zullen uitgebreid aandacht besteden aan het programmeren van de ATtiny. Veel schakelingen zijn bruikbaar in het natuurkundepracticum op school of voor bedrijfsmatige toepassingen. Maar de nadruk ligt toch wel op de (beginnende) elektronicahobbyist die zijn vrije tijd op een leuke maar vooral ook nuttige manier wil besteden. Want meer dan ooit tevoren heeft techniek de toekomst.