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.
Master digital electronics – the hands-on way!
This bundle includes the book Learning Digital Electronics, featuring 20+ practical projects in Logic and Circuit design, as well as a 100-piece kit – so you can start building logic circuits, counters, displays, and more right away.
Learning Digital Electronics (Book)
This book is a practical guide to digital electronics, covering the essential components of modern digital systems: number systems, logic gates, Boolean algebra, combinational and sequential logic, and more.
Through more than 20 structured projects, you’ll design and build digital systems using real-world components such as logic gates, multiplexers, decoders, flip-flops, counters, and shift registers. The projects range from basic LED logic circuits to digital locks, display systems, traffic light controllers, and timing-based designs.
Selected projects introduce the use of tools such as CircuitVerse for circuit simulation, while several designs make use of 74HC-series logic devices, commonly used in digital hardware prototyping.
Inside, you’ll find:
Clear coverage of number systems and binary arithmetic
Logic gate fundamentals and universal gate implementations
Step-by-step projects using flip-flops, counters, and registers
Real-world design with 74HC-series logic chips
Techniques for designing combinational and sequential systems
This book takes a design-first, application-driven approach to digital electronics—built around working circuits, tested logic, and hands-on experimentation.
Learning Digital Electronics (Kit)
This kit has been specially developed to complement the book "Learning Digital Electronics". Since all necessary components are included, you can complete every practical project in the book directly.
Kit contents
2x 74HC08 AND gate chip
2x 74HC00 NAND gate chip
1x 74HC86 XOR gate chip
1x 555 timer chip
1x 74HC161 counter chip
1x 74HC164 shift register
1x CD4511 7-segment decoder
1x CD4027 JK flip-flop
1x BC337 NPN transistor
1x KPS-5161 7-segment common-cathode display
1x Light dependent resistor (LDR)
4x 10 KΩ resistors
8x 1 KΩ resistor
2x 47 KΩ resistors
1x 100 KΩ resistor
4x 2.7 KΩ resistors
1x 5.6 KΩ resistor
1x 150 KΩ resistor
1x 10 μF capacitor
2x 0.01 μF capacitor
2x 100 nF capacitor
8x Small red LED
1x Small green LED
1x Small orange LED
4x Pushbutton switches
1x Active buzzer
1x Battery holder for 3x AA batteries (batteries not included)
1x Breadboard
40x Male-to-male jumper wires (length: 200 mm)
Programmieren mit GNU Radio
HackRF ist eine Open-Source-Entwicklung von Great Scott Gadgets und dient als vielseitiges Frontend für Software Defined Radio (SDR). Mit HackRF One und dem Nachfolger HackRF Pro lassen sich eigene SDR-Anwendungen entwickeln, leistungsfähige Empfänger und Sender aufbauen sowie anspruchsvolle Aufgaben der HF-Messtechnik realisieren.
Dieses Buch eröffnet einen praxisnahen Einstieg in die Welt des Software Defined Radio. Schritt für Schritt zeigt der Autor, wie sich mit HackRF leistungsfähige SDR-Projekte umsetzen lassen – von den Grundlagen der HF-Technik bis hin zu anspruchsvollen Anwendungen mit GNU Radio.
Neben dem Umgang mit SDR Sharp (SDR#), RadioConda und GNU Radio vermittelt das Buch auch die Grundlagen moderner digitaler Signalverarbeitung. Zahlreiche Experimente und leicht nachvollziehbare Praxisbeispiele führen durch Themen wie AM-, FM- und SSB-Empfang, digitale Filter, Kurzwelle, Amateurfunk, Messsender und eigene HF-Projekte bis 6 GHz.
Ob Maker, Funkamateur, Elektronik-Enthusiast oder SDR-Einsteiger – dieses Buch vermittelt fundiertes Wissen, praxisnahe Anwendungen und die Motivation, die Möglichkeiten moderner SDR-Technik kreativ auszuschöpfen.
Praktischer Einstieg mit Arduino, GnuRadio und FPGA
Das Thema „Software Defined Radio“ ist facettenreich: Neben der Schaltungstechnik ist auch eine Einarbeitung in die Programmierung von Hardware und PC wichtig. Ein schrittweises Vorgehen erleichtert Ihnen den Einstieg. Mit dem im Buch vorgestellten modularen „RF Bricks“-Konzept werden Sie zum Architekten Ihrer Signalkette. Auf einem Chassis angeordnet gewährleisten die Module einen soliden und gut abgeschirmten Aufbau, den Sie einfach verändern und mit eigenen Ideen anreichern können.
Der skalierbare Aufbau bildet Ihr Blockschaltbild auch mechanisch ab – die so gewonnene Übersicht kann in der Aus- und Weiterbildung nützlich sein. Ein Arduino in Ihrem Chassis kommuniziert nach einigen Anpassungen mit üblichen SDR-Programmen, z. B. SDRCPP, GQRX und CubicSDR auf einer Linux-Plattform. Damit können Sie Ihren Empfänger direkt per Mausklick abstimmen.
Wenn Sie Blockschaltbilder mögen, ist GnuRadio ein natürlicher Partner der „RF Bricks“. Mit einem selbst programmierten Python-Block gelingt Ihnen in GnuRadio die Fernsteuerung Ihres Empfängers. Im GnuRadio-Universum können Sie Ihre GUI stufenweise ausbauen, behalten dabei aber immer volle Kontrolle über die inneren Abläufe des Programms.
Mit einem FPGA können zeitaufwändige Operationen auch direkt in die Hardware verlagert werden. Sie bauen stufenweise einen Doppelsuperhet auf und entwickeln die Filterkoeffizienten für FIR-Filter mit Scilab. Das in VHDL realisierte Weaver-Schema rundet diesen Empfänger ab, der mit hoher Empfindlichkeit und Dynamik aufwarten kann.
Mit dem gewonnen Überblick und Ihrer neuen Hardware können Sie die einzelnen Aspekte des Themenkomplexes SDR beliebig weiter vertiefen.
Downloads
Software
Die heutige Regelungstechnik hat Verknüpfungspunkte mit fast jedem technischen Gebiet. Ihre Anwendungen reichen von der Elektrotechnik über die Antriebstechnik und den Maschinenbau bis hin zur Verfahrenstechnik. Will man nun die Regelungstechnik anhand der fachlichen Regeln dieser einzelnen Gebiete erklären, so müsste man von einem Regelungstechniker verlangen, jedes Fachgebiet, in dem er Regelungen vornehmen will, fundiert zu beherrschen. Dies ist aber bei dem heutigen Stand der Technik nicht möglich.
Bei der Regelung einer Antriebsaufgabe, einer Druck- oder einer Temperaturregelung tauchen Gemeinsamkeiten auf, die man mit einer einheitlichen Vorgehensweise beschreiben kann. Die Grundgesetze der Regelungstechnik gelten in gleicher Weise für alle Regelkreise, ganz unabhängig davon, wie verschieden sie im Einzelnen auch apparativ aufgebaut sein mögen.
Dieses Buch richtet sich an den Praktiker, der gründlicher in die Regelungstechnik eindringen möchte, auf ausschweifende theoretische Exkursionen in die Mathematik aber gerne verzichten kann.
Worauf es bei der Lösung von Regelungsaufgaben eigentlich ankommt, ist nicht die Kenntnis vieler Formeln und Rechenverfahren, sondern das Erfassen der Zusammenhänge im Regelkreis. Genau diese beschreibt das vorliegende Buch in anschaulicher Form.
Parallel zur Theorie wird die Praxis von regelungstechnischen Vorgängen mit den Simulations-Tools WinFACT und Multisim ausführlich erläutert. Hiermit lassen sich sehr einfach Versuche mit regelungstechnischen Modulen und umfangreichen Messinstrumenten simulieren, Fehler aufspüren und Lösungen für die Praxis finden. Nebenbei entsteht so ein fundiertes Grundlagenwissen.
In dit boek gebruiken we JAL (Just Another Language) om de PIC-microcontroller te programmeren in 60 oefeningen. JAL is makkelijk in gebruik en is een goede basis om programmeren in andere talen snel te leren. Na het lezen en toepassen van de voorbeelden in dit boek kan iedereen die zich hierin serieus heeft verdiept met behulp van JAL zelf de microcontroller aansturen. Je leert onder meer het programmeren van timers, analoog/digitaal omzetters, comparators, pulsbreedte regeling voor motoren en geluid, LED- en LCD-scherm aansturing, USB-connectie en communicatiemogelijkheden met computers of andere microcontrollers.
Ook weet je aan het eind van het boek wat je moet doen om nu nog onbekende mogelijkheden te gaan toepassen. Met deze kennis kan iedereen van beginner tot meer gevorderde zijn creativiteit vorm geven in projecten met microcontrollers.
Wil je verder met leren programmeren dan legt dit boek ook een zeer goede basis. Wie goed met JAL overweg kan en zich de gestructureerde wijze van denken heeft aangeleerd, zal de stap naar andere programmeertalen zoals Python, C++ enz. kunnen maken. Ook het programmeren van minicomputers zoals de Raspberry Pi en Arduino zijn mogelijkheden.
Om te starten is geen kennis van elektronica nodig. Wie niets weet van elektronica, krijgt overal in het boek de noodzakelijke kennis aangereikt. Alle belangrijke en benodigde informatie staat in de tekst.
Programming and Projects for the Minima and WiFi
Based on the low-cost 8-bit ATmega328P processor, the Arduino Uno R3 board is likely to score as the most popular Arduino family member, and this workhorse has been with us for many years. Eleven years later, the long-overdue successor, the Arduino Uno R4, was released. It is built around a 48 MHz, 32-bit Arm Cortex-M4 microcontroller and provides significantly expanded SRAM and Flash memory. Additionally, a higher-precision ADC and a new DAC are added to the design. The Uno R4 board also supports the CAN Bus with an interface.
Two versions of the board are available: Uno R4 Minima, and Uno R4 WiFi. This book is about using these new boards to develop many different and interesting projects with just a handful of parts and external modules. All projects described in the book have been fully tested on the Uno R4 Minima or the Uno R4 WiFi board, as appropriate.
The project topics include the reading, control, and driving of many components and modules in the kit as well as on the relevant Uno R4 board, including
LEDs
7-segment displays (using timer interrupts)
LCDs
Sensors
RFID Reader
4x4 Keypad
Real-time clock (RTC)
Joystick
8×8 LED matrix
Motors
DAC (Digital-to-analog converter)
LED matrix
WiFi connectivity
Serial UART
CAN bus
Infrared controller and receiver
Simulators
… all in creative and educational ways with the project operation and associated software explained in great detail.
Comprehensive Book-Hardware Bundle for the RP2040 Microcontroller with over 80 Projects
Unlock the potential of modern controller technology with the Raspberry Pi Pico in this bundle. Perfect for both beginners and experienced users, the easy-to-follow guide takes you from the basics of electronics to the complexities of digital signal processing. With the Raspberry Pi Pico, the dedicated hardware kit and MicroPython programming, you will learn the key principles of circuit design, data collection, and processing.
Get hands-on with over 80 projects like a stopwatch with an OLED display, a laser distance meter, and a servo-controlled fan. These projects are designed to help you apply what you've learned in real-world scenarios. The book also covers advanced topics like wireless RFID technology, object detection, and sensor integration for robotics.
Whether you're looking to build your skills in electronics or dive deeper into embedded systems, this bundle is the perfect resource to help you explore the full potential of the Raspberry Pi Pico.
Contents of the Bundle
1x Project Book (273 pages)
1x Smart Car Kit
Electronic Parts
2x Solderless breadboard (400 holes)
1x Solderless breadboard (170 holes)
5x Colorful 5 mm LEDs (green, red, blue, yellow and white)
1x Laser transmitter
1x Passive buzzer
1x Micro USB cable (30 cm)
1x 65 Jumper wires
1x 20 cm male to female Dupont wire
1x Clear case
1x Magnet (diameter: 8 mm, thickness: 5 mm)
1x Rotary potentiometer
10x 2 KΩ resistors
2x M2.5x30 mm copper pillars
10x Phillips pan head screws
10x M2.5 nickel hex nuts
1x 2-inch dual-purpose screwdriver
Modules
1x RGB module
1x 9G servo
1x Dual-axis XY joystick module
1x RC522 RFID module
1x 4 Bits digital LED display module
1x Traffic light display module
1x Rotary Encoder module
1x 1602 LCD Display module (Blue)
1x Photoresistor module
1x DC motor with male Dupont wire
1x Fan blade
1x Raindrops module
1x OLED module
1x Membrane switch keyboard
1x Mini magnetic spring module
1x Infrared remote control
1x Infrared receiver module
1x DC stepper motor driver board
1x Button
Sensors
1x Vibration sensor
1x Soil moisture sensor
1x Sound sensor
1x Mini PIR motion sensor
1x Temperature & Humidity sensor
1x Flame sensor
2x Crash sensor
2x Tracking sensor
1x Ultrasonic sensor
Learning Embedded Systems with STM32 Nucleo Boards
Embedded programming has become more accessible than ever before. Development boards are inexpensive, software tools are easy to install, and the Arduino IDE provides a familiar environment for creating embedded applications. Combined with the STM32 Nucleo family of development boards, it offers an excellent platform for learning how modern microcontrollers interact with the physical world.
This book introduces embedded programming using the Arduino environment on STM32 Nucleo boards. You will learn how a microcontroller continuously reads inputs, processes information, and controls outputs in a predictable real-time loop. Through practical examples, you will discover how to control LEDs, read switches and sensors, generate PWM signals, drive motors, and exchange data with other devices, all while becoming familiar with the capabilities of STM32 microcontrollers.
Although the STM32 family includes devices with different performance levels, memory sizes, and peripheral sets, they all share the same architectural concepts. Digital and analog I/O, timers, interrupts, PWM, communication interfaces, and low-power operation are fundamental features found throughout the STM32 ecosystem. Understanding these building blocks will enable you to work confidently with a wide range of STM32 devices, from entry-level microcontrollers to more advanced applications.
By focusing on practical programming techniques rather than hardware complexity, this book develops skills that remain useful well beyond the examples presented. Whether you are taking your first steps in embedded systems or expanding your experience with STM32 microcontrollers, you will gain a solid understanding of both the Arduino development environment and the principles that underpin embedded software design.
Projects with Thonny-IDE, uPyCraft-IDE, and ESP32
The 'Python' programming language has enjoyed an enormous upswing in recent years. Not least, various single-board systems such as the Raspberry Pi have contributed to its popularity. But Python has also found widespread use in other fields, such as artificial intelligence (AI) or machine learning (ML). It is obvious, therefore, to use Python or the 'MicroPython' variant for use in SoCs (Systems on Chip) as well.
Powerful controllers such as the ESP32 from Espressif Systems offer excellent performance as well as Wi-Fi and Bluetooth functionality at an affordable price. With these features, the Maker scene has been taken by storm. Compared to other controllers, the ESP32 has a significantly larger flash and SRAM memory, as well as a much higher CPU speed. Due to these characteristics, the chip is not only suitable for classic C applications, but also for programming with MicroPython.
This book introduces the application of modern one-chip systems. In addition to the technical background, the focus is on MicroPython itself. After the introduction to the language, the programming skills learned are immediately put into practice. The individual projects are suitable for use in the laboratory as well as for everyday applications. So, in addition to the actual learning effect, the focus is also on the joy of building complete and useful devices. By using laboratory breadboards, circuits of all kinds can be realized with little effort, turning the testing and debugging of the 100% homebrew projects into an instructive pleasure.
The various applications, such as weather stations, digital voltmeters, ultrasound range finders, RFID card readers or function generators, make the projects presented ideally suited for practical courses or subject and study work in the natural sciences, or in science and technology classes.
Umfassendes Buch-Hardware-Bundle für den RP2040-Mikrocontroller mit über 80 Projekten
Entdecken Sie in diesem Bundle das Potenzial der modernen Controller-Technologie mit dem Raspberry Pi Pico. Das leicht verständliche Handbuch eignet sich sowohl für Anfänger als auch für erfahrene Benutzer und führt Sie von den Grundlagen der Elektronik bis hin zu den komplexen Aspekten der digitalen Signalverarbeitung. Mit dem Raspberry Pi Pico, dem speziellen Hardware-Kit und der MicroPython-Programmierung lernen Sie die wichtigsten Prinzipien des Schaltungsdesigns, der Datenerfassung und -verarbeitung.
Machen Sie praktische Erfahrungen mit über 80 Projekten wie einer Stoppuhr mit OLED-Display, einem Laser-Entfernungsmesser und einem servogesteuerten Lüfter. Diese Projekte sollen Ihnen helfen, das Gelernte in realen Szenarien anzuwenden. Das Buch behandelt auch fortgeschrittene Themen wie drahtlose RFID-Technologie, Objekterkennung und Sensorintegration für die Robotik.
Ganz gleich, ob Sie Ihre Kenntnisse in der Elektronik erweitern oder tiefer in eingebettete Systeme eintauchen möchten, dieses Bundle ist die perfekte Ressource, um das volle Potenzial des Raspberry Pi Pico zu erkunden.
Inhalt des Bundles
1x Projektbuch (287 Seiten)
1x Smart Car Kit
Bauteile
2x Lötfreies Steckbrett (400 Löcher)
1x Lötfreies Steckbrett (170 Löcher)
5x bunte 5-mm-LEDs (Grün, Rot, Blau, Gelb und Weiß)
1x Lasersender
1x Passiver Summer
1x Micro-USB-Kabel (30 cm)
1x 65 Überbrückungskabel
1x 20 cm männlicher auf weiblicher Dupont-Draht
1x Transparentes Gehäuse
1x Magnet (Durchmesser: 8 mm, Dicke: 5 mm)
1x Drehpotentiometer
10x 2 KΩ Widerstände
2x M2, 5x30 mm Kupfersäulen
10x Kreuzschlitz-Flachkopfschrauben
10x M2,5 Sechskantmuttern aus Nickel
1x 2-Zoll-Mehrzweckschraubendreher
Module
1x RGB-Modul
1x 9G-Servo
1x Dual-Achsen-XY-Joystick-Modul
1x RC522 RFID-Modul
1x 4-Bit-Digital-LED-Display-Modul
1x Ampel-Anzeigemodul
1x Drehgebermodul
1x 1602 LCD-Anzeigemodul (blau)
1x Fotowiderstandsmodul
1x Gleichstrommotor mit männlichem Dupont-Kabel
1x Lüfterflügel
1x Regentropfen-Modul
1x OLED-Modul
1x Membranschalter-Tastatur
1x Mini-Magnetfedermodul
1x Infrarot-Fernbedienung
1x Infrarot-Empfängermodul
1x DC-Schrittmotor-Treiberplatine
1x Button
Sensoren
1x Vibrationssensor
1x Bodenfeuchtesensor
1x Schallsensor
1x Mini-PIR-Bewegungssensor
1x Temperatur & Feuchtigkeitssensor
1x Flammensensor
2x Crash-Sensor
2x Tracking-Sensor
1x Ultraschallsensor
Learn to interface and program hardware devices in a wide range of useful applications, using ARM7 microcontrollers and the C programming language. Examples covered in full detail include a simple LED to a multi-megabyte SD card running the FAT file system.
Features of this book
Build prototype circuits on breadboard or Veroboard and interface to ARM microcontrollers.
A 32-bit ARM7 microcontroller is used in interfacing and software examples.
Interfacing principles apply to other ARM microcontrollers and other non-ARM microcontrollers as well.
Example programs are written in the C programming language.
Use only free or open source software.
Download and install all programming tools from the Internet.
Template project files are provided for easy project creation.
Hardware
Interface to LEDs, transistors, optocouplers, relays, solenoids, switches, keypads, LCD displays, seven segment displays, DC motors, stepper motors, external analogue signals using the ADC, RS232, RS-485, TWI, USB, SPI and SD memory cards.
Software
Once hardware has been interfaced to a microcontroller, software must be written to control the hardware. You will learn how to write programs to operate externally interfaced hardware devices, use timers and interrupts. Also learn how to port FAT file system code for use with an SD memory card, program the PWM to produce an audio sine wave, program the PWM to speed control a DC motor and more.
A chapter on more advanced ARM microcontrollers is included with an overview of some of the newest ARM microcontrollers and their features.