Dieses Buch nimmt Sie mit auf eine Entdeckungsreise in die Welt der digitalen Elektronik. Nach dem Aufbau einer soliden Wissensbasis hierüber verlagert sich der Schwerpunkt zur programmierbaren Logik. Wie lassen sich mit vorhandenen Bausteinen logische Systeme aufbauen und wie koppelt man sie sicher und störungsfrei an die analoge Außenwelt? Das sind Fragen, die das Buch beantwortet.
Moderne logische Systeme sind so komplex, dass deren Aufbau mit separaten Bauelementen wie einzelnen Gattern, Flipflops, Zählern oder Teilern eine fast unmögliche Aufgabe ist. Deshalb beschäftigt sich das Buch in der zweiten Hälfte mit der programmierbaren Logik in Form von FPGA- und CPLD-ICs. Sie lernen Methoden kennen, die als Brücke zwischen dem klassischen Design und der zeitgemäßen Entwicklung mit FPGA fungieren. Neben dem schematischen FPGA-Entwurf setzt sich das Buch auch mit Sprachen wie Verilog und VHDL auseinander. Das abschließende Projekt, eine Uhr mit Alarmfunktion in Verilog und VHDL, zeigt den praktischen Nutzen der programmierbaren Logik.
Neben den erforderlichen Programmierkenntnissen ist auch der praktische Schaltungsaufbau von Bedeutung. Der Autor erläutert die wesentlichen Bedingungen hierfür, beispielsweise die der erforderlichen Stromversorgung und der optimalen (Analog-)Signalverarbeitung.
Alle in diesem Buch besprochenen Beispiele lassen sich mit der kostenfreien FPGA-Entwicklungsumgebung Quartus von Altera realisieren.
Schon jeder hat erlebt, dass bei medizinischen Untersuchungen nicht ausreichend erklärt wird, was durch und mit den eingesetzten Geräte konkret vor sich geht. Dieses Buch kann hier unterstützend eingreifen und beschreibt auf verständliche Weise, wie die Medizintechnik funktioniert. Sowohl diejenigen, die nur eine oberflächliche Erklärung suchen als auch der Personenkreis, der etwas tiefer ins Details gehen will, finden in diesem Buch eine Antwort auf viele Fragen.
Zunächst werden die biologischen Grundlagen soweit erklärt, wie sie für das weitere Verständnis nötig sind. Danach wird auf die biologische Messtechnik und die Messaufnehmer sowie auf die elektronische Verarbeitung eingegangen. Gerüstet mit diesem Wissen folgt dann die Beschreibung verschiedener Anwendungen (z. B. EKG, EEG, EMG, Biofeedback) anhand einfacher Schaltungen. Weitere Anwendungen, wie beispielsweise die Kernspintomografie und Bestrahlungen, runden das Buch ab.
Wer sich dieser Thematik auf eine eher spielerische Art und Weise annähern möchte, findet hier ein eigenes Kapitel, in dem faszinierende parapsychologische Effekte anhand von telekinetischen Anwendungen vorgestellt werden, wie z. B. eine gedankenmanipulierte Eisenbahnsteuerung.
Dieses E-Book enthält 53 originale Arduino-Artikel, die in der Zeitschrift Elektor zwischen März 2009 und Juli/August 2015 veröffentlicht wurden.
Das 268 Seiten umfassende PDF steckt voller Ideen, Erklärungen, Tipps, Grafiken, Programme, Platinenlayouts und vieles mehr. Die Artikel sind informativ, unterhaltsam und anregend zugleich. Lassen Sie sich inspirieren!
Das Inhaltsverzeichnis ist komplett verlinkt, so dass Sie Ihr gewünschtes Projekt sofort öffnen und lesen oder auch zwischen den Projekten schnell wechseln können.
Mastering the I²C Bus takes you on an exploratory journey of the I²C Bus and its applications. Besides the Bus protocol, plenty of attention is given to the practical applications and designing a stable system. The most common I²C compatible chip classes are covered in detail.
Two experimentation boards are available that allow for rapid prototype development. These boards are completed by a USB to I²C probe and a software framework to control I²C devices from your computer. All samples programs can be downloaded from the 'Attachments/Downloads' section on this page.
Projects built on Board 1:
USB to I²C Interface, PCA 9534 Protected Input, PCA 9534 Protected Output, PCA 9553 PWM LED Controller, 24xxx EEPROM Module, LM75 Temperature Sensor, PCA8563 Real-time Clock with Battery Backup, LCD and Keyboard Module, Bus Power Supply.
Projects built on Board 2:
Protected Input, Protected Output, LM75 Temperature Sensor, PCF8574 I/O Board, SAA1064 LED Display, PCA9544 Bus Expander, MCP40D17 Potentiometer, PCF8591 AD/DA, ADC121 A/D Converter, MCP4725 D/A Converter, 24xxx EEPROM Module.
Die WiFi-Module der chinesischen Firma Espressif haben schon längst die Maker-Community erobert, bieten sie doch zu einem konkurrenzlosen Preis MCU- und WiFi-Funktionalität. Mit einfachen Mitteln lässt sich ein Arduino mit einem ESP-Modul um WiFi erweitern. Die globale Bastler-Gemeinde ersetzte schon bald die integrierte Firmware mit eigener Firmware, sodass Entwickler ESP-Boards wie Arduino-Boards programmieren können. Der neue ESP32 geht einen Schritt weiter und ist in jeder Beziehung leistungsfähiger als der ESP8266. Zudem besitzt er nun Bluetooth-Funktionalität.
Der ESP32 verfügt über einen 240-MHz-Zweikern-Mikroprozessor mit einer Performanz von 600 DMIPS. Neben 520 KByte SRAM befinden sich 16 MByte Flashspeicher an Board. Zur Kommunikation mit der Außenwelt enthält das System-on-a-Chip die 802.11-b/g/n-WiFi-Komponente HT40 und Bluetooth-Funktionalität. Als Sensoren bietet der ESP32 einen Hall-Sensor, eine zehnfache, kapazitive Touch-Schnittstelle, einen analogen Verstärker für niedrige Signale und einen 32-kHz-Kristallquartz.
Der Bestseller-Autor Erik Bartmann hat sich ausführlich mit dem ESP32 beschäftigt. Heraus gekommen ist dabei Das ESP32-Praxisbuch, in dem er die Leser Schritt für Schritt in die Arbeit mit diesem preiswerten WiFi-Mikrocontroller einführt.
A Fast-Lane Ride From Concept to Project
The core of the book explains the use of the Raspberry Pi Zero 2 W running the Python programming language, always in simple terms and backed by many tested and working example projects. On part of the reader, familiarity with the Python programming language and some experience with one of the Raspberry Pi computers will prove helpful. Although previous electronics experience is not required, some knowledge of basic electronics is beneficial, especially when venturing out to modify the projects for your own applications.
Over 30 tested and working hardware-based projects are given in the book, covering the use of Wi-Fi, communication with smartphones and with a Raspberry Pi Pico W computer. Additionally, there are Bluetooth projects including elementary communication with smartphones and with the popular Arduino Uno. Both Wi-Fi and Bluetooth are key features of the Raspberry Pi Zero 2 W.
Some of the topics covered in the book are:
Raspberry Pi OS installation on an SD card
Python program creation and execution on the Raspberry Pi Zero 2 W
Software-only examples of Python running on the Raspberry Pi Zero 2 W
Hardware-based projects including LCD and Sense HAT interfacing
UDP and TCP Wi-Fi based projects for smartphone communication
UDP-based project for Raspberry Pi Pico W communication
Flask-based webserver project
Cloud storage of captured temperature, humidity, and pressure data
TFT projects
Node-RED projects
Interfacing to Alexa
MQTT projects
Bluetooth-based projects for smartphone and Arduino Uno communications
With Examples for Arduino UNO, Raspberry Pi Pico and ESP32
Programming small electronic systems has never been more accessible. Tasks that once demanded expensive tools, specialized hardware, and deep electrical engineering expertise can now be tackled with low-cost development boards and approachable software. At the centre of this shift is the Arduino environment, which provides a unified and familiar way to program a wide range of microcontroller platforms—from classic AVR boards like the Arduino UNO to modern ARM-based boards such as the Raspberry Pi Pico, and powerful Wi-Fi-enabled devices like the ESP32.
This book introduces embedded programming through the core idea that defines all microcontrollers: reading inputs, processing information, and controlling outputs in a predictable loop. The Arduino environment abstracts much of the hardware complexity, allowing you to focus on behaviour rather than implementation details. With just a few lines of code, you can blink LEDs, read sensors, control motors, and communicate with other devices.
While the Arduino UNO, Raspberry Pi Pico, and ESP32 boards differ greatly in performance and features, they share the same fundamental building blocks: digital and analog I/O, timers, serial communication, PWM, interrupts, and power management. Learning these concepts within the Arduino framework builds skills that transfer easily across platforms and scale toward more advanced applications.
By exploring multiple boards while maintaining a consistent programming approach, this book helps you progress from simple experiments to confidently produce well-structured designs—showing that embedded development can be both practical and enjoyable.
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.
Dieses Buch nimmt Sie mit auf eine spannende Tour durch die Entwicklung von Full-Stack-Webanwendungen mit Raspberry Pi. Sie lernen, wie Sie eine Anwendung von Grund auf erstellen.
Sie erwerben Erfahrung und Wissen über Technologien, darunter:
Das Linux-Betriebssystem und die Befehlszeile.
Die Programmiersprache Python.
Die GPIOs (General Purpose Input Output Pins) des Raspberry Pi.
Der Nginx-Webserver.
Flask Python-Mikroframework für Webanwendungen.
JQuery und CSS zum Erstellen von Benutzeroberflächen.
Umgang mit Zeitzonen.
Erstellen von Diagrammen mit Plotly und Google Charts.
Datenerfassung mit Google Sheet.
Entwickeln von Applets mit IFTTT.
Sichern Sie Ihre Anwendung mit SSL.
Empfangen Sie mit Twilio Textnachrichten auf Ihrem Telefon.
In diesem Buch erfahren Sie außerdem, wie Sie einen drahtlosen Arduino-Sensorknoten aus der Ferne einrichten und Daten von ihm sammeln. Ihre Raspberry Pi-Webanwendung kann Arduino-Knotendaten auf die gleiche Weise verarbeiten, wie sie Daten von ihrem integrierten Sensor verarbeitet.
Raspberry Pi Full Stack vermittelt Ihnen viele Fähigkeiten, die für die Erstellung von Web- und Internet-of-Things-Anwendungen unerlässlich sind.
Die Anwendung, die Sie in diesem Projekt erstellen, ist eine Plattform, die Sie erweitern können. Dies ist nur der Anfang dessen, was Sie mit einem Raspberry Pi und den Software- und Hardwarekomponenten tun können, die Sie lernen werden.
Dieses Buch wird vom Autor durch einen eigenen Diskussionsbereich unterstützt.
This is the second edition of a book aimed at engineers, scientists, and hobbyists who want to interface PCs with hardware projects using graphical user interfaces. Desktop and web-based applications are covered.
The programming language used is Python 3, which is one of the most popular languages around: speed of programming being a key feature. The book has been revised and updated with an emphasis on getting the user to produce practical designs with ease – a text editor is all that is required to produce Python programs.
Hardware interfacing is achieved using an Arduino Uno as a remote slave. A full description and source code of the communication interface is given in the book. The slave provides digital and analog input and outputs. Multiple Unos can be included in one project with all control code written in Python and running on a PC One project involves a PIC microcontroller with the code provided that can be loaded into the PIC using the Uno.
The web applications and server are all implemented in Python, allowing you to access your electronic hardware over the Internet. The Raspberry Pi computer can be used as your web server. An introductory chapter is provided to get you started with using Linux.
The book is written for use with Debian or variations including Mint or Ubuntu. All of the programs in the book are freely available, ready to use and experiment with by way of a download from Elektor.
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.
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.