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?
IMAGE PROCESSING WITH THE NVIDIA JETSON NANO (PART 2)Image Recognition Using Edge Impulse
ELEKTOR JUMPSTARTER NEWSUpcoming Campaigns
AN OPEN-SOURCE GPS TRACKING PLATFORMTraccar Maps Vehicle Tracking Without the Need for a Third-Party Cloud Server
JOY-IT LCR-T7 MULTI-FUNCTION TESTERTesting Passives, Discrete Semiconductors and IR Remote Controls
NOISE SYNTHESIZERFrom Noise to Music with the PRBSynth1
STARTING OUT IN ELECTRONICSEasier than Imagined! ... Continuing with the Coil
UNDERSTANDING THE NEURONS IN NEURAL NETWORKS (PART 2)Logical Neurons
ISSUES WITH SECURITY? FIGHT FIRE WITH FIRE!Flashbulb-Protected Analogue Memory Add-on For the Tamper-Evident Box LCR METER POSTER
BLUETOOTH BEACONS IN PRACTICEBeacons Light the Way Ahead
C PROGRAMMING ON RASPBERRY PICommunicating over Wi-Fi (Sample Chapter)
EMC PRE-COMPLIANCE TEST FOR YOUR DC-POWERED PROJECT (PART 2)The Hardware and How to Use It
HANDS ON THE PARALLAX PROPELLER 2 (PART 5)Inside the Smart Pin
MODBUS OVER WLAN (PART 1)Hardware and Programming
HOMELAB TOURSWhere the Junior Computer Is Brought to Life Again
BUILD YOUR OWN HIGH-PRECISION CALIBRATOR-10 V to +10 V, 0 to 40 mA, 0.001%
ARDUINO NANO RP2040 CONNECTRaspberry Pi RP2040 + Wi-Fi + Bluetooth THE PHYSICAL BODY OF ARTIFICIAL INTELLIGENCE
ERR-LECTRONICSCorrections, Updates and Readers’ Letters
CREATE GUIS WITH PYTHONIntroducing guizero
CO2 METER KIT FOR THE CLASSROOMAn ESP8266-Based Device from the University of Applied Sciences Aachen
NOSTALGIC MK484 MW/LW RADIO...Always Fun to Build!
ELEKTOR @ 60Let There Be Light!
HEXADOKUThe Original Elektorized Sudoku
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.
DIY LiPo Supercharger KitFrom Handcrafted to Mass Market
Elektor @ 60Reflections on Six Decades of Electronics
Siglent Bench Multimeter SDM3045X
DC Current-Sense ClampHall Sensor + Ferrite Core + Arduino
Soldering Station 2021Easy to build!
Hands On the Parallax Propeller 2Part 2: The Development Environment and Code
Wi-Fi for LoRa SwitchIntegrated in Home Assistant with ESPHome
Do Not Fear the Cellular Module!
Tracking Time with ESP32 and TogglWorking with the M5Stack
Get to Know the Raspberry Pi Pico Board and RP2040
MicroPython for MicrocontrollersSmall-Format Screens
12-to-200-V DC/DC Converter for Valve Amplifiers
Heat SeekerThe Seek Shot Pro Thermal Imaging Camera
Object-Oriented Programming: A Short Primer Using C++
HomeLab ToursHome Lab and an Analogue Synthesiser by Kurt Diedrich
Java on the Raspberry PiPart 1: GPIOs
DIP SwitchesPeculiar Parts, the series
Project 2.0Corrections, Updates and Readers’ Letters
Whose Product Is It Anyway?Right to Repair Gains Momentum
From Life's ExperienceThe Great Book of Blunders
Micro-ProfessorLearning Assembly Language on a Z80
Starting out in ElectronicsEasier Than Imagined! Even When It Is About Capacitors
HexadokuThe Original Elektorized Sudoku
Le chargeur intégré est disponible pour nos clients OR et VERT sur le site d'Elektor Magazine !
Pas encore membre ? Cliquez ici .
le téléphone à cadran rotatif comme télécommande pour allumer la lumière, composez le 1 ; verser la cafetière, composer les 2
régulateur de vitesse par GPS plus les contraventions pour excès de vitesse
stroboscope RVB avec Arduino un instrument utile, instructif et désorientant
bouton poussoir d'urgence sans fil sécuriser la force de location avec LoRa
démarrer en électronique ...l'émetteur-suiveur
comparateur à hystérésis à levelx indépendants simulations, calcul et algèbre
analyseur basé sur un ESP32 simple, compatible avec les compositions et le faible coût ?!
visite à domicile encouragez-nous pour les réalisations du personnel
Carte d'apprentissage MCCAB pour Arduino Nano plateforme pour le cours « Cours pratique sur les microcontrôleurs ?
sur le vif Luddisme moderne
Babacapteur : le capteur de température DS18B20 connexion au bus 1-Wire
quelles normes pour unifier la domotique ?? Matter et Thread se distinguent
La matière, ou la concorde des objets Testez Matter avec la carte Thing Plus Matter et Simplicity Studio
Infographie : IdO et capteurs
Matière, ExpressLink, Rainmaker ? de quoi s'agit-il ? questions et réponses d'Amey Inamdar, directeur technique marketing chez Espressif
introduction à la sélection de kits de développement de microcontrôleurs pour les applications IoT et IIoT
un condensateur n?est pas toujours capacitif?!
regarder NTP et CircuitPython pour l'utilisation du programme ?
construire une simple sympathie IdO avec le Phambili Newt
Détecteur de mouvement Doppler HB100 Théorie et pratique
Guider la programmation bare-metal pour STM32 et autres microcontrôleurs
revue multimètre Siglent SDM3045X
microprocesseurs pour systèmes d'embarquement drôle de composants, la série
la documentation des microcontrôleurs sans peine (3) schémas de principe, et autres documents
station avec LoRa à faible puissance réaliser, même avec une gare avec un port long
Transverter pour la bande 70 cm
Ingénieurs appelant au climat Avancez vite et réparez les choses
Hexadoku
Elektor GREEN and GOLD members can download their digital edition here.
Not a member yet? Click here.
An Autonomous Sensor NodeLoRa-Based Data Transmission and Power by Solar Cells
Elektor eXpansion Board v1.0For ESP32-S3 and other XIAO controller boards
Model Railroad with CameraInstalling an ESP32 CAM Module
Broadband Magnetic Antenna for Long WaveMultiple Channels Without Tuning
TensorFlow Lite on Small MicrocontrollersA (Very) Beginner’s Point of View
A Hub for RS-422 and RS-485 DevicesWire Your Bus Like a Star
RF ProbeWith LED Bar Graph
Starting Out in Electronics……Reviews More Opamp Circuits
Open VarioThe Open-Source Multifunction Variometer for Paragliding
From Life’s ExperienceAbout Taking Things for Granted
AI-Based Water Meter Reading (Part 2)Get Your Old Meter Onto the IoT!
ML-Based Pest DetectionSmart Agriculture Device With IoT Connectivity
Why Anybus CompactCom Is the Ideal Choice for Embedded Industrial Communication
IQRF Communication StandardReliability for Lossy, Low-Rate Wireless Mesh Networks
How to Build a Smart Agricultural RobotEssential Technical Considerations and Challenges
Audio Notch Filter with Adjustable FrequencyUniversal Solution for Suppressing Frequencies in Audio Applications
The LeoINAGPS SystemGets Useful Insights on Your Electric Vehicle
Solar-Powered LoRa NodeA Modular, Compact, and Versatile IoT Solution
AWS for Arduino and Co. (2)Sending Data Using AWS IoT ExpressLink
Err-lectronicsCorrections, Updates, and Readers’ Letters
2024: An AI OdysseyDesktop Versus Embedded Accelerators: A Look at Some Options
ESP32 Range ExtenderA Simple Antenna Modification
Contents
Projects
PicoVoiceVoice alienation and sound effects with the Raspberry Pi Pico
Navigation with Vibration Feedback
POV Display
Pulse Width Modulation (PWM) with the Raspberry Pi Pico
Wi-Fi with the Raspberry Pi Pico
'Hello World' from the Raspberry Pi Pico and RP2040A look at the Raspberry Pi Foundation’s first microcontroller
Simple On-Off Temperature Controller with Raspberry Pi HAT
Multitasking with the Raspberry PiShowcase: a traffic lights controller
The Raspberry Pi Ruler GadgetFun with a time-of-flight sensor
Raspberry Pi Buffer Board (Mk. 1)Never blow up the I/O again
FM radio with RDSA top HAT project for the Raspberry Pi
LoRa with the Raspberry Pi PicoFun with MicroPython!
Tutorials
Qt for the Raspberry Pi
Raspberry Pi Pico Programmingwith MicroPython and Thonny
Raspberry Pi Full StackRPi and RF24 at the heart of a sensor network
Raspberry Pi Bash Command Cheat Sheet
Community
Java on the Raspberry PiAn interview with Frank Delporte
Reviews
Introducing the New Raspberry Pi Pico W, H, and WH
Secure Boot Solution for Raspberry PiRetrofit security at a reasonable price
Review: SmartPi – Smart Meter Extension for Raspberry Pi
Review: The Enviro+ Raspberry Pi HATMeasuring environmental data with Raspberry Pi and the HAT Enviro+
Review: Meet the Raspberry Pi 4All new but still good?
Raspberry Pi Gets a Fast 3.5' Touch DisplayMore power at no extra charge
Book Launch: Raspberry Pi for Radio Amateurs
Bauen Sie Ihre perfekte Wetterstation oder forschen Sie zusammen mit der ganzen Welt an Umweltdaten. Mit vielen praktischen Projekten für Arduino, Raspberry Pi, NodeMCU, ESP32 und weiteren Developmentboards.
Wetterstationen erfreuen sich seit Jahrzehnten großer Beliebtheit. Ob in aktuellen oder längst eingestellten Elektronik-Magazinen – regelmäßig finden sich Beiträge zum Eigenbau einer Wetterstation. Im Laufe der Jahre wurden diese Systeme immer ausgefeilter und können heute nahtlos in das Smart Home integriert werden. Allerdings erfordert dies oft die Bindung an einen (teuren) Markenhersteller, der sämtliche Komponenten abdeckt.
Mit Ihrer eigenen Wetterstation können Sie jedoch mühelos mithalten – und sogar Messwerte erfassen, die kommerzielle Geräte nicht bieten. Dabei kommt der Spaß nicht zu kurz: Sie erweitern spielerisch Ihr Wissen über Elektronik, moderne Mikrocontroller-Developmentboards und Programmiersprachen. Schon für weniger als zehn Euro können Sie erste Umweltdaten erfassen und Ihr System Schritt für Schritt mit wachsendem Interesse weiter ausbauen.
Aus dem Inhalt:
Wind und Wetter auf der Spur
Wetterdisplay mit OpenWeatherMap und Vakuum-Fluoreszenzanzeige
Flüchtige organische Verbindungen in der Atemluft
Mit MQ-Sensoren arbeiten: Kohlenmonoxid messen – geruchlos aber extrem giftig
CO2-Ampel mit ThingSpeak-IoT-Anbindung
Ein Gießautomat für Ihre Pflanzen
Gutes Raumklima: Temperatur und Luftfeuchtigkeit sind wichtige Kriterien
Schickes Thermometer mit alter Röhrentechnik
Nostalgisches Wetterhäuschen für die ganze Familie
Luftdruck und Temperatur genau messen
Sonnenbrand-Warngerät
DIY-Sensor für die Sonnenscheindauer
Das Smartphone zeigt’s an: Nebel oder klare Sicht?
Erdbeben erkennen
Pegelstände von Gewässern und Behältern
pH-Wert von Gewässern bestimmen
Radioaktive Strahlung erkennen
Mit GPS wissen Sie weltweit, wo ihr Sensor ist
Logdateien mit Zeitstempel auf SD-Karten speichern
LoRaWAN, The Things Network und ThingSpeak
LoRaWAN-Gateway für TTN betreiben
Mega-Display mit Wettervorhersage
In 35 Projects with the Raspberry Pi and Arduino
The Internet of Things (IoT) is a trend with a strong technological impulse. At home, we want to do everything on our tablets, from browsing Facebook to watching TV, from operating lights to keeping an eye on the temperature.
In 35 fun projects, this book will show you how to build your own Internet of Things system. We'll cover the hardware (primarily the Raspberry Pi and Arduino) and the software that makes control via Internet possible. We employ Wi-Fi and radio links so no requirement any longer to install cabling crisscross through your home.
Assuming the projects in the book are finished, you have a complete Internet of Things system that allows you to control and view of everything in your home. For example, if there's something in the mail box or the car is securely in the garage. Also, you can switch on the lights and the alarm from your couch. The crisp explanations allow the projects to be customized with ease, for example, to turn on your coffee machine or TV remotely. The index gives easy access to creative projects that can serve as an example, enabling you to do all the connecting to the IoT independently. All project software can be downloaded free of charge from the Elektor website.
In this unique book, Raspberry Pi, Arduino and HTML webpages with stylesheets and JavaScript come together in clearly-described, easy-to-build projects. This special book is an essential part of your collection!
Elektor GREEN and GOLD members can download their digital edition here.
Not a member yet? Click here.
PbMonitor v1.0A Battery-Monitoring System for UPS and Energy Storage Applications
Solar Charge Controller with MPPT (1)Basic Principles of a Solar Controller for Stand-Alone Systems
B-Field Integration Magnetometer With Home-Made Sensors
Precise or Accurate?Your Instruments Need to Be Both!
AD7124 A Precision ADC in PracticeFeatures for Sensor Signal Conditioning
PID Control ToolOptimize Your Parameters Easily
embedded world 2025
Starting Out in Electronics……Continues with Tone Control
Academy Pro BoxBook + Online Course + Hardware
Milliohmmeter AdapterUses the Precision of Your Multimeter
The Next Leap in SemiconductorsOnward Toward 1.4 nm
Through-Hole Technology ConnectorsThe Best of Two Worlds: THR
Frequency CounterPortable and Auto-Calibrating Via GPS
Analog MetersPeculiar Parts, the Series
Stand-Alone Crystal TesterHow Accurate Is Your Clock Source?
Low-Cost I²C TesterConnect I²C Devices Directly to Your PC
From Life’s ExperienceWho Doesn’t Honor the Small Things?
2025: An AI OdysseyThe Transformative Impact on Software Development
Err-lectronicsCorrections, Updates, and Readers’ Letters
Raspberry Pi Standalone MIDI Synthesizer (2)Enhancing Our Setup with Intelligence
Nortonized Wien Bridge OscillatorSmall Changes Yield Significant Improvements
Putting a $0.10 Controller to the TestThe CH32V003 RISC-V Microcontroller and MounRiver Studio in Practice
An FPGA-Based Audio Player with Equalizer (2)Adding Volume Control, Advanced Mixing, and a Web Interface
USB-Logikanalysatoren am PC mit Arduino, Raspberry Pi und Co
Schritt-für-Schritt-Anleitungen führen Sie in die Analyse moderner Protokolle von I²C, SPI, UART, RS-232, NeoPixel, WS28xx, HD44780 und 1-Wire ein. Anhand von zahlreichen Experimentierschaltungen mit dem Raspberry Pi Pico, Arduino Uno und dem Bus Pirate üben Sie die praxisnahe Anwendung gängiger USB-Logikanalysatoren ein.
Alle in diesem Buch vorgestellten Experimentierschaltungen wurden vollständig getestet und sind funktionsfähig. Die notwendigen Programmlistings sind enthalten, es sind keine besonderen Programmier- oder Elektronikkenntnisse für diese Schaltungen notwendig. Es werden die Programmiersprachen MicroPython und C mit den Entwicklungsumgebungen Thonny und Arduino IDE eingesetzt.
Dieses Buch verwendet mehrere Modelle flexibler und weit verbreiteter USB-Logikanalysatoren und zeigt die Stärken und Schwächen jeder Preisklasse. Sie werden kennenlernen, welche Kriterien für Ihre Arbeit wichtig sind und in der Lage sein, das für Sie passende Gerät zu finden.
Egal ob Arduino, Raspberry Pi oder Raspberry Pi Pico: Die abgebildeten Beispielschaltungen ermöglichen einen schnellen Start in die Protokollanalyse und können auch als Grundlage für eigene weitere Experimente dienen.
Sie werden alle wichtigen Begriffe und Zusammenhänge kennenlernen, eigene Experimente durchführen, selbstständig Protokolle analysieren und nach der Lektüre dieses Buches – im Bereich der digitalen Signale und Protokolle – ein umfassendes Wissen aufgebaut haben.
AI in Practice
Dive into the fascinating world of robotics and automation!
This Elektor Special shows you how to build your own robots with creativity, a little know-how, and affordable technology. From your first DIY project with Arduino or Raspberry Pi to intelligent systems with AI – this issue makes modern robotics understandable and accessible.
Discover practical instructions, inspiring projects, and exciting insights into the maker scene. Learn how experimentation, community, and openness give rise to true innovation – and why robotics is so much more than just a technical hobby.
Contents
Imagination turns into reality
Arduino-controlled Drawing Robot
GalaxyRVR Mars Rover Kit for Arduino
YDLIDAR X4Pro Lidar
xHuskyLens AI Camera
DOF Robot Arm with Raspberry Pi Pico
Manufacturing Robots with Fischertechnik
Pneumatic Industrial Robot
Why Do We Keep Building Robot Dogs?
Elektor Mini-Wheelie
Robot Vehicles and Autonomous Driving