Program, build, and master over 50 projects with MicroPython and the RP2040 microprocessor The Raspberry Pi Pico is a high-performance microcontroller module designed especially for physical computing. Microcontrollers differ from single-board computers, like the Raspberry Pi 4, in not having an operating system. The Raspberry Pi Pico can be programmed to run a single task very efficiently within real-time control and monitoring applications requiring speed. The ‘Pico’ as we call it, is based on the fast, efficient, and low-cost dual-core ARM Cortex-M0+ RP2040 microcontroller chip running at up to 133 MHz and sporting 264 KB of SRAM, and 2 MB of Flash memory. Besides its large memory, the Pico has even more attractive features including a vast number of GPIO pins, and popular interface modules like ADC, SPI, I²C, UART, and PWM. To cap it all, the chip offers fast and accurate timing modules, a hardware debug interface, and an internal temperature sensor. The Raspberry Pi Pico is easily programmed using popular high-level languages such as MicroPython and or C/C++. This book is an introduction to using the Raspberry Pi Pico microcontroller in conjunction with the MicroPython programming language. The Thonny development environment (IDE) is used in all the projects described. There are over 50 working and tested projects in the book, covering the following topics: Installing the MicroPython on Raspberry Pi Pico using a Raspberry Pi or a PC Timer interrupts and external interrupts Analogue-to-digital converter (ADC) projects Using the internal temperature sensor and external temperature sensor chips Datalogging projects PWM, UART, I²C, and SPI projects Using Wi-Fi and apps to communicate with smartphones Using Bluetooth and apps to communicate with smartphones Digital-to-analogue converter (DAC) projects All projects given in the book have been fully tested and are working. Only basic programming and electronics experience is required to follow the projects. Brief descriptions, block diagrams, detailed circuit diagrams, and full MicroPython program listings are given for all projects described. Readers can find the program listings on the Elektor web page created to support the book.
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.
Program, build, and master 60+ projects with the Wireless RP2040
The Raspberry Pi Pico and Pico W are based on the fast, efficient, and low-cost dual-core ARM Cortex M0+ RP2040 microcontroller chip running at up to 133 MHz and sporting 264 KB of SRAM and 2 MB of Flash memory. Besides spacious memory, the Pico and Pico W offer many GPIO pins, and popular peripheral interface modules like ADC, SPI, I²C, UART, PWM, timing modules, a hardware debug interface, and an internal temperature sensor.
The Raspberry Pi Pico W additionally includes an on-board Infineon CYW43439 Bluetooth and Wi-Fi chipset. At the time of writing this book, the Bluetooth firmware was not yet available. Wi-Fi is however fully supported at 2.4 GHz using the 802.11b/g/n protocols.
This book is an introduction to using the Raspberry Pi Pico W in conjunction with the MicroPython programming language. The Thonny development environment (IDE) is used in all of the 60+ working and tested projects covering the following topics:
Installing the MicroPython on Raspberry Pi Pico using a Raspberry Pi or a PC
Timer interrupts and external interrupts
Analogue-to-digital converter (ADC) projects
Using the internal temperature sensor and external sensor chips
Using the internal temperature sensor and external temperature sensor chips
Datalogging projects
PWM, UART, I²C, and SPI projects
Using Bluetooth, WiFi, and apps to communicate with smartphones
Digital-to-analogue converter (DAC) projects
All projects are tried & tested. They can be implemented on both the Raspberry Pi Pico and Raspberry Pi Pico W, although the Wi-Fi-based subjects will run on the Pico W only. Basic programming and electronics experience are required to follow the projects. Brief descriptions, block diagrams, detailed circuit diagrams, and full MicroPython program listings are given for all projects.
The Piccolino rapid development board can be used to design microcontroller circuits quickly. The Piccolino has a fast 16f887 PIC microcontroller, voltage regulator, and communications module, and can be easily extended using its four headers.
This e-book contains 30 projects based on the Piccolino. We'll use its unique communications facilities and get the Piccolino to communicate with programs on a PC. On the PC, we use the free programming language Small Basic. You can use this to create Windows programs with buttons and graphs quickly. You will learn how to analyze components such as inductors, capacitors, and OPAMPs, and how to display the measurement results in a graphical format. This will help you to design your circuits easily.
We will then start to adapt to the Piccolino. We'll add components to it to make it more powerful, with extra features such as flow control and digital to analog conversion. The clear instructions will enable you to design and build your adaptations. This way you can make your custom designed Piccolino.
We'll end up making an extension: a PCB that that can be mounted on the Piccolino headers. As an example, we'll design and build an extension for an LCD. You can use the included board layout to make your PCB or have it made for you. At the same time, you will learn how to make your extensions. The only limitation is your imagination!
The clear descriptions along with circuit diagrams and photos, will make the building of these projects an enjoyable experience. Each project has a clear explanation of the reasons why it was designed in a particular way. This helps you learn a lot about the Piccolino, as well as Small Basic, and the components that are used in this e-book. You can adapt the projects to suit your requirements or combine several projects.
1-Wire ist die Bezeichnung für eine serielle Schnittstelle, die mit nur einer Datenader auskommt. Es ist ein Master-Multi-Slave-Kommunikationsprotokoll. Verfügbar sind integrierte Bausteine zur Temperaturmessung, Akkuüberwachung, Echtzeituhr und beispielsweise Hotelschließanlagen. Eine Besonderheit von 1-Wire-Geräten ist die Spannungsversorgung aus der Gegenstation, hierbei erfolgt die Versorgung der Slaves über die Datenleitung.
Der Leser erhält mit „Das 1-Wire-Praxisbuch“ eine umfassende Einführung in die 1-Wire-Technologie. Das Buch zeigt anhand praktischer Projekte zum Nachbauen, wie man verschiedene verfügbare 1-Wire-Chips in eigene Mikrocontroller-gesteuerte Anwendungen integrieren kann, und zwar mit Assembler-Software-Implementierungen für PIC-Mikrocontroller und mit Sketches für den Arduino.
Die 1-Wire-Technik kommt in dem Buch praxisnah bei einem elektronischen Schloss zum Einsatz, das von einem PIC-Mikrocontroller gesteuert wird. Ein weiteres Praxisprojekt erläutert Schritt für Schritt, wie beispielsweise eine ständige Temperaturmessung mit 1-Wire-Bausteinen möglich ist.
L’OWON SDS1102 est un oscilloscope numérique de table abordable qui combine de solides performances avec des fonctions de mesure essentielles. Cet oscilloscope à 2 canaux offre une bande passante de 100 MHz, une fréquence d’échantillonnage de 1 GS/s, un écran LCD de 7 pouces et une profondeur mémoire de 10 kpts, ce qui en fait un choix pratique pour les tests électroniques quotidiens, le dépannage et l’enseignement.
Le SDS1102 dispose d’un système de déclenchement simplifié avec déclenchement sur niveau et sur front, ce qui facilite la capture et l’analyse des signaux courants. Il est conçu pour les applications qui ne nécessitent pas une grande profondeur mémoire ni des fonctions de déclenchement avancées, et offre une solution simple et économique pour l’analyse de signaux de base.
Caractéristiques
Bande passante : 100 MHz
2 voies
Taux d'échantillonnage : 1 GS/s
Boîtier ultra-fin
Écran LCD haute résolution de 7 pouces
Prise en charge de SCPI et LabVIEW
Spécifications
Bande passante
100 MHz
Échelle horizontale (s/div)
5 ns/div - 1000 s/div
Canal
2
Sensibilité verticale
5 mV/div - 5 V/div (en entrée)
Précision du Gain DC
3%
Résolution Verticale(A/D)
8 bits (2 canaux simultanément)
Entrée
Impédance d'entrée
1 MΩ, 10 pF
Couplage d'entrée
AC, DC, GND
Tension d'entrée maximale
±400 V, CATI, CATII
Sondes passives
х1; х10
Facteur d'atténuation de la sonde
х1; х10; х100; х1000
Système de déclenchement
Mode de déclenchement
Auto, Normal, Single
Type de déclenchement
Edge, Video
Source de déclenchement Edge
CH1, CH2
Video Trigger
Type d'échantillonnage
Real-time
Taux d'échantillonnage
1 GS/s
Taux d'échantillonnage Equivalent
No
Longueur d'onde
10K pts
Interpolation
sin(x)/x
Measurement and Mathematical Treatment System
Mesure automatique
Vpp, Vavg, RMS, Frequency, Period, Vmax, Vmin, Vtop, Vbase, Width, Overshoot, Pre-shoot Rise time, Fall time, +Width, -Width, +Duty, -Duty, Delay A→B, Delay A→B, area, cycle area
Fonctions mathématiques
Addition, Soustraction, Multiplication, Division, FFT
Caractéristiques générales
Type d'affichage
7" color LCD
Résolution d'affichage
800 x 480
Puissance
100-240 V, 45-440 Hz, <15 W
Dimensions
301 x 70 x 152 mm
Poids
1,1 kg
Inclus
1x OWON SDS1102 Oscilloscope
2x Sondes d'oscilloscope
1x Réglage de la sonde
1x Cordon d'alimentation secteur
1x Câble USB
1x CD-Rom
1x Guide rapide
Télechargements
Quick Guide
Manual
PC Software
SCPI Commands
Le téléchargement intégral de ce numéro est disponible pour nos membres GOLD et GREEN sur le site Elektor Magazine !
Pas encore membre ? Cliquez ici.
adaptateur de mesure USBTest du courant et des signaux des ports USB
sortie boucle de courant 4-20 mA pour Arduino UnoUne interface de boucle de courant fiable et insensible aux interférences électromagnétiques
commande automatique pour aspirateurGardez votre établi propre
générateur DDS avec ATtiny
testeur d'ampli-op V2Nouveau circuit imprimé – désormais compatible avec les CMS
amplificateur audio à tube 550 mWson chaleureux des tubes à vide
surveillance des fusiblesavec une LED clignotante
préamplificateur RIAA HQExploitez tout le potentiel sonore de vos disques vinyles !
Outil de réglage pour platines vinylesGénérateur de lumière stroboscopique 100–120 Hz basé sur Arduino
Elektor Classics : ampli vidéo
gradateur à télécommande infrarougeContrôlez votre éclairage avec confort et précision
comment utiliser switch…case avec des chaînes de caractères en C++/EDI Arduino
détecteur d’aimantsAvec un simple capteur à effet Hall
bouton de mise sous tension intelligent pour Raspberry PiUne solution pour Raspberry Pi jusqu’au modèle 4
astuces clés pour makersDes conseils pros pour vos projets
projets pratiques avec le timer 555Commande de moteur CC et jeux de rapidité
moniteur de charge CA simpleÉconomisez de l'énergie grâce à un appareil simple
batteries externes en parallèleTrois jours d’autonomie
VFO jusqu’à 15 MHzRéalisation avec un Raspberry Pi Pico
accordeur de violon avec ATtiny202
Elektor Classics : ampli vidéo pour TV N&B
capacimètre20 pF à 600 nF
horloge quasi analogique Mk IIDeux anneaux LED pour les heures et les minutes
concevez sans limites(grâce à l’écosystème complet d’Arduino)
dé à lampes néon
Elektor Classics : indicateur d'accord RTTY
solutions matérielles inspirantes pour vos projets ESP
Elektor Classics : alimentation 3 A
LED RGB avec circuit de commande intégréLumière de précision : les ICLED établissent de nouvelles normes
expérience : un Thérémine analogico-numérique ?Combiner des capteurs numériques modernes avec l’intemporel générateur analogique XR2206
carte émetteur-récepteur audio ESP32 (1)Démo : lecture de fichiers WAV depuis une carte SD
infographies : Circuits et conception de circuits 2025
petit mixeur audioUne conception polyvalente et modulable
minuteur intelligent pour éclairage d’escalierÉconomisez encore plus sur votre facture d’énergie !
modernisez vos voletsContrôlez les systèmes Velux avec un ESP32 et MQTT
chauffe-pieds à transistorsConfort économe en énergie
le quadricoptère M5Stamp Fly est-il le prochain drone Tello ? (Revue)
optimiser la portée Wi-Fi de l’ESP32-C3 SuperMiniUne modification d’antenne simple et efficace
station de soudage à air chaud ZD-8968Un outil de travail économique ou uniquement de l'air chaud ?
testeur de radar de reculDétecter les pannes du système d’aide au stationnement d’un véhicule
1-Wire ist die Bezeichnung für eine serielle Schnittstelle, die mit nur einer Datenader auskommt. Es ist ein Master-Multi-Slave-Kommunikationsprotokoll. Verfügbar sind integrierte Bausteine zur Temperaturmessung, Akkuüberwachung, Echtzeituhr und beispielsweise Hotelschließanlagen. Eine Besonderheit von 1-Wire-Geräten ist die Spannungsversorgung aus der Gegenstation, hierbei erfolgt die Versorgung der Slaves über die Datenleitung.
Der Leser erhält mit „Das 1-Wire-Praxisbuch“ eine umfassende Einführung in die 1-Wire-Technologie. Das Buch zeigt anhand praktischer Projekte zum Nachbauen, wie man verschiedene verfügbare 1-Wire-Chips in eigene Mikrocontroller-gesteuerte Anwendungen integrieren kann, und zwar mit Assembler-Software-Implementierungen für PIC-Mikrocontroller und mit Sketches für den Arduino.
Die 1-Wire-Technik kommt in dem Buch praxisnah bei einem elektronischen Schloss zum Einsatz, das von einem PIC-Mikrocontroller gesteuert wird. Ein weiteres Praxisprojekt erläutert Schritt für Schritt, wie beispielsweise eine ständige Temperaturmessung mit 1-Wire-Bausteinen möglich ist.
Elektor GREEN and GOLD members can download their digital edition here.
Not a member yet? Click here.
STM32 Wireless Innovation Design Contest Winners
In-Circuit LC MeterA Prototype Study
The AmpVolt Modular DC Power Meter (Part 1)Measure DC Power and Energy Consumption Up to 50 V and 5 A
embedded world 2024
Repairing Electronic EquipmentTools, Techniques and Tips
Starting Out in Electronics…...Continues the Opamp Theory
A Simple DDS Signal GeneratorDirect Digital Synthesis in Its Purest Form
Sparkplug at a GlanceA Specification for MQTT Data
The CRTCPeculiar Parts, the Series
Radar-Controlled LightingAutomatic Stairway Light With Human Presence Detection
Digital Bubble Level and Active Stroboscopic Disc for TurntablesFine-Tune Your Record Player With This All-In-One Tool
Open Source and Its Significance for the Electronics Industry (2)
M12 Circular Connector With A-codingFirst Choice for Industrial Applications
The Arduino-Inside Measurement LabAn 8-in-1 Test & Measurement Instrument for the Electronics Workbench
Sound Card Performs Gain/Phase and Impedance AnalysisFor Frequencies From 100 Hz to 90 kHz
Measuring pH Value With the Arduino UNO R4Check the Quality of Your Water
From Life’s ExperiencePangpong Butt Launcher
FNIRSI 1014D Digital Storage OscilloscopeGood Performance for Tight Budgets
2024: An AI OdysseyGetting Object Detection Up and Running
10 MHz Reference GeneratorHighly Accurate, With Distributor and Galvanic Isolation
Project Update #2: ESP32-Based Energy MeterSome Enhancements
Err-lectronicsCorrections, Updates, and Readers’ Letters
An Interview with Eben Upton, CEO of Raspberry PiRaspberry Pi 5 and Beyond
Build your textbook weather station or conduct environmental research together with the whole world. With many practical projects for Arduino, Raspberry Pi, NodeMCU, ESP32, and other development boards.
Weather stations have enjoyed great popularity for decades. Every current and even every long discontinued electronics magazine has regularly featured articles on building your own weather station. Over the years, they have become increasingly sophisticated and can now be fully integrated into an automated home — although this often requires loyalty to an (expensive) brand manufacturer across all components.
With your own weather and environmental data, you can keep up and measure things that no commercial station can. It’s also fun: expand your knowledge of electronics, current microcontroller development boards and programming languages in a fun and meaningful way. For less than 10 euros you can get started and record your first environmental data — with time and growing interest, you will continue to expand your system.
In this Edition
Which Microcontroller Fits My Project?
The Right Development Environment
Tracking Wind and Weather
Weather Display with OpenWeatherMap and Vacuum Fluorescent Display
Volatile Organic Compounds in the Air We Breathe
Working with MQ Sensors: Measuring Carbon Monoxide — Odorless but Toxic
CO2 Traffic Light with ThingSpeak IoT Connection
An Automatic Plant Watering System
Good Indoor Climate: Temperature and Humidity are Important criteria
Classy Thermometer with Vintage Tube Technology
Nostalgic Weather House for the Whole Family
Measuring Air Pressure and Temperature Accurately
Sunburn Warning Device
DIY Sensor for Sunshine Duration
Simple Smartphone Says: Fog or Clear View?
Identifying Earthquakes
Liquid Level Measurement for Vessels and Reservoirs
Water pH Value Measurement
Detecting Radioactive Radiation
GPS: Sensor Location Service Across the Globe
Saving and Timestamping Log Files on SD Cards
LoRaWAN, The Things Network, and ThingSpeak
Operating a LoRaWAN Gateway for TTN
Defying "Wind and Weather"
Mega Display with Weather Forecasz
Architecture, Programming and Applications
The MSP430 is a popular family of microcontrollers from Texas Instruments. In this book we will work with the smallest type, which is the powerful MSP430G2553. We will look at the capabilities of this microcontroller in detail, as it is well-suited for self-made projects because it is available in a P-DIP20 package.
We will take a closer look at the microcontroller and then build, step by step, some interesting applications, including a 'Hello World' blinking LED and a nice clock application, which can calculate the day of the week based on the date.
You also will learn how to create code for the MSP microcontroller in assembler. In addition to that, we will work with the MSP-Arduino IDE, which makes it quite easy to create fast applications without special in-depth knowledge of the microcontrollers.
All the code used in the book is available for download from the Elektor website.
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