Projects Using Arduino IDE and the LVGL Graphics Library
The ESP32 is probably one of the most popular microcontrollers used by many people, including students, hobbyists, and professional engineers. Its low cost, coupled with rich features makes it a popular device to use in many projects. Recently, a board called the ESP32 Cheap Yellow Display (CYD for short) is available from its manufacturers. The board includes a standard ESP32 microcontroller together with a 320x240 pixel TFT display. Additionally, the board provides several connectors for interfaces such as GPIO, serial port (TX/RX), power and Ground. The inclusion of a TFT display is a real advantage as it enables users to design complex graphics-based projects without resorting to an external LCD or graphics displays.
The book describes the basic hardware of the ESP32 CYD board and provides details of its on-board connectors. Many basic, simple, and intermediate-level projects are given in the book based on the ESP32 CYD, using the highly popular Arduino IDE 2.0 integrated development environment. The use of both the basic graphics functions and the use of the popular LVGL graphics library are discussed in the book and projects are given that use both types of approaches.
All the projects given in the book have been tested and are working. The block diagram, circuit diagram, and the complete program listings and program descriptions of all the projects are given with explanations. Readers can use the LVGL graphics library to design highly popular eye-catching full-color graphics projects using widgets such as buttons, labels, calendars, keypads, keyboards, message boxes, spinboxes, sliders, charts, tables, menus, bars, switches, drop-down lists, animations, and many more widgets.
Construisez votre contrôleur RISC-V Débuter sur le nouveau logiciel RISC-V NEORV32 pour FPGA à faible coût
Traceur des graphiques avec Arduino C'est facile avec le traceur sériel d'Arduino
Carte CLUE d'Adafruit Une solution intelligente pour les projets IoT
Carte pour le Raspberry Pi 400 Protection des entrées/sorties
Cartes Raspberry Pi RP2040 chez gogo
Approche DIY de la sécurité et de l'espionnage électronique Pilote ou remis à neuf depuis SRAM
Identification des compositions Trucs et astuces, bonnes pratiques et informations utiles
Interrupteur sans contact DIY
Démarrer en électronique? (12) Adaptation d'impédance et transformateurs
Qu’en est-il du développement du embarqué ? Rust et mises à jour des déploiements IoT
Infographie
Les bénéfices de la 5G pour l'industrie et l'automobile
Relais à bobine d'allumage mobile
Visite à domicile Visite de chacun son
Voyage dans les réseaux neuronaux (4e partie) Les neurones embarqués
Lévitation magnétique : encore plus simple Troisième version : la plus compacte
Programmation d'automates à l'aide du Raspberry Pi et du projet OpenPLC Visualisation des programmes automates avec AdvancedHMI
Sur le vif Emballé, c'est pesé
Sous votre radar Des micro-contrôleurs que vous devriez connaître
Surveillance et débogage sans fil Une solution pour Arduino, ESP32 et Cie
Mesurer la température et l'humidité pour mesurer la température Utilisation de modules prêts à l'emploi
Réparation de batterie au lithium Économies de l'argent et augmentez la puissance !
Création d'interfaces graphiques en Python Générateur de mèmes
Trois questions fondamentales Pourquoi, avec quoi, avec qui ?
Hexadoku
Analogue Electronics and Microcontrollers Projects
Hobbyist electronics can be a fun way to learn new skills that can be helpful to your career. Those who understand the basics of electronics can design their own circuits and projects. However, before you run, you need to learn to walk.
It all starts with analogue electronics. You should be familiar with the simple components and circuits and understand their basic behaviors and the issues you may encounter. The best way to do this is through real experiments. Theory alone is not enough. This book offers a large number of practical entry-level circuits, with which everyone can gain the basic experience.
Through the widespread introduction of microcontrollers, a new chapter in electronics has begun. Microcontrollers are now performing more and more tasks that were originally solved using discrete components and conventional ICs. Starting out has become easier and easier thanks to platforms including Bascom, Arduino, micro:bit. The book introduces numerous manageable microcontroller applications. It’s now a case of less soldering and more programming.
Mein eigener RISC-V-ControllerErste Schritte mit dem NEORV32 RISC-V Softcore für preiswerte FPGAs
Wie man den Seriellen Plotter der Arduino-IDE nutztEinfaches Plotten von Kurven mit Arduino
CLUE - ein Clou von Adafruit?Angriff auf den micro:bit
Puffer-Board für den Raspberry Pi 400Schützen Sie die I/Os!
FrühjahrskollektionInteressante Raspberry Pi RP2040 Boards
Ein DIY-Handbuch zu elektronischer Sicherheit und E-SpionageSRAM erhitzt oder tiefgefroren
Identifizierung von BauteilenTipps & Tricks, Best Practices und andere nützliche Informationen
Ein Touch-Schalter ohne TouchKonzeption und Umsetzung eines berührungslosen Lichtschalters
Aller Anfang...ist gar nicht schwer: Anpassen und Transformieren
Was gibt's Neues in der Embedded-Entwicklung?Rust und die Aktualisierung von IoT-Implementierungen
Infografiken Elektor Industry
Neue Wege für Industrie und Automobilbranche mit 5G
DrehspulrelaisBemerkenswerte Bauteile
Zutritt für Unbefugte verbotenAlles dreht sich um die Werkzeuge...
Die Neuronen in neuronalen Netzen verstehenTeil 4: Eingebettete Neuronen
Magnetische Levitation auf die sehr sehr einfache ArtDie dritte und kompakteste Version
SPS-Programmierung mit dem Raspberry Pi und dem OpenPLC-ProjektVisualisierung von SPS-Programmen mit AdvancedHMI
Aus dem Leben gegriffenEinpacken und weg damit
Unter dem RadarUnbekannte Mikrocontroller, über die Sie Bescheid wissen sollten
Drahtloses Monitoring und DebuggenSerielle Funk-Schnittstelle für Arduino, ESP32 und Co.
Tragbares Temperatur- und FeuchtemessgerätGebaut mit vorgefertigten Modulen
Lithium-Akkus reparierenGeld sparen + mehr Power!
GUIs mit PythonMeme-Generator
Die drei FragezeichenWarum? Was? Wer?
Hexadoku
This book details the use of the ARM Cortex-M family of processors and the Arduino Uno in practical CAN bus based projects. Inside, it gives a detailed introduction to the architecture of the Cortex-M family whilst providing examples of popular hardware and software development kits. Using these kits helps to simplify the embedded design cycle considerably and makes it easier to develop, debug, and test a CAN bus based project. The architecture of the highly popular ARM Cortex-M processor STM32F407VGT6 is described at a high level by considering its various modules. In addition, the use of the mikroC Pro for ARM and Arduino Uno CAN bus library of functions are described in detail.
This book is written for students, for practising engineers, for hobbyists, and for everyone else who may need 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 programming language will be useful in later chapters of the book, and familiarity with at least one microcontroller will be an advantage, especially if the reader intends to develop microcontroller based projects using CAN bus.
The book should be useful source of reference to anyone interested in finding an answer to one or more of the following questions:
What bus systems are available for the automotive industry?
What are the principles of the 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 reliable is a CAN bus system?
What types of CAN bus controllers are there?
What are the advantages of the ARM Cortex-M microcontrollers?
How can one create a CAN bus project using an ARM microcontroller?
How can one create a CAN bus project using an Arduino microcontroller?
How can one monitor data on the CAN bus?
Construisez votre station météo idéale ou explorez les données environnementales avec le monde entier. Avec de nombreux projets pratiques pour Arduino, Raspberry Pi, NodeMCU, ESP32 et autres cartes de développement.
Les stations météo jouissent d’une grande popularité depuis des décennies. Tous les magazines d’électronique, qu’ils soient récents ou non, ont publié et publient régulièrement des articles sur la construction d’une station météo. Au fil des années, elles sont devenues de plus en plus sophistiquées et peuvent aujourd’hui être entièrement intégrées dans la maison intelligente. Ceci implique toutefois souvent une fidélité à un fabricant de produits de marque (coûteux) pour tous les composants.
Cependant, avec votre propre station météo, vous pouvez facilement suivre le rythme et même capturer des relevés que les appareils commerciaux ne peuvent pas réaliser. Le plaisir ne manque pas : vous développerez de manière ludique vos connaissances en électronique, en cartes de développement de microcontrôleurs modernes et en langages de programmation. Pour moins de dix euros, vous pouvez collecter des données environnementales initiales et étendre votre système au fur et à mesure que votre intérêt grandit.
Dans ce numéro
Sur la route du vent et de la météo
Écran météo OpenWeatherMap à affichage fluorescent
Les composés organiques volatils dans l‘air que nous respirons
Travailler avec les capteurs MQ : mesurer le monoxyde de carbone
Détecteur de CO2 avec connexion IdO vers ThingSpeak
Un arrosage automatique pour vos plantes
Un climat intérieur sain : la température et l‘humidité de l‘air sont importants
Thermomètre avec tubes Nixie
Une maison météo rétro pour toute la famille
Mesurez la pression atmosphérique et la température avec précision
Un détecteur de coups de soleil
Capteur maison pour la durée d‘ensoleillement
Le smartphone l‘indique : brouillard ou bonne visibilité ?
Détecter les tremblements de terre
Les niveaux des cours d‘eau et des réservoirs
Évaluer la valeur du pH de l’eau
Détecter les rayonnements radioactifs
Avec le GPS, vous savez où se trouve votre capteur
Enregistrer les fichiers journaux avec horodatage sur des cartes SD
LoRaWAN, The Things Network et ThingSpeak
Exploiter la passerelle LoRaWAN pour le TTN
Affichage géant à led avec prévisions météo
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!
40+ Projects using Arduino, Raspberry Pi and ESP32
This book is about developing projects using the sensor-modules with Arduino Uno, Raspberry Pi and ESP32 microcontroller development systems. More than 40 different sensors types are used in various projects in the book. The book explains in simple terms and with tested and fully working example projects, how to use the sensors in your project. The projects provided in the book include the following:
Changing LED brightness
RGB LEDs
Creating rainbow colours
Magic wand
Silent door alarm
Dark sensor with relay
Secret key
Magic light cup
Decoding commercial IR handsets
Controlling TV channels with IT sensors
Target shooting detector
Shock time duration measurement
Ultrasonic reverse parking
Toggle lights by clapping hands
Playing melody
Measuring magnetic field strength
Joystick musical instrument
Line tracking
Displaying temperature
Temperature ON/OFF control
Mobile phone-based Wi-Fi projects
Mobile phone-based Bluetooth projects
Sending data to the Cloud
The projects have been organized with increasing levels of difficulty. Readers are encouraged to tackle the projects in the order given. A specially prepared sensor kit is available from Elektor. With the help of this hardware, it should be easy and fun to build the projects in this book.
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.
This book covers a series of exciting and fun projects for the Arduino, such as a silent alarm, people sensor, light sensor, motor control, internet and wireless control (using a radio link). Contrary to many free projects on the internet all projects in this book have been extensively tested and are guaranteed to work!
You can use it as a projects book and build more than 45 projects for your own use. The clear explanations, schematics, and pictures of each project make this a fun activity. The pictures are taken of a working project, so you know for sure that they are correct.
You can combine the projects in this book to make your own projects. To facilitate this, clear explanations are provided on how the project works and why it has been designed the way it has That way you will learn a lot about the project and the parts used, knowledge that you can use in your own projects.
Apart from that, the book can be used as a reference guide. Using the index, you can easily locate projects that serve as examples for the C++ commands and Arduino functionality. Even after you’ve built all the projects in this book, it will still be a valuable reference guide to keep next to your PC.
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.