Der ideale Start für alle, die in die Welt der Elektronik und Mikrocontroller eintauchen möchten!
Dieses Sonderheft vermittelt auf verständliche und praxisnahe Weise die Grundlagen der Elektronik – kombiniert mit spannenden Projekten rund um den beliebten Arduino.
Statt trockener Theorie bietet dieses Heft viele leicht nachvollziehbare Experimente, die auf einem Steckboard und mit einem Arduino Uno umgesetzt werden können. So lernen Sie Schritt für Schritt, wie elektronische Bauteile funktionieren und wie Sie sie gezielt einsetzen, um eigene Projekte zu entwickeln.
Enthaltene Projekte
Strom & Spannung: Wie alles begann
Arduino-Hardware
Arduino-Programmierung
Der Stromkreis
Mit dem Multimeter messen
Schaltpläne und Experimentier boards
Schaltpläne erstellen
Breadboard ansichten mit Fritzing
Schaltungen online simulieren
Unverzichtbar: Widerstände (Teil 1)
Praxis mit Widerständen (Teil 2)
Veränderliche Widerstände
Dioden: Einbahnstraße für den Strom
Der Transistor-Schalter
Elektromagnetismus
Relais und Motoren
OpAmps: Operationsverstärker
Kondensatoren
Timer NE555
PWM und analoge Werte mit Arduino
7-Segment Temperatur anzeige
Einführung ins Löten und LCDs
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.
Wilt u in enkele minuten een programma maken op uw PC, dat communiceert met een microcontroller? Dit boek, samen met de Piccolino en gratis software, maakt dat mogelijk!
Als hardware wordt gebruik gemaakt van de Piccolino. Dit is een prototype platform met een moderne PIC16F887 microcontroller, dat gebruikt kan worden om razendsnel microcontroller opstellingen te maken. Alle basisvoorzieningen zijn aanwezig op de Piccolino, en door middel van de headers kunnen extra onderdelen eenvoudig aangesloten worden.
De Piccolino wordt geprogrammeerd met de krachtige maar eenvoudig te leren gratis programmeertaal JAL. Deze taal wordt zowel door hobbyisten als professionals gebruikt. Bovendien is een serie projectboeken in deze taal verkrijgbaar, en een lesboek waarmee u JAL kunt leren. Aan de PC kant wordt gebruik gemaakt van de eveneens eenvoudig te leren gratis programmeertaal Small Basic van Microsoft. Deze taal is speciaal ontwikkeld om snel Windows programma's te kunnen ontwikkelen, ook voor mensen die weinig of geen PC programmeer ervaring hebben. U leert verschillende technieken om een PC met een microcontroller te laten communiceren zoals losse communicatie, het versterken en verzwakken van signalen, verwerken van valse metingen, master-slave communicatie en synchronisatie met geforceerde reset.
Behalve theorie staan in het boek ook 15 leuke en praktische projecten. Door de duidelijke uitleg en instructies kunt u deze projecten zelf uitbreiden en helemaal aan uw eigen wensen aanpassen. Een paar voorbeelden uit het boek:
Meet signalen en toon ze op de PC
Maak een eigen muis of keyboard besturing.
Meet en analyseer componenten (Spoel / Condensator / Transistor / OPAMP) met automatische grafieken op uw PC.
Bestuur een servomotor vanaf de PC.
Verzamel metingen in de Piccolino en zet ze later over naar uw PC.
De combinatie van theorie en praktijkvoorbeelden in dit boek zorgt er voor dat u voor elk interface-probleem een oplossing bij de hand hebt, of weet hoe u er een moet maken.
Der Arduino Uno ist ein Open-Source-Mikrocontroller-Entwicklungssystem, das Hardware, eine integrierte Entwicklungsumgebung (IDE) und eine Vielzahl von Bibliotheken umfasst. Es wird von einer riesigen Gemeinschaft von Programmierern, Elektronikern, Enthusiasten und Akademikern unterstützt. Insbesondere die Bibliotheken erleichtern die Programmierarbeit und reduzieren die Entwicklungszeiten, da sie das Erstellen von Programmen erheblich erleichtern.
Der Raspberry Pi 4 kann in vielen Projekten wie Audio- und Videoanwendungen, aber auch in Industriesteuerungen, Robotik, Spielen usw. eingesetzt werden. Dazu bietet er auch WiFi- und Bluetooth-Fähigkeiten, wodurch er sich zudem hervorragend für internetbasierte Steuerungs- und Überwachungsanwendungen eignet.
In diesem Buch werden sowohl der Raspberry Pi 4 als auch der Arduino Uno in PID-basierten automatischen Steuerungsanwendungen eingesetzt. Nach einer grundlegenden Theorie der Regelsysteme werden funktionierende und getestete Projekte zur Steuerung realer Systeme mit PID-Reglern vorgestellt. Die Open-Loop-Eigenschaften, die Abstimmung der PID-Parameter und das Closed-Loop-Zeitverhalten der Systeme werden zusammen mit Blockdiagrammen, Schaltplänen und PID-Regelalgorithmen ausführlich diskutiert.
Vollständige Programme für den Raspberry Pi und den Arduino Uno runden die im Buch vorgestellten Projekte ab. Die Regelsysteme können problemlos auch auf andere Projekte angewendet werden und die für den Raspberry Pi 4 angegebenen Programme sollten auch mit anderen Modellen der Raspberry Pi-Familie reibungslos funktionieren.
Das Buch behandelt folgende Themen:
Steuer- und Regelsysteme
Analoge und digitale Sensoren
Übertragungsfunktionen und zeitkontinuierliche Systeme
Systemantwortfunktionen erster und zweiter Ordnung
Zeitdiskrete digitale Systeme
Zeitkontinuierliche PID-Regler
Zeitdiskrete PID-Regler
Zweipunkt-Temperaturregelung mit Raspberry Pi und Arduino Uno
PID-basierte Temperaturregelung mit Raspberry Pi und Arduino Uno
Motorsteuerung mit Raspberry Pi und Arduino Uno
Wasserstandsregelung mit Raspberry Pi und Arduino Uno
PID-basierte LED-Helligkeitsregelung mit Raspberry Pi und Arduino Uno
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?
This book is about DC electric motors and their use in Arduino and Raspberry Pi Zero W based projects. The book includes many tested and working projects where each project has the following sub-headings:
Title of the project
Description of the project
Block diagram
Circuit diagram
Project assembly
Complete program listing of the project
Full description of the program
The projects in the book cover the standard DC motors, stepper motors, servo motors, and mobile robots. The book is aimed at students, hobbyists, and anyone else interested in developing microcontroller based projects using the Arduino Uno or the Raspberry Pi Zero W.
One of the nice features of this book is that it gives complete projects for remote control of a mobile robot from a mobile phone, using the Arduino Uno as well as the Raspberry Pi Zero W development boards. These projects are developed using Wi-Fi as well as the Bluetooth connectivity with the mobile phone. Readers should be able to move a robot forward, reverse, turn left, or turn right by sending simple commands from a mobile phone. Full program listings of all the projects as well as the detailed program descriptions are given in the book. Users should be able to use the projects as they are presented, or modify them to suit to their own needs.
Specifications
Dual ARM Cortex-M0+ @ 133 MHz
264 kB on-chip SRAM in six independent banks
Support for up to 16 MB of off-chip Flash memory via dedicated QSPI bus
DMA controller
Fully-connected AHB crossbar
Interpolator and integer divider peripherals
On-chip programmable LDO to generate core voltage
2x on-chip PLLs to generate USB and core clocks
30x GPIO pins, 4 of which can be used as analogue inputs
Peripherals
2x UARTs
2x SPI controllers
2x I²C controllers
16x PWM channels
USB 1.1 controller and PHY, with host and device support
8x PIO state machines
What you'll get
10x bare RP2040 chips
Dit boek gaat over de Raspberry Pi, en over het programmeren in C. De programmeertaal C en het besturingssysteem Linux (Raspbian) passen uitstekend bij elkaar. Alles wat we nodig hebben om in C te programmeren wordt meegeleverd met het besturingssysteem van de Raspberry Pi.
In dit boek leert u hoe C gebruikt wordt met de Raspberry Pi, en krijgt u een overzicht van de taal.
WiringPi is een softwarebibliotheek voor de Raspberry Pi waarmee C hardware-uitbreidingen kan benaderen. Die bibliotheek wordt gebruikt om sensoren uit te lezen en om extra hardware aan te sturen. U gaat experimenteren met LED’s en schakelaars, met motoren, met geluid en met sensoren voor temperatuur, luchtdruk, en luchtvochtigheid.
Met een Linux-systeem kunt u een webserver maken, inclusief interactieve websites met PHP en WiringPi. Daarom is ook een beknopt overzicht van HTML en PHP in het boek opgenomen. In de voorbeelden worden sensoren via het web uitgelezen en worden apparaten bestuurd. In het laatste voorbeeld wordt een temperatuurlogger gemaakt. Die meet elk kwartier de temperatuur. Een tabel met de meetwaarden kan via het web worden uitgelezen.
Alle voorbeeldprogramma’s kunnen worden gedownload van de website van Elektor.
L'électronique est passionnée. C'est un plaisir amusant et instructif. Elle permet d'acquérir de nouvelles compétences, souvent utiles, à la maison et même au travail. Une expérience électronique avec ces circuits appropriés. Il donne vie à ses projets. Avant que le jour n'arrive, vous avez hâte de le voir ! Il est nécessaire de rassembler les articles pour la publication des articles du magazine d'électronique Elektor. Il sera le compagnon de vos progrès dans le monde de l'électronique.
Plus que commencer par l'électronique analogique. Vous pourrez découvrir les compositions et les circuits ainsi que les simples pour comprendre les fonctions, les interactions et les problèmes éventuels. La meilleure façon de progresser, c'est de faire des expériences réelles, car la théorie ne suffit pas. Un guide en direct pour un excellent guide de montages pratiques, notamment pour les débutants. Et pour en savoir plus, acquérir la meilleure expérience et connaissance.
La deuxième partie de la vie du monde du numérique électronique. En savoir plus sur l’utilisation des microcontrôles. Les effets des composants sont discrets grâce aux circuits intégrés des principaux composants des microcontrôleurs. La programmation à long terme de BASCOM, basée sur les pré-requis à la mise en œuvre d'Arduino, BBC micro:bit et d'autres, facilite la prise en compte de l'apprentissage. Voici une description détaillée des nombreuses applications des microcontrôleurs, abordables pour les néophytes. Ici, programmation et soudage font bon ménage !
Analoge schakelingen, sensors en microcontrollers
Elektronica is spannend. Het is een hobby die zowel leuk als leerzaam is. Het stelt je in staat om thuis of op het werk nieuwe en nuttige vaardigheden te leren. Een ervaren elektronicus ontwerpt zijn eigen schakelingen, en brengt zijn projecten tot leven. Maar voordat je zover bent, moet je eerst de basis onder de knie krijgen. Daarom brengt dit boek een groot aantal inleidende artikelen samen die in het elektronicatijdschrift Elektor zijn gepubliceerd. Het is je metgezel bij het leerproces in de wereld van de elektronica.
Het begint allemaal met analoge elektronica. Je zult de eenvoudigste componenten en circuits ontdekken om te begrijpen hoe ze werken, hoe ze op elkaar inwerken en de mogelijke problemen. De beste manier om vooruitgang te boeken is door echte experimenten uit te voeren, want theorie is niet genoeg. Dit boek begeleid je in een groot aantal praktische projecten voor beginners. Door ze te maken, doe je veel ervaring en kennis op.
Het tweede deel van het boek neemt je mee in de wereld van de digitale elektronica. De auteur bespreekt het gebruik van microcontrollers. Taken die voorheen werden uitgevoerd door discrete componenten of conventionele geïntegreerde schakelingen worden nu uitgevoerd door microcontrollers. De programmeertaal BASCOM, maar ook platforms als Arduino, BBC micro:bit en andere, maken dit leerproces veel gemakkelijker. Dit boek beschrijft in detail vele toepassingen van microcontrollers, die betaalbaar zijn voor de beginner. Hier gaan programmeren en solderen hand in hand!
Program and build RPi Pico-based ham station utilities, tools, and instruments
Although much classical HF and mobile equipment is still in use by large numbers of amateurs, the use of computers and digital techniques has now become very popular among amateur radio operators. Nowadays, anyone can purchase a €5 Raspberry Pi Pico microcontroller board and develop many amateur radio projects using the “Pico” and some external components. This book is aimed at amateur radio enthusiasts, Electronic Engineering students, and anyone interested in learning to use the Raspberry Pi Pico to shape their electronic projects. The book is suitable for beginners in electronics as well as for those with wide experience.
Step-by-step installation of the MicroPython programming environment is described. Some knowledge of the Python programming language is helpful to be able to comprehend and modify the projects given in the book. The book introduces the Raspberry Pi Pico and gives examples of many general-purpose, software-only projects that familiarize the reader with the Python programming language. In addition to the software-only projects tailored to the amateur radio operator, Chapter 6 in particular presents over 36 hardware-based projects for “hams”, including:
Station mains power on/off control
Radio station clock
GPS based station geographical coordinates
Radio station temperature and humidity
Various waveform generation methods using software and hardware (DDS)
Frequency counter
Voltmeter / ammeter / ohmmeter / capacitance meter
RF meter and RF attenuators
Morse code exercisers
RadioStation Click board
Raspberry Pi Pico based FM radio
Using Bluetooth and Wi-Fi with Raspberry Pi Pico
Radio station security with RFID
Audio amplifier module with rotary encoder volume control
Morse decoder
Using the FS1000A TX-RX modules to communicate with Arduino
Hebt u altijd al uw elektronicaproject willen aansturen vanuiteen kleurrijke app op een Android smartphone of tablet? Dat is mogelijk met het in dit boek beschreven Android I/O-board. Met de bijbehorende software-library kunt u in Android Studio eenvoudig zelf een app programmeren die dit mogelijk maakt.
Het Android I/O-board (los verkrijgbaar, wordt niet met boek meegeleverd!) bezit 22 pennen die u vanuit een app kunt aansturen als digitale I/O, ADC, PWM, touch-sensing en counter. Het Android I/O-board kan met de Android smartphone communiceren via Bluetooth, WiFi of USB. Het board is ook als datalogger te gebruiken. Kortom, dit is een veelzijdig board dat in ieder project past.
Dit boek beschrijft stap voor stap hoe u uw project tot een succes kunt maken. Het boek behandelt gestructureerd de volgende onderwerpen:
Een snelle handleiding hoe u uw Android I/O-board up and running krijgt.
Een uitleg van alle mogelijkheden van het Android I/Oboard, met uitgebreide voorbeelden bij de verschillende opties.
Een stap-voor-stap handleiding hoe u een app kunt programmeren in Android Studio.
Een beschrijving van de firmware op het Android I/O-board en hoe u dit zelf met MPLAB-X kunt aanpassen.
Voorbeeld-projecten om inspiratie op te doen hoe u uw eigen project kunt aansturen met het Android I/O-board.