Projects with Arduino Uno & Raspberry Pi with Examples for the MCP2515 CAN Bus Interface Module
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?
Vom Messwert zur stabilen Entscheidung
Wie wird aus einem einfachen Mikrocontroller ein intelligentes System, das Sensorwerte erfasst, verarbeitet und sinnvoll darauf reagiert? Dieses Buch zeigt es Ihnen Schritt für Schritt – verständlich, praxisnah und ohne unnötige Vorkenntnisse.
Sie beginnen mit den Grundlagen der digitalen und analogen Ein- und Ausgänge. Anschließend lernen Sie, wie Sensorwerte gelesen, geglättet und zuverlässig bewertet werden. Anschauliche Beispiele erklären, warum einzelne Messwerte oft täuschen können und wie Mittelwertbildung, Hysterese und einfache Entscheidungsregeln für stabile Ergebnisse sorgen. Nach und nach erweitern Sie Ihre Projekte um Displays, I²C-Kommunikation und mehrere vernetzte Mikrocontroller. So entstehen verteilte Systeme, in denen Raspberry Pi Pico und ATtiny-Controller Daten austauschen und gemeinsam Aufgaben übernehmen.
Im fortgeschrittenen Teil erhalten Sie einen leicht verständlichen Einstieg in Merkmalsbildung, Datenvorverarbeitung, hybride Entscheidungsmodelle und TinyML-nahe Anwendungen. Dabei verbinden Sie klassische Regelungstechnik mit modernen datenbasierten Methoden.
Alle Projekte werden von ausführlich kommentierten Programmen in C und MicroPython begleitet. Das Buch richtet sich an Einsteiger, Maker, Studierende und alle, die Embedded-Systeme von Grund auf verstehen möchten.
Am Ende können Sie eigene Systeme entwickeln, die nicht nur messen, sondern Informationen auswerten, zuverlässige Entscheidungen treffen und gezielt reagieren.
From basics to flows for sensors, automation, motors, MQTT, and cloud services
This book is a learning guide and a reference. Use it to learn Node-RED, Raspberry Pi Pico W, and MicroPython, and add these state-of-the-art tools to your technology toolkit. It will introduce you to virtual machines, Docker, and MySQL in support of IoT projects based on Node-RED and the Raspberry Pi Pico W.
This book combines several elements into a platform that powers the development of modern Internet of Things applications. These elements are a flow-based server, a WiFi-enabled microcontroller, a high-level programming language, and a deployment technology. Combining these elements gives you the tools you need to create automation systems at any scale. From home automation to industrial automation, this book will help you get started.
Node-RED is an open-source flow-based development tool that makes it easy to wire together devices, APIs, and online services. Drag and drop nodes to create a flowchart that turns on your lights at sunset or sends you an email when a sensor detects movement. Raspberry Pi Pico W is a version of the Raspberry Pi Pico with added 802.11n Wi-Fi capability. It is an ideal device for physical computing tasks and an excellent match to the Node-RED.
Quick book facts
Project-based learning approach.
Assumes no prior knowledge of flow-based programming tools.
Learn to use essential infrastructure tools in your projects, such as virtual machines, Docker, MySQL and useful web APIs such as Google Sheets and OpenWeatherMap.
Dozens of mini-projects supported by photographs, wiring schematics, and source code. Get these from the book GitHub repository.
Step-by-step instructions on everything.
All experiments are based on the Raspberry Pi Pico W. A Wi-Fi network is required for all projects.
Hardware (including the Raspberry Pi Pico W) is available as a kit.
Downloads
GitHub
Principles, Systems, and Electronics
This handbook provides a detailed study of the sensors and actuators at the heart of modern vehicle electronics. It begins with basic electrical and electronic concepts, introducing the principles and terminology essential for understanding automotive systems.
The book explores sensors and actuators on a system-by-system basis, including:
Fundamentals of electrical engineering, electromagnetic phenomena, and motor principles
Passive and active electronic components, integrated circuits, protection devices, and automotive-grade electronics
Sensor characteristics, signal conditioning, ADCs, PWM and frequency outputs, and interface adaptation
Automotive communication links and protocols, including LIN and SENT
Engine sensors: air mass, pressure, temperature, speed, position, exhaust and emissions-related sensors
Transmission sensors for manual and automatic systems
Steering and suspension sensors for conventional and active systems
Vehicle body and electrical system sensors for comfort, climate, access, and monitoring functions
Engine actuators such as throttle bodies, injectors, turbo actuators, EGR systems, ignition components, and pumps
Transmission, brake, steering, suspension, and body actuators
Identification and coding of electronic components and packages commonly used in automotive applications
The structure and operating principles of each component are explained, with relevant electronic circuitry illustrated. Its system-oriented organization and practical focus make it a valuable reference for understanding, testing, and troubleshooting automotive electronic systems.
This upgraded version 2.0 (available exclusively from Elektor) contains the following improvements:
Enhanced protective earthing (PE) for furnace chassis
Extra thermal insulation layer around furnace to reduce odors
Connection to a computer, allowing curve editing on a PC
Features such as constant temperature control and timing functions
The infrared IC heater T-962 v2.0 is a microprocessor-controlled reflow oven that you can use for effectively soldering various SMD and BGA components. The whole soldering process can be completed automatically and it is very easy to use. This machine uses a powerful infrared emission and circulation of the hot air flow, so the temperature is being kept very accurate and evenly distributed.
A windowed drawer is designed to hold the work-piece, and allows safe soldering techniques and the manipulation of SMDBGA and other small electronic parts mounted on a PCB assembly. The T-962 v2.0 may be used to automatically rework solder to correct bad solder joints, remove/replace bad components and complete small engineering models or prototypes.
Features
Large infrared soldering area
Effective soldering area: 180 x 235 mm; this increases the usage range of this machine drastically and makes it an economical investment.
Choice of different soldering cycles
Parameters of eight soldering cycles are pre defined and the entire soldering process can completed automatically from Preheat, Soak and Reflow through to cool down.
Special heat up and temperature equalization with all designs
Uses up to 800 Watts of energy efficient Infrared heating and air circulation to re-flow solder.
Ergonomic design, practical and easily operated
Good build quality but at the same time light weight and a small footprint allows the T-962 v2.0 to be easily bench positioned transported or stored.
Large number of available functions
The T-962 v2.0 can solder most small parts of PCB boards, for example CHIP, SOP, PLCC, QFP, BGA etc. It is the ideal rework solution from single runs to on-demand small batch production.
Specifications
Soldering area (max)
180 x 235 mm (7.1 x 9.3")
Power (max)
800 W
Temperature range
0-280°C (32-536°F)
Heating method
Infrared
Processing time
1~8 minutes
Power supply
220 V AC/50 Hz
Display
LCD with Backlight
Control mode
8 intelligent temperature curves
Dimensions
310 x 290 x 170 mm (12.2 x 11.4 x 6.7")
Weight
6.2 kg
Included
1x T-962 v2.0 Reflow Soldering Oven (Elektor Version)
2x Fuses
1x Power cord (EU)
From Simple Ciphers to Secure Systems
Understanding how to apply cryptography on modern microcontrollers is essential for building secure, reliable, and trustworthy systems. This book explains cryptography in the context of embedded hardware, from classical ciphers that illustrate core principles to modern techniques such as AES for practical high-security applications.
By combining mathematical theory with real-world microcontroller implementations, readers learn not only how cryptography works, but also how to implement it effectively on systems with limited processing power and memory. The book is intended for students starting out in cryptography, hobbyists securing personal projects, and engineers looking for a structured guide to embedded security.
The book covers these key topics in applied cryptography:
Classical ciphers on Arduino Uno and Raspberry Pi Pico, with full programs: Spartan Scytale, Hebrew Atbash, Caesar, ROT13, Alberti Disk, Vigenère, Affine, Polybius, Playfair, Beaufort, Ottoman Codebook, and One-Time Pad.
Hacking classical ciphers using microcontrollers, with examples.
Pseudo-random (PRNG) and true random number generation (TRNG) on microcontrollers.
Symmetric-key cryptography with full programs: DES and AES-128/256.
Memory and speed constraints of cryptography on microcontrollers.
Asymmetric cryptography: public/private keys, digital signatures, key distribution and derivation (KDF), RSA, and SHA-256 implementations.
A complete secure communication program using RSA and AES-256.
A glossary of commonly used cryptography terms.
61 pagina's met de beste Raspberry Pi artikelen en projecten uit Elektor Magazine:
Windows op de Raspberry Pi (1)
Windows op de Raspberry Pi (2)
Windows op de Raspberry Pi (3)
Raspberry Pi wobbulator
Raspberry-Pi-emulator
Raspberry-Pi-voltmeter
Raspberry Pi prototyping-board
Visual Basic op de Raspberry Pi
RPi meet energieverbruik
Voor Linux-board en Raspberry Pi
Maak uw eigen I2C-device voor de Raspberry Pi
SD-kaart-upgrade voor RPi model 2
Mini-workshop GestIC & 3D-touchpad (2)
Surfen op de golven van de RPi
ATmega op het web (1)
ATmega op het web (2)
From SRPP and Mu-Follower to OTL Designs
Tube amplifiers suffer from distortion. Fortunately, circuits such as the SRPP amplifier, mu-follower, and beta-follower produce minimal distortion even at output voltages of 50 to 100 Vpeak.
These designs are often published with errors. Without a sound understanding of the theory, it is easy to arrive at a flawed design.
In the first section of this book, we investigate the origin of distortion, while in the second we investigate the design of and SRPP and a mu-follower.
On the internet we can find the most exotic designs. Evaluating them teaches us that these designs often make matters worse rather than better. In the chapter on incorrect SRPPs and mu-followers, we sometimes see bizarre and misguided designs where using a simple single-triode amplifier would perform much better.
Push-pull output stages also exist. A great number of them are examined, and their similarity to the SRPP is discussed. This is done especially with the help of the theory behind the OTL based on the ‘mother’ of all OTLs, the Philips HF303.
Finally, attention is given to frequency characteristics and technical matters such as the supply voltage and the filament power supply.
To illustrate these points, there are a few designs covering the subjects discussed.
This book presents much new theory that has not been published before. It is often an eye-opener, showing that many things have a beautiful and unexpected simplicity.
Das Konstruieren und Aufbauen von Lautsprecherboxen ist zugleich Wissenschaft und Kunst“. Nur mit fundiertem Grundlagenwissen wird es gelingen, Frequenzweichen und Gehäuseabmessungen optimal abzustimmen. Aber alle Sorgfalt bei der Berechnung und Konstruktion garantiert keinesfalls, dass die Lautsprecher dann auch perfekt klingen. Hier helfen nur ausgiebige Hörtests, präzise Messungen und etwas Intuition.
In diesem Buch beschreibt der Autor einfache und bewährte Methoden, die idealen Chassis auszuwählen, die passenden Gehäuseabmessungen zu bestimmen und der Traumbox ein professionelles Äußeres zu geben. Neben der ausführlichen Beschreibung der Gehäusevarianten, Frequenzweichen und der gängigen Messmethoden wird auch der Intuition Rechnung getragen. Dazu dienen viele Beispiele der Simulation und Optimierung mit Hilfe des Personalcomputers, der heute als Werkzeug bei der Konstruktion von Lautsprecherboxen eine große Rolle spielt. Mit diesem Werkzeug lassen sich in kurzer Zeit mehr Variationen durchleuchten, als es bei dem traditionellen Verfahren von „Versuch und Irrtum“ möglich ist. Weiterhin beschreibt das Buch auch den Einfluss verschiedener Stoffe zur Bedämpfung des Gehäusein-nern, der gerade bei den beliebten Transmission-Line-Gehäusen – aber auch bei den sogenannten ventilierten Gehäusen – von besonderer Bedeutung ist. Eigenheiten der Boxenkonstruktion für Heimkino-Anlagen und für anspruchsvolles Car-Hifi werden jeweils in einem gesonderten Kapitel behandelt.
Die vorliegende überarbeitete und erweiterte Neuauflage dieses Standardwerkes enthält zahlreiche neue Informationen, u. a. 214 neue Abbildungen und 83 weitere Literaturverweise. Außerdem ein vollständig neues Kapitel mit der Konstruktion und dem Aufbau zweier Lautsprecher-Projekte: ein komplettes System für die Surround-Wiedergabe sowie die Beschreibung eines Paares hochwertiger Studio-Monitore.
An Introduction to RISC-V
RISC-V is an Instruction Set Architecture (ISA) that is both free and open. This means that the RISC-V ISA itself does not require a licensing fee, although individual implementations may do so. The RISC-V ISA is curated by a non-profit foundation with no commercial interest in products or services that use it, and it is possible for anyone to submit contributions to the RISC-V specifications. The RISC-V ISA is suitable for applications ranging from embedded microcontrollers to supercomputers.
This book will first describe the 32-bit RISC-V ISA, including both the base instruction set as well as the majority of the currently-defined extensions. The book will then describe, in detail, an open-source implementation of the ISA that is intended for embedded control applications. This implementation includes the base instruction set as well as a number of standard extensions.
After the description of the CPU design is complete the design is expanded to include memory and some simple I/O. The resulting microcontroller will then be implemented in an affordable FPGA development board (available from Elektor) along with a simple software application so that the reader can investigate the finished design.
A Handbook on DIY
Nowadays, security problems are rarely properly solved or correctly addressed. Electronic security is only part of the chain in making a system secure. Electronic security is usually addressed as network or software security, neglecting other aspects, but the chain is only as strong as its weakest link.
This book is about electronic hardware security, with an emphasis on problems that you can solve on a shoestring DIY budget. It deals mostly with secure communications, cryptosystems, and espionage. You will quickly appreciate that you can’t simply buy a trustworthy and reliable cryptosystem off the shelf. You will then realise that this applies equally to individuals, corporations, and governments.
If you want to increase your electronic security awareness in a world already overcrowded with networks of microphones and cameras, this is a book for you. Furthermore, if you want to do something DIY by designing and expanding upon simple electronic systems, please continue reading. Some of the devices described are already published as projects in the Elektor magazine. Some are still ideas yet to be worked out.
Complexity is the main enemy of security, so we'll try to keep to simple systems. Every chapter will analyse real-life espionage events or at least several hypothetical scenarios that will hopefully spark your imagination. The final goal is to build a security-conscious mindset (or “to get into a head of a spy”) which is necessary to recognise possible threats beforehand, to design a truly secure system.
Don’t bother reading if:
you think you and your secrets are 100% safe and secure
you think somebody else can effectively handle your security
you think conspiracy theories only exist in theory – Telefunken’s masterpiece the “FS-5000 Harpoon” was built on one!
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