A Practical Guide to AI, Python, and Hardware Projects
Welcome to your BeagleY-AI journey! This compact, powerful, and affordable single-board computer is perfect for developers and hobbyists. With its dedicated 4 TOPS AI co-processor and a 1.4 GHz Quad-core Cortex-A53 CPU, the BeagleY-AI is equipped to handle both AI applications and real-time I/O tasks. Powered by the Texas Instruments AM67A processor, it offers DSPs, a 3D graphics unit, and video accelerators.
Inside this handbook, you‘ll find over 50 hands-on projects that cover a wide range of topics—from basic circuits with LEDs and sensors to an AI-driven project. Each project is written in Python 3 and includes detailed explanations and full program listings to guide you. Whether you‘re a beginner or more advanced, you can follow these projects as they are or modify them to fit your own creative ideas.
Here’s a glimpse of some exciting projects included in this handbook:
Morse Code Exerciser with LED or BuzzerType a message and watch it come to life as an LED or buzzer translates your text into Morse code.
Ultrasonic Distance MeasurementUse an ultrasonic sensor to measure distances and display the result in real time.
Environmental Data Display & VisualizationCollect temperature, pressure, and humidity readings from the BME280 sensor, and display or plot them on a graphical interface.
SPI – Voltmeter with ADCLearn how to measure voltage using an external ADC and display the results on your BeagleY-AI.
GPS Coordinates DisplayTrack your location with a GPS module and view geographic coordinates on your screen.
BeagleY-AI and Raspberry Pi 4 CommunicationDiscover how to make your BeagleY-AI and Raspberry Pi communicate over a serial link and exchange data.
AI-Driven Object Detection with TensorFlow LiteSet up and run an object detection model using TensorFlow Lite on the BeagleY-AI platform, with complete hardware and software details provided.
A Toolbox for Audio Lovers and Engineers
Without any ambition to reach scientific levels, this book aims to be a toolbox for both audio lovers and high-end equipment designers. The elementary theory presented is the bare minimum for readers to grasp the operation and practical use of electrical, electromagnetic, physics, and electronic operations available in the designers’ toolbox. Each tool is explained in a minimum of words and theory without needless coverage of underlying equations or figures.
The book chapters guide you through the process of designing quality amplifiers with vacuum tubes, from the very beginning, considering both technical and subjective requirements – in theory and practice.
The book is a compilation of the author’s notes used in his professional and educational career but was nevertheless primarily written as a result of true love for the audiophile hobby.
Hands-on in more than 50 projects
STM32 Nucleo family of processors are manufactured by STMicroelectronics. These are low-cost ARM microcontroller development boards. This book is about developing projects using the popular STM32CubeIDE software with the Nucleo-L476RG development board. In the early Chapters of the book the architecture of the Nucleo family is briefly described.
The book covers many projects using most features of the Nucleo-L476RG development board where the full software listings for the STM32CubeIDE are given for each project together with extensive descriptions. The projects range from simple flashing LEDs to more complex projects using modules, devices, and libraries such as GPIO, ADC, DAC, I²C, SPI, LCD, DMA, analogue inputs, power management, X-CUBE-MEMS1 library, DEBUGGING, and others. In addition, several projects are given using the popular Nucleo Expansion Boards. These Expansion Boards plug on top of the Nucleo development boards and provide sensors, relays, accelerometers, gyroscopes, Wi-Fi, and many others. Using an expansion board together with the X-CUBE-MEMS1 library simplifies the task of project development considerably.
All the projects in the book have been tested and are working. The following sub-headings are given for each project: Project Title, Description, Aim, Block Diagram, Circuit Diagram, and Program Listing for the STM32CubeIDE.
In this book you will learn about
STM32 microcontroller architecture;
the Nucleo-L476RG development board in projects using the STM32CubeIDE integrated software development tool;
external and internal interrupts and DMA;
DEBUG, a program developed using the STM32CubeIDE;
the MCU in Sleep, Stop, and in Standby modes;
Nucleo Expansion Boards with the Nucleo development boards.
What you need
a PC with Internet connection and a USB port;
STM32CubeIDE software (available at STMicroelectronics website free of charge)
the project source files, available from the book’s webpage hosted by Elektor;
Nucleo-L476RG development board;
simple electronic devices such as LEDs, temperature sensor, I²C and SPI chips, and a few more;
Nucleo Expansion Boards (optional).
Die Hobbyelektronik ist reizvoll, macht Spaß und bringt nützliche Erfahrungen, die auch im Beruf oder bei der Berufswahl entscheidend sein können. Wer die Elektronik von den Wurzeln her kennt, kann auch eigene Schaltungen entwerfen und Projekte entwickeln. Entscheidend ist, dass man sich auch den kleineren Problemen widmet, die ja auch in größeren Projekten immer wieder wichtig werden können.
Alles beginnt mit der analogen Elektronik. Man sollte die einfachsten Bauteile und Schaltungen genau kennen und ihr Verhalten sowie mögliche Probleme verstehen. Der beste Weg dazu sind reale Experimente, die Theorie allein reicht nicht. Dieses Buch bietet eine große Zahl praktisch nutzbarer Einsteiger-Schaltungen, mit denen jeder die nötigen Erfahrungen sammeln kann.
Mit der breiten Einführung von Mikrocontrollern wurde ein neues Kapitel der Elektronik aufgeschlagen. Immer mehr Aufgaben, die ursprünglich mit diskreten Bauelementen oder konventionellen ICs gelöst wurden, erledigt inzwischen ein Mikrocontroller. Der Einstieg ist dank Bascom, Arduino, micro:bit und Co. immer einfacher geworden. Das Buch zeigt zahlreiche überschaubare Mikrocontroller-Anwendungen. Ab jetzt wird weniger gelötet und mehr programmiert.
The Basics, New Ideas & Applications
Build digital electronics from the ground up—and take it all the way to practical circuits you can use.
This book guides you through the core principles of digital technology with a strongly hands-on approach. You’ll begin with the essentials: signals, devices for working with them, and what "logic 0" and "logic 1" mean in real hardware. Simple demonstration setups made from easy-to-find parts (LEDs, diodes, resistors, switches) help you see how logic behaves, making the theory click before you move on.
From there, you’ll explore a wide range of logic elements and how they’re implemented, including classic logic families such as TTL and CMOS. The fundamentals section covers the building blocks of digital systems: flip-flops, Schmitt triggers, registers, counters and dividers, encoders/ decoders, multiplexers/demultiplexers, plus A/D and D/A conversion and timing circuits.
Next, the book invites you into "new ideas" in digital electronics—universal logic elements, unconventional approaches (including thyristor-based and fractional logic), and creative logic functions that can inspire original designs.
Finally, a large, well-organized collection of application circuits turns knowledge into projects: electronic switches and selectors, pulse generators, PWM regulators, frequency multipliers/dividers, phase shifters, and digital filters.
Study it deeply, and you’ll gain not only understanding—but the ability to design and debug digital circuits independently.
If you have the right tools, designing a microprocessor shouldn’t be complicated. The Verilog hardware description language (HDL) is one such tool. It can enable you to depict, simulate, and synthesize an electronic design, and thus increase your productivity by reducing the overall workload associated with a given project.Monte Dalrymple’s Microprocessor Design Using Verilog HDL is a practical guide to processor design in the real world. It presents the Verilog HDL in a straightforward fashion and serves as a detailed introduction to reducing the computer architecture and as an instruction set to practice. You’re led through the microprocessor design process from start to finish, and essential topics ranging from writing in Verilog to debugging and testing are laid bare.The book details the following, and more:
Verilog HDL Review: data types, bit widths/labeling, operations, statements, and design hierarchy
Verilog Coding Style: files vs. modules, indentation, and design organization
Design Work: instruction set architecture, external bus interface, and machine cycle
Microarchitecture: design spreadsheet and essential worksheets (e.g., Operation, Instruction Code, and Next State)
Writing in Verilog: choosing encoding, assigning states in a state machine, and files (e.g., defines.v, hierarchy.v, machine.v)
Debugging, Verification, and Testing: debugging requirements, verification requirements, testing requirements, and the test bench
Post Simulation: enhancements and reduction to practice
Monte Dalrymple received a BSEE (with highest honors) and an MSEE from the University of California at Berkeley, where he was elected to Phi Beta Kappa. Monte started his career at Zilog, where he designed a number of successful products, including the Serial Communication Controller (SCC) family and the Universal Serial Controller (USC) family. He was also the architect and lead designer of the Z380 microprocessor. Monte started his own company, Systemyde International Corp., in 1995, and has been doing contract design work ever since. He designed all five generations of Rabbit microprocessors, a Z180 clone that is flying on the Juno mission to Jupiter, and a Z8000 clone that flies in a commercial avionics air data computer. Monte holds 16 patents as well as both amateur and commercial radio licenses. Monte wrote 10 articles for Circuit Cellar magazine between 1996 and 2010. He recently completed a side project to replace the CPU in an HP-41C calculator with a modern FPGA-based version.
A Practical Guide to Tube Electronics
Vacuum tubes continue to exert a special fascination. Their long-lasting operation, robustness, and characteristic behavior fundamentally distinguish them from modern semiconductor technology. Despite their age, tubes are by no means merely historical components; they are still used today in audio technology, measurement technology, and especially in hobbyist applications.
This book is aimed at electronics enthusiasts and hobbyists who want to not only learn about and understand vacuum tubes in theory, but also use them in practice. It conveys the fundamentals of tube technology, explains the different designs and designations, shows typical circuits, and addresses power supplies, measurements, and safety-related aspects. The focus is on practical explanations and realistic examples from the workshop. Numerous tips help you avoid typical mistakes, build circuits, and understand tube devices and their construction. Basic knowledge of electronics is assumed.
Vacuum Tubes: A Practical Guide to Tube Electronics offers an accessible and thorough introduction to tube technology – factual, comprehensible, and with a clear focus on practical applications.
This book details the use of the Arduino Uno and the Raspberry Pi 4 in practical CAN bus based projects. Using either the Arduino Uno or the Raspberry Pi with off-the-shelf CAN bus interface modules considerably ease developing, debugging, and testing CAN bus based projects.
This book is written for students, practicing engineers, enthusiasts, and for everyone else wanting 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 and Python programming languages and programming the Arduino Uno using its IDE and Raspberry Pi will be useful, especially if the reader intends to develop microcontroller-based projects using the CAN bus.
The book should be a useful source of reference material for anyone interested in finding answers to questions such as:
What bus systems are available for the automotive industry?
What are the principles of the CAN bus?
How can I create a physical 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 dependable is a CAN bus system?
What types of CAN bus controllers exist?
How do I use the MCP2515 CAN bus controller?
How do I create 2-node Arduino Uno-based CAN bus projects?
How do I create 3-node Arduino Uno-based CAN bus projects?
How do I set the acceptance masks and acceptance filters?
How do I analyze data on the CAN bus?
How do I create 2-node Raspberry Pi-based CAN bus projects?
How do I create 3-node Raspberry Pi-based CAN bus projects?
Dit boek bevat 50 leuke en spannende projecten met PIC microcontrollers zoals een laser alarm, USB plaagmuis, eierwekker, jongerenverjager, geluidsschakelaar, capacitieve vloeistofniveau meting, 'vinger in het water' sensor, bewaking van een ruimte met een camera, 220 volt lichtdimmer, pratende microcontroller en nog veel meer. Er komen talloze technieken aan de orde zoals relais, wisselstroomregeling (ook 220 volt), I2C, SPI, RS232, USB, puls breedte modulatie, rotary encoder, interrupts, infrarood, analoog-digitaal conversie (en andersom), 7-segment display en zelfs CAN bus.
U kunt dit boek gebruiken om de verschillende projecten na te bouwen en daarna in de praktijk te brengen. Door de duidelijke uitleg, schema's en zelfs foto's van de opstelling is het nabouwen een leuke bezigheid. Bij ieder project wordt uitgelegd waarom het juist op die manier is uitgevoerd, en wordt kort de theorie behandeld. U kunt dit boek dus gebruiken als studieboek, of als basis voor grotere en ingewikkeldere projecten. Alle schakelingen zijn op een steekbord uitgevoerd zodat uitbreiden en aanpassen gemakkelijk is.
De drie PIC microcontrollers die in dit boek gebruikt worden, zijn de 16f877A, 18f4455 en 18f4685. Daarnaast komt aan de orde hoe u de programma's van de ene naar de andere microcontroller kunt overzetten (er worden 15 types ondersteund) inclusief twee praktijkvoorbeelden.
Alle benodigde software kunt u gratis downloaden. Dat geldt ook voor de open source programmeertaal JAL. Deze krachtige maar toch eenvoudig te leren taal wordt zowel door hobbyisten als professionals gebruikt.
Dit boek is ook goed te gebruiken als naslagwerk. U kunt er de uitleg van alle opdrachten van de programmeertaal JAL in terugvinden, en tevens van de gebruikte uitbreidingsbibliotheken. Via de index vindt u gemakkelijk projecten die als voorbeeld kunnen dienen voor de belangrijkste JAL opdrachten. Zelfs wanneer u alle projecten een keer gemaakt hebt, zal dit boek nog lang een plekje naast uw PC behouden.
Ist ein solches Buch in Zeiten der Computer und Mikrocontroller noch aktuell? Die Antwort lautet eindeutig: Ja! Hierfür gibt es drei gewichtige Gründe.
Einmal ist die Theorie und der Aufbau analoger und digitaler Schaltungen nicht nur sehr lehrreich, sondern vermittelt auch unschätzbare Erfahrungen und Elektronik-Grundkenntnisse. Auch wenn zum anderen durch den technischen Fortschritt sich fast alle Anwendungen per Computer und Mikrocontroller realisieren lassen, ist es in vielen Fällen einfach 'overdressed' (um es neudeutsch auszudrücken). Einfacher und preiswerter wäre dann die konventionelle Lösung.
Schließlich sind Kenntnisse in der Elektronik Voraussetzung für den erfolgreichen Umgang mit der Mikrocontrollertechnik.
Apropos Grundkenntnisse: Dieses Buch enthält nicht nur Schaltungsvorschläge, sondern auch eine Reihe Artikel, die die theoretischen Grundlagen einer Schaltung verständlich beschreiben. Somit ist das vorliegende Buch nicht nur für Elektronik-Laien geeignet, sondern auch für all diejenigen, die sich aus beruflichen Gründen in die Materie einarbeiten möchten.
Aus dem Inhalt:
Wissenswertes über Strom und Spannung
Elektrizität und Magnetismus
Kondensatoren und Spulen
Halbleiter
Praktische Schaltungen für Labor und Werkstatt
Oszillatoren
Synthetische Klänge
Musik-Elektronik
Audio-Schaltungen
Opto-Elektronik
Haus- und Hof-Elektronik
Hochfrequenz
Spezial-ICs
Cool Projects for Test, Measurement, and Control
The Raspberry Pi has dominated the maker scene for many years. Freely accessible I/O pins have made it one of the most popular processor boards of all time. However, the classic Raspberry Pi has no analog inputs. Direct measurement of analog values is therefore not possible. Consequently, photodiodes, NTCs, Hall sensors, etc. cannot be read directly. In addition, the pins are connected directly to the exposed contacts, i.e. without a driver or protection circuit. This can quickly destroy the central controller and thus the entire Raspberry Pi.
These problems can be elegantly solved with the Pico. As a front-end, it can easily handle a wide range of measurement tasks. In addition, the Pico is much cheaper than a classic Raspberry Pi 4 or 5. If a faulty circuit leads to the destruction of the Pico, this is relatively easy to handle. This makes the combination of a classic Raspberry Pi 4 or 5 and the Pico an ideal pair.
The book introduces the broad and highly topical field of modern controller technology using the combined force of a Raspberry Pi 4 or 5 and a Raspberry Pi Pico. In addition to a detailed introduction to the operation and functionality of the controller boards themselves, the book also focuses on data acquisition and processing with digital processors. Especially the combination of both systems offers a wide range of interesting possibilities.
Some practical projects from the contents:
USB between Raspberry Pi 4 or 5 and Pico
I²C Communication and Pico as an I²C device
Voltmeter and Computer Thermometer
Pico W as a Web Server and WLAN Scanner
Frequency Meters and Generators
OLED Displays on Raspberry Pi 4 or 5 and Pico
Energy Saving Monitor
Which Astronauts are in Orbit?
Mini Monitor for Current Bitcoin Exchange Rate
De Formula Flowcode Robot is een combinatie van analoge en digitale elektronica. De robot zit boordevol sensoren en actuatoren, en is grafisch programmeerbaar met Flowcode-software. Hierdoor vormt het een leuk en motiverend platform om kennis te maken met moderne elektronica en technologie.
Via de robot en deze handleiding kun je op uitdagende manier kennis maken met basiselektronica. Onderwerpen die aan bod komen zijn analoog en digitaal, logische poorten, diode, LCD, microcontrollers, frequentie, sensoren, actuatoren, infrarood, meet- en regeltechniek, servomotoren, gelijkrichting, programmeren en nog veel meer.