This book is about advanced programming of the Raspberry Pi computer using the Python programming language. The book explains in simple terms and with examples:
How to configure the Raspberry Pi computer;
How to install and use the Linux operating system and the desktop;
How to write advanced programs using the Python programming language;
How to use graphics in our programs;
How to develop hardware based projects using the Raspberry Pi.
The book starts with an introduction to the Raspberry Pi computer and covers the topics of purchasing all the necessary accessories and installing and operating the Linux operating system in command mode. The network interface of the RPi is explained in simple steps, demonstrating how the computer can be accessed remotely from a desktop or a laptop computer.
The remaining parts of the book cover the Python programming language in detail, including advanced topics such as operating system calls, multitasking, interprocess synchronization and interprocess communication techniques. The important topic of network programming using UDP and TCP protocols is described with working examples. The Tkinter graphical user interface module (GUI) is described in detail with example widgets and programs.
The last part of the book includes hardware projects based on using the advanced programming topics such as multitasking and interprocess communication techniques. All the projects given in the book have been fully tested and are working. Complete program listings of all projects are provided with detailed explanations.
DIY LiPo Supercharger BundleGreatScott and Elektor's LiPo Charger, Booster, and Protector
MTheCamA Simple Mini Thermal Camera
Weller WE 1010Soldering Station
electronica Fast Forward 2020 Winners
I2S Test Signal Generator with AVR Microcontroller32-Bit 1-kHz Digital Sine, fs 192 kHz, Level Adjustable from 0 to -110 dB
Control Your Home with Raspberry PiRPi snoops on 433.92 MHz
Simulate Circuits Online
From Life's ExperienceThe Fine Line Between Order and Chaos
Starting Out in ElectronicsEasier Than imagined!
Homebrew CPUsThe Discrete Microcontroller
Connect Your Thermostat with ESPHomeAn Attempt at Doing Home Automation the Right Way
Developer’s ZoneTips & Tricks, Best Practices and Other Useful Information
Small Circuits RevivalFrom the Elektor suggestions box
Raspberry Pi Full StackRPi and RF24 at the heart of a sensor network
Practical ESP32 Multitasking (6)Event Groups
Multi-Channel Power Analyzer: Up to 3 Channels, with Graphic and Alphanumeric Display
Analogue Filter Design (Part 3)Passive Filters
JOY-iT VAX-1030Wireless Measurement Module
New LCR Meter 50 Hz - 2 MHz Part 2Operation, Calibration, and Firmware Programming
Error AnalysisTips on Voltage Regular Circuits, PCB Design, and More
The Open Hardware ObservatoryCommunity-Based Open Source Hardware Assessment
Java on the Raspberry PiAn Interview with Frank Delporte
Data Analysis and Artificial Intelligence in PythonInterpreting Real Data with NumPy, pandas and scikit-learn
Project 2.0Corrections, Updates and Readers’ letters
Getting to Know the Parallax Propeller 2 (Part 1)An Introduction
Hexadoku
Program and Build Raspberry Pi 5 Based Ham Station Utilities with the RTL-SDR
The RTL-SDR devices (V3 and V4) have gained popularity among radio amateurs because of their very low cost and rich features. A basic system may consist of a USB based RTL-SDR device (dongle) with a suitable antenna, a Raspberry Pi 5 computer, a USB based external audio input-output adapter, and software installed on the Raspberry Pi 5 computer. With such a modest setup, it is possible to receive signals from around 24 MHz to over 1.7 GHz.
This book is aimed at amateur radio enthusiasts and electronic engineering students, as well as at anyone interested in learning to use the Raspberry Pi 5 to build electronic projects. The book is suitable for both beginners through experienced readers. Some knowledge of the Python programming language is required to understand and eventually modify the projects given in the book. A block diagram, a circuit diagram, and a complete Python program listing is given for each project, alongside a comprehensive description.
The following popular RTL-SDR programs are discussed in detail, aided by step-by-step installation guides for practical use on a Raspberry Pi 5:
SimpleFM
GQRX
SDR++
CubicSDR
RTL-SDR Server
Dump1090
FLDIGI
Quick
RTL_433
aldo
xcwcp
GPredict
TWCLOCK
CQRLOG
klog
Morse2Ascii
PyQSO
Welle.io
Ham Clock
CHIRP
xastir
qsstv
flrig
XyGrib
FreeDV
Qtel (EchoLink)
XDX (DX-Cluster)
WSJT-X
The application of the Python programming language on the latest Raspberry Pi 5 platform precludes the use of the programs in the book from working on older versions of Raspberry Pi computers.
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.
Elektor GREEN en GOLD leden kunnen deze uitgave hier downloaden.
Nog geen lid? Klik hier om een lidmaatschap af te sluiten.
PbMonitor v1.0Een accu-bewakingssysteem voor UPS en energieopslag toepassingen
Zonne-laadregelaar met MPPT (1)basisprincipes van een zonne-laadregelaar voor autonome systemen
Integrerende B-veld magnetometermet zelfgemaakte sensoren
Precies of nauwkeurig?Je instrumenten moeten het allebei zijn!
AD7124 Een precisie-ADC in de praktijkEssentieel voor Sensorsignaalconditionering
PID-regeltoolGemakkelijk PID-parameters optimaliseren
embedded world 2025
Alle begin......gaat verder met de toonregeling
Academy Pro BoxBoek + onlinecursus + hardware
Milliohmmeter adapterGebruik de nauwkeurigheid van uw multimeter
De volgende sprong in halfgeleidersVoorwaarts naar 1,4nm
Through-hole connectorenHet beste van twee werelden: THR
FrequentietellerDraagbaar en Automatische Kalibratie met GPS
Analoge metersVreemde onderdelen, de serie
Stand-alone kristaltesterhoe nauwkeurig is uw kloksignaal?
Goedkope I²C-testersluit I²C-apparaten rechtstreeks op uw PC aan
Uit het leven gegrepenwie het kleine niet eert...
2025: een AI-odysseede transformerende invloed op softwareontwikkeling
Err-lectronicsCorrecties, updates en ingezonden brieven
Raspberry Pi standalone MIDI-synthesizer (2)We verbeteren onze setup met intelligentie
Norton-getransformeerde wienbrug-oscillatorkleine verandering, grote verbetering
Test van een 10-cent-controllerde CH32V003 RISC-V microcontroller en MounRiver Studio in de praktijk
Een FPGA-gebaseerde audiospeler met equalizer (2)volumeregeling, geavanceerd mixen en een webinterface
Diese Ausgabe steht allen GOLD- und GREEN-Mitgliedern auf der ElektorMagazine-Website zum Download bereit!
Sie sind noch kein Mitglied? Hier klicken!
Der Raspberry Pi 5Gegenüber seinem Vorgänger enorm verbessert
KI im ElektroniklaborSchaltungsdesign, Bauteil-Suche, Software
Funktionsgenerator mit dem Arduino NanoNano + Code = Funktionsgenerator
Solarbetriebene WeihnachtsgirlandeEine umweltfreundliche Lösung für die Dekoration Ihres Balkons
USB-Killer-DetektorBesser sicher als traurig
Ein einfaches CNC-GehäuseSchritt für Schritt mit Autodesk Fusion 360
Platinenproduktion in kleinen StückzahlenMit und ohne Bestückung
IoT-Simulation vereinfacht mit WokwiEntwickler Uri Shaked über Entwicklung, Software und mehr
Eine Anleitung zur Bare-Metal-ProgrammierungTeil 3: CMSIS-Header, automatische Tests und ein Webserver
LoRa, ein Schweizer TaschenmesserTeil 2: Hard- und Software
MEMS-MikrofoneEntwurf und Konstruktion eines Messmikrofons
Werkzeuge zum Ausprobieren, bevor Sie lötenSimulations- und 3D-Modellierungstools, die kostenlos genutzt werden können
Neue Tools von Microchip!Version 5 von PICkit und ICD jetzt erhältlich
Rapid Prototyping von flexibler, dehnbarer ElektronikWie Voltera NOVA Innovationen bei tragbaren elektronischen Systemen beschleunigt
Galvanische TrennungPhototransistor-Optokoppler erfolgreich einsetzen
Die komplexe Lösung oder die Lösung von Anybus?Embedded Industrial Ethernet als Kurzstrecke statt als Marathon
Ihre essentielle DFM-ChecklisteWie Sie mit dem Entwurf für die Fertigung beginnen
Filamente für den 3D-DruckArten, Eigenschaften und Verwendung im Prototyping
Spezialisten für eine effektive Signalauswertung von ELF bis EHF-BandAaronias neueste Echtzeit-Spektrumanalyzer der SPECTRAN® V6-Serie
Herausforderungen der DFM-Analyse für Flex- und Rigid-Flex-Design
Einrichten einer SMT-Fertigungsstrecke
Die richtige Kombination für die zuverlässige Baugruppe
Revolution in der IndustrieDer Aufstieg der Autonomen Mobilen Roboter (AMR)
Für höchste Anforderungen weiterentwickeltR&S MXO 5 mit acht Kanälen ergänzt Oszilloskope der nächsten Generation
Aller Anfang...... muss nicht schwer sein: Verstärkung von Unterschieden
Mini-Reflow-PlatteFür die Bestückung und die Reparatur kleiner SMD-Schaltungen
Starte nicht mit einem Prototyp – starte mit einem Pretotyp!Prüfe erst, ob es einen Markt für dein Produkt gibt, bevor du deinen Lötkolben vorwärmst
2023: Odyssee in die KIHilfe beim Entwerfen eines physikalischen Projekts erhalten
Innovationen aus BrüsselUnterstützung für die Spitzentechnologie
Book: Mastering the Arduino Uno R4
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.
Arduino Uno R4 WiFi
The Arduino Uno R4 is powered by the Renesas RA4M1 32-bit ARM Cortex-M4 processor, providing a significant boost in processing power, memory, and functionality. The WiFi version comes with an ESP32-S3 WiFi module in addition to the RA4M1, expanding creative opportunities for makers and engineers.
The Arduino Uno R4 runs at 48 MHz, which provides a 3x increase over the popular Uno R3. Additionally, SRAM has been upgraded from 2 kB to 32 kB, and flash memory from 32 kB to 256 kB to support more complex projects. Responding to community feedback, the USB port is now USB-C, and the maximum power supply voltage has been raised to 24 V with an enhanced thermal design. The board includes a CAN bus and an SPI port, enabling users to reduce wiring and perform parallel tasks by connecting multiple shields. A 12-bit analog DAC is also provided on the board.
Specifications
Microcontroller
Renesas RA4M1 (ARM Cortex-M4)
USB
USB-C
Programming Port
Pins
Digital I/O Pins
14
Pins
Analog input pins
6
DAC
1
RTC
1
PWM pins
6
Communication
UART
1x
I²C
1x
SPI
1x
Qwiic I²C connector
1x
CAN
1x CAN Bus
Power
Circuit operating voltage
5 V
Input voltage (VIN)
6-24 V
DC Current per I/O Pin
8 mA
Clock speed
Main core
48 MHz
Memory
RA4M1
256 kB Flash, 32 kB RAM
LED Matrix
12 x 8 (96 red LEDs)
Dimensions
68.9 x 53.4 mm
Downloads
Datasheet
Schematics
This bundle contains:
Book: Mastering the Arduino Uno R4 (normal price: €45)
Arduino Uno R4 WiFi (normal price: €30)
Elektor GREEN en GOLD leden kunnen deze uitgave hier downloaden.
Nog geen lid? Klik hier om een lidmaatschap af te sluiten.
De ESP-BLASTEen mini ESP32 raketdrone die ruim 100 km/u vliegt
STM32Cube Innovation-ChallengeDoe mee met je beste STM32C5-ontwerp
Wireless workshop (1)Radiomodules uitgelegd: 433 MHz CC1101 sub-GHz-transceiver
AM-zenderMet sinus- en blokgolfgenerator op Raspberry Pi Pico
AudiotronicaDe vervormingsfactor
CoffeeCallerOmroepsysteem met mesh-netwerk en Zephyr gebaseerde software
Elektor wordt 65Projecten uit voorgaande september- en oktobermaanden
Bluetooth Channel Sounding voor het volgen van objectenAfstandsmeting met centimeterprecisie voor het IoT van de volgende generatie
2026: Een AI-odysseeKwantumcomputing is geen volgende GPU
Om de cloud te beveiligen, is edge-beveiliging nodig
Eerste ervaringen met de HackRF ProPraktische tests met de nieuwe SDR-hardware
Modemupgrade van GPRS/2G naar LTE/4GEen draadloos alarmsysteem als voorbeeld
Lusvormige antenne met RF-bouwstenenDeel 1: Een zelfbouw kortegolfantenne met instelbare richtingsgevoeligheid
Internetradio naar AM-converterMet een ESP32-S3 als zender
Err-lectronics
Mioty, een overzichtFraunhofer's aanpak van LPWAN
WerkbankwijsheidPraktische tips van experts
Walter, de compacte IoT-moduleDeel 2: Toegang tot weer- en datadiensten
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.
The Raspberry Pi is a $35 credit-card sized computer with many applications, such as in desktop computing, audio and video playback, and as a controller in many industrial, commercial and domestic applications.
This book is about the Raspberry Pi computer and its use in control applications. The book explains in simple terms, with examples, how to configure the RPi, how to install and use the Linux operating system, how to write programs using the Python programming language and how to develop hardware based projects.
The book starts with an introduction to the Raspberry Pi computer and covers the topics of purchasing all the necessary equipment and installing/using the Linux operating system in command mode. Use of the user-friendly graphical desktop operating environment is explained using example applications. The RPi network interface is explained in simple steps and demonstrates how the computer can be accessed remotely from a desktop or a laptop computer.
The remaining parts of the book cover the Python programming language, hardware development tools, hardware interface details, and RPi based hardware projects. All the 23 projects given in the book have been tested and are working.
The following headings are given for each project:
Project title
Project description
Project block diagram
Project circuit diagram
Project program description using the Program Description Language (PDL)
Complete program listing
Description of the program
The book is ideal for self-study, and is intended for electronic/electrical engineering students, practising engineers, research students, and hobbyists.
Nahezu alle Menschen werden zunehmend mit den Anwendungen der „Künstlichen Intelligenz“ (KI oder AI für engl. Artificial Intelligence) konfrontiert. Musik- oder Videoempfehlungen, Navigationssysteme, Einkaufsvorschläge etc. basieren auf Verfahren, die diesem Bereich zugeordnet werden können.
Der Begriff „Künstliche Intelligenz“ wurde 1956 auf einer internationalen Konferenz, dem Dartmouth Summer Research Project geprägt. Eine grundlegende Idee war dabei, die Funktionsweise des menschlichen Gehirns zu modellieren und darauf basierend fortschrittliche Computersysteme zu konstruieren. Bald sollte klar sein, wie der menschliche Verstand funktioniert. Die Übertragung auf eine Maschine wurde nur noch als ein kleiner Schritt angesehen. Diese Vorstellung erwies sich als etwas zu optimistisch. Dennoch sind die Fortschritte der modernen KI, beziehungsweise ihrem Teilgebiet dem sogenannten „Machine Learning“, nicht mehr zu übersehen.
Um die Methoden des Machine Learnings näher kennenzulernen, sollen in diesem Buch mehrere verschiedene Systeme zum Einsatz kommen. Neben dem PC werden sowohl der Raspberry Pi als auch der „Maixduino“ in den einzelnen Projekten ihre Fähigkeiten beweisen. Zusätzlich zu Anwendungen wie Objekt- und Gesichtserkennung entstehen dabei auch praktisch einsetzbare Systeme wie etwa Flaschendetektoren, Personenzähler oder ein „Sprechendes Auge“.
Letzteres ist in der Lage, automatisch erkannte Objekte oder Gesichter akustisch zu beschreiben. Befindet sich beispielsweise ein Fahrzeug im Sichtfeld der angeschlossenen Kamera, so wird die Information „I see a car!“ über elektronisch erzeugte Sprache ausgegeben. Derartige Geräte sind hochinteressante Beispiele dafür, wie etwa auch blinde oder stark sehbehinderte Menschen von KI-Systemen profitieren können.