This book is about DC electric motors and their use in Arduino and Raspberry Pi Zero W based projects. The book includes many tested and working projects where each project has the following sub-headings:
Title of the project
Description of the project
Block diagram
Circuit diagram
Project assembly
Complete program listing of the project
Full description of the program
The projects in the book cover the standard DC motors, stepper motors, servo motors, and mobile robots. The book is aimed at students, hobbyists, and anyone else interested in developing microcontroller based projects using the Arduino Uno or the Raspberry Pi Zero W.
One of the nice features of this book is that it gives complete projects for remote control of a mobile robot from a mobile phone, using the Arduino Uno as well as the Raspberry Pi Zero W development boards. These projects are developed using Wi-Fi as well as the Bluetooth connectivity with the mobile phone. Readers should be able to move a robot forward, reverse, turn left, or turn right by sending simple commands from a mobile phone. Full program listings of all the projects as well as the detailed program descriptions are given in the book. Users should be able to use the projects as they are presented, or modify them to suit to their own needs.
Raspberry Pi 5 provides two four-lane MIPI connectors, each of which can support either a camera or a display. These connectors use the same 22-way, 0.5 mm-pitch “mini” FPC format as the Compute Module Development Kit, and require adapter cables to connect to the 15-way, 1 mm-pitch “standard” format connectors on current Raspbery Pi camera and display products.These mini-to-standard adapter cables for cameras and displays (note that a camera cable should not be used with a display, and vice versa) are available in 200 mm, 300 mm and 500 mm lengths.
Bouw je eigen vintage radiozender
De Elektor AM-zender kit maakt het mogelijk om audio te streamen naar vintage AM-radiotoestellen. Gebaseerd op een Raspberry Pi Pico microcontroller-module kan de AM-zender uitzenden op 32 frequenties in de AM-band, van 500 kHz tot 1,6 MHz in 32 stappen van ca. 35 kHz.
De frequentie wordt gekozen met een potentiometer en weergegeven op een 0,96" OLED-display. Een drukknop maakt het mogelijk om de zendmodus te schakelen tussen Aan en Uit. Het bereik van de zender hangt af van de antenne. De ingebouwde antenne biedt een bereik van enkele centimeters, waardoor de AM-zender dicht bij of in de radio moet worden geplaatst. Een externe lusantenne (niet inbegrepen) kan worden aangesloten om het bereik te vergroten.
De Elektor AM-zender kit wordt geleverd als een bouwpakket dat je zelf op de printplaat moet solderen.
Kenmerken
De printplaat is compatibel met een Hammond 1593N-behuizing (niet inbegrepen).Een 5 VDC-voeding met micro-USB-connector (bijv. een oude telefoonoplader) is nodig om de kit van stroom te voorzien (niet inbegrepen). Stroomverbruik: 100 mA.
De Arduino-software (vereist het RP2040-boards-pakket van Earle Philhower) voor de Elektor AM-zenderkit plus meer informatie is beschikbaar op de Elektor Labs-pagina van dit project.
Componentenlijst
Weerstanden
R1, R4 = 100 Ω
R2, R3, R8 = 10 kΩ
R5, R6, R9, R10, R11 = 1 kΩ
R7 = optioneel (niet inbegrepen)
P1 = potentiometer 100 kΩ, lineair
Condensatoren
C1 = 22 µF 16V
C2, C4 = 10 nF
C3 = 150 pF
Diversen
K1 = 4×1 pinheader
K2, K3 = 3,5 mm-aansluiting
Raspberry Pi Pico
Drukknop, haaks gemonteerd
0,96" monochroom I²C OLED-display
PCB 150292-1
Program, build, and master over 60 projects with Python
The Raspberry Pi 5 is the latest single-board computer from the Raspberry Pi Foundation. It can be used in many applications, such as in audio and video media centers, as a desktop computer, in industrial controllers, robotics, and in many domestic and commercial applications. In addition to the well-established features found in other Raspberry Pi computers, the Raspberry Pi 5 offers Wi-Fi and Bluetooth (classic and BLE), which makes it a perfect match for IoT as well as in remote and Internet-based control and monitoring applications. It is now possible to develop many real-time projects such as audio digital signal processing, real-time digital filtering, real-time digital control and monitoring, and many other real-time operations using this tiny powerhouse.
The book starts with an introduction to the Raspberry Pi 5 computer and covers the important topics of accessing the computer locally and remotely. Use of the console language commands as well as accessing and using the desktop GUI are described with working examples. The remaining parts of the book cover many Raspberry Pi 5-based hardware projects using components and devices such as
LEDs and buzzers
LCDs
Ultrasonic sensors
Temperature and atmospheric pressure sensors
The Sense HAT
Camera modules
Example projects are given using Wi-Fi and Bluetooth modules to send and receive data from smartphones and PCs, and sending real-time temperature and atmospheric pressure data to the cloud.
All projects given in the book have been fully tested for correct operation. Only basic programming and electronics experience are required to follow the projects. Brief descriptions, block diagrams, detailed circuit diagrams, and full Python program listings are given for all projects described.
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.
Diese Ausgabe steht allen GOLD- und GREEN-Mitgliedern auf der ElektorMagazine-Website zum Download bereit!
Sie sind noch kein Mitglied? Hier klicken!
Raspberry Pi Pico als Spektrum-AnalyserFFTs auf preiswerter Hardware-Basis
±40 V Linearer SpannungsreglerEine alternative Stromversorgung für die Fortissimo-100-Endstufe... und andere!
Drahtlose MCU-Kommunikation flexibel gemachtEEPROM eröffnet Netzwerk-Perspektiven für drahtlose MCUs
5.000 € zu gewinnen!Machen Sie mit beim STM32 Wireless Innovation Design Contest!
2023: Odyssee in der KILoslegen mit dem Code-Interpreter von ChatGPT
LoRa, ein Schweizer TaschenmesserTeil 1: Das LoRa-Protokoll und seine Vorteile
Einstellbare Stromsenke mit integriertem TaktgeberZum Testen von Netzteilen, Spannungswandlern und Batterien
Zwei neue Arduino UNO R4 Boards: Minima und WiFi
Logarithmische PotentiometerSie sind exponentiell!
Motortreiber-Breakout-BoardEin BoB für einen 5-A-Treiber für DC-Motoren mit einer Größe von 3×3 mm
Aus dem Leben gegriffenGefährliche Elektronik
Ist Mobilfunk die energiesparendste Option für das IoT?LTE-M und NB-IoT: Energieanforderungen in LPWAN-Implementierungen
Kabellose Kommunikation in IoT-Systemen mit Modulen MKR von ArduinoKommunikationsstandards der Arduino-Module für IoT
AC-Verluste in magnetischen BauteilenVermeiden Sie heiße Induktivitäten!
Messungen für eine optimale Cloud-Implementierung
Matter-Implementierung: Was braucht es, um Matter-Geräte einzusetzen?
Neue 2,4 GHz-Funkeinheiten von Circuit DesignPrädestiniert für Fernsteuerung und Überwachung
PIC o’Clock – am Puls der ZeitDesign eines SDR-Zeitzeichen-Empfängers
Due Diligence DirectiveBusiness as Usual Will Not Do
Aller Anfang...Ist gar nicht schwer: Spannungsverstärkung
Infraschall-Rekorder mit dem Arduino Pro MiniEin Beispielprojekt aus dem Elektor-Buch „Arduino & Co.“
Cloud-basierter EnergiezählerMit ESP32-Modul und PZEM-004T-Spannungs-/ Stromsensor
Eine Anleitung zur Bare-Metal-ProgrammierungTeil 2: Exaktes Timing, UART und Debugging
The minimalist design and the spring loaded test needle makes it possible to simultaneously measure on fine pitch components and nearby signals.The probe is steady but yet flexible made for instant measurements or total hands-free operations together with your multimeter, logic analyzer or prefered tool.The dual pin header connector fits directly on a 2.54 mm (0.100”) connector.The SP10 comes with a powerful magnet in the base, as for all PCBite probes and holders which makes the probe easy to place and reposition.Included
4x PCBite holder
1x Large base plate (A4)
4x PCBite probe with pin tipped test needle
4x Extra crown tipped test needle
1x Set of yellow insulation washers
5x Dupont to dupont test wire
2x Banana to dupont test wire
1x Microfiber cloth
DownloadsUser Guide
Maîtrise de la puce RP2040 avec plus de 60 projets à réaliser et à programmer
Les cartes Raspberry Pi Pico et Pico W sont animées par un microcontrôleur ARM Cortex M0+ RP2040 à double coeur, rapide, efficace et peu coûteux, qui fonctionne jusqu'à 133 MHz et dispose de 264 Ko de SRAM et de 2 Mo de mémoire Flash. Outre une vaste mémoire, le Pico et le Pico W disposent de nombreuses broches GPIO et d'interfaces telles que CA/N, SPI, I²C, UART, MLI, de fonctions de temporisation, d'une interface de débogage matériel et d'un capteur de température interne.
La carte Raspberry Pi Pico W comporte en plus une puce CYW43439 Bluetooth et Wi-Fi d'Infineon. Au moment de la rédaction de ce livre, le micrologiciel Bluetooth pour le Pico W n'était pas encore disponible. Le Wi-Fi à 2,4 GHz est toutefois entièrement pris en charge avec les protocoles 802.11b/g/n.
Ce livre est une introduction à l'utilisation du Raspberry Pi Pico W avec le langage de programmation MicroPython. Les quelque soixante projets testés et opérationnels sont présentés à l'aide de l'environnement de développement intégré (EDI) Thonny. Les sujets abordés sont nombreux :
Installation de MicroPython sur le Raspberry Pi Pico depuis un PC
Interruptions de l'horloge et interruptions externes
Convertisseur analogique-numérique (CA/N)
Capteurs de température interne et externe
Capteurs externes (pression, humidité, pouls, à ultrasons)
Enregistrement de données
MLI, UART, I²C et SPI
Bluetooth, Wi-Fi et applis sur smarphone
Convertisseur numérique-analogique (CN/A)
Tous les projets ont été testés et éprouvés. Ils peuvent être mis en oeuvre sur le Raspberry Pi Pico ainsi que sur le Raspberry Pi Pico W. Toutefois les projets avec une liaison Wi-Fi ne fonctionnent que sur le Pico W. Une petite expérience en programmation et en électronique est nécessaire pour suivre les projets. De brèves descriptions, des schémas fonctionnels, des schémas détaillés du câblage des montages et des listings MicroPython complets sont fournis pour tous les projets.
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.
Met de Raspberry Pi heeft u voor slechts een paar tientjes een complete computer in handen, waar op eenvoudige wijze allerlei elektronica aangesloten kan worden. In deze 2e herziene en uitgebreide versie gaan we in op een van de sterke kanten van de Raspberry Pi: de combinatie van programmeren en elektronica.
Na een korte introductie van de Raspberry Pi wordt de benodigde software geïnstalleerd. Op de SD-kaart die u bij dit boek kunt aanschaffen, is die allemaal al aanwezig voor de Raspberry Pi. Aan de (optionele) Windows PC kant gebeurt dit met gratis software die u kunt downloaden.
Daarna volgt een beknopte inleiding in het besturingssysteem Linux en gaan we programmeren in Bash, Python en JavaScript. De nadruk ligt hierbij op Python, maar in alle gevallen houden we het kort. We bespreken net voldoende zodat u de projecten kunt begrijpen en aan uw wensen aanpassen, en gaan dan aan de slag met leuke projecten.
Maar liefst 45 spannende en interessante projecten worden in detail besproken en uitgelegd. Van wisselknipperlicht, aansluiten van een elektromotor, het verwerken en maken van analoge signalen tot lichtmeter en temperatuurregeling. Maar ook gecompliceerdere projecten zoals een motorsnelheidsregeling, webserver met CGI, client-server applicaties en Xwindows programma‘s. U kunt dit boek gebruiken als projecten boek en de projecten nabouwen en in de praktijk inzetten. Door de duidelijke uitleg, schema‘s en foto‘s van de opstellingen op een steekbord wordt het nabouwen een erg leuke bezigheid.
RPi
Alle software voor de RPi is voorgeïnstalleerd op een SD-kaart die u bij dit boek kunt aanschaffen. Dat wil zeggen dat alle software en drivers voor SSH, SPI, I²C, GPIO, PWM, muziek, Python Ontwikkelversie, wxPython, IdleX en de seriële verbinding gegarandeerd werken. Tevens staan alle broncodes van de projecten uitdit boek op deze kaart.
Windows-PC
In het gratis download-pakket dat bij dit boek hoort, vindt u de software die in dit boek gebruikt wordt op de Windows-PC handig bij elkaar in een enkel ZIP-bestand. Alle software is gratis. Tevens bevat het pakket een filmpje van de Nutteloze Doos (Useless Machine) van project 13.4.
Software download-pakket
WinOscillo
Putty
Xming
WinSCP
DiskImager
Notepad2
IdleX
Useless Box film
A Fast-Lane Ride From Concept to Project
The core of the book explains the use of the Raspberry Pi Zero 2 W running the Python programming language, always in simple terms and backed by many tested and working example projects. On part of the reader, familiarity with the Python programming language and some experience with one of the Raspberry Pi computers will prove helpful. Although previous electronics experience is not required, some knowledge of basic electronics is beneficial, especially when venturing out to modify the projects for your own applications.
Over 30 tested and working hardware-based projects are given in the book, covering the use of Wi-Fi, communication with smartphones and with a Raspberry Pi Pico W computer. Additionally, there are Bluetooth projects including elementary communication with smartphones and with the popular Arduino Uno. Both Wi-Fi and Bluetooth are key features of the Raspberry Pi Zero 2 W.
Some of the topics covered in the book are:
Raspberry Pi OS installation on an SD card
Python program creation and execution on the Raspberry Pi Zero 2 W
Software-only examples of Python running on the Raspberry Pi Zero 2 W
Hardware-based projects including LCD and Sense HAT interfacing
UDP and TCP Wi-Fi based projects for smartphone communication
UDP-based project for Raspberry Pi Pico W communication
Flask-based webserver project
Cloud storage of captured temperature, humidity, and pressure data
TFT projects
Node-RED projects
Interfacing to Alexa
MQTT projects
Bluetooth-based projects for smartphone and Arduino Uno communications
De Raspberry Pi Bumper is een opklikbare siliconen hoes die de onderkant en randen van de Raspberry Pi 5 beschermt.
Kenmerken
Flexibele siliconenrubberen bumper uit één stuk
Maakt gemakkelijke toegang tot de aan/uit-knop mogelijk
Bevestigingsgaten blijven toegankelijk onder de bumper
Downloads
Datasheet