Learn how to use the ESP32 Microcontroller and MicroPython programming in your future projects!
The project book, written by well-known Elektor author Dogan Ibrahim, holds many software- and hardware-based projects especially developed for the MakePython ESP32 Development Kit. The kit comes with several LEDs, sensors, and actuators. The kit will help you acquire the basic knowledge to create IoT projects.
The book’s fully evaluated projects feature all the supplied components. Each project includes a block diagram, a circuit diagram, a full program listing, and a complete program description.
Included in the kit
1x MakePython ESP32 development board with LCD
1x Ultrasonic ranging module
1x Temperature and humidity sensor
1x Buzzer module
1x DS18B20 module
1x Infrared module
1x Potentiometer
1x WS2812 module
1x Sound sensor
1x Vibration sensor
1x Photosensitive resistance module
1x Pulse sensor
1x Servo motor
1x USB cable
2x Button
2x Breadboard
45x Jumper wire
10x Resistor 330R
10x LED (Red)
10x LED (Green)
1x Project book (206 pages)
46 Projects in the Book
LED Projects
Blinking LED
Flashing SOS
Blinking LED – using a timer
Alternately flashing LEDs
Button control
Changing the LED flashing rate using pushbutton interrupts
Chasing-LEDs
Binary-counting LEDs
Christmas lights (random-flashing 8 LEDs)
Electronic dice
Lucky day of the week
Pulsewidth Modulation (PWM) Projects
Generate a 1000-Hz PWM waveform with 50% duty cycle
LED brightness control
Measuring the frequency and duty cycle of a PWM waveform
Melody maker
Simple electronic organ
Servo motor control
Servo motor DS18B20 thermometer
Analog To Digital Converter (ADC) Projects
Voltmeter
Plotting the analog input voltage
ESP32 internal temperature sensor
Ohmmeter
Photosensitive resistance module
Digital To Analog Converter (DAC) Projects
Generating fixed voltages
Generating a sawtooth-wave signal
Generating a triangular-wave signal
Arbitrary periodic waveform
Generating a sinewave signal
Generating accurate sinewave signal using timer interrupts
Using The OLED Display
Seconds counter
Event counter
DS18B20 OLED based digital thermometer
ON-OFF temperature controller
Measuring the temperature and humidity
Ultrasonic distance measurement
Height of a person (stadiometer)
Heart rate (pulse) measurement
Other Sensors Supplied with the Kit
Theft alarm
Sound-activated light
Infrared obstacle avoidance with buzzer
WS2812 RGB LED ring
Timestamping temperature and humidity readings
Network Programming
Wi-Fi scanner
Remote control from the Internet browser (using a smartphone or PC) – Web Server
Storing temperature and humidity data in the Cloud
Low-Power Operation
Using a timer to wake up the processor
EAGLE – the “Easily Applicable Graphical Layout Editor“ is a professional-grade CAD (computer aided design) software package for the design and drafting of electronic schematics as well as the design and fabrication of printed circuit boards (PCBs).
This Advanced User Guide provides the experienced EAGLE user with insight into using some of the more advanced features of EAGLE software. It is not a guide to teach the reader the basic concepts of EAGLE, nor does it discuss the ‘how to’ of the EAGLE interface and the simpler operations and commands of the software. That is the purpose of the author’s previous title EAGLE V6 Getting Started Guide also published by Elektor.
This eBook is intended as an enduring document covering the more advanced modules, commands, and functions which make up EAGLE. It is hoped that this eBook will provide a quick, succinct reference to assist with more complex applications and uses of EAGLE – an ‘EAGLE User’s Companion’, if you like.
Complementing the EAGLE Advanced User Guide, the EAGLE User Language manual is included in this eBook in unabridged form, reproduced with permission of CadSoft GmbH.
At the time of writing, the material in this eBook covers version 7 of the EAGLE software suite.
Build your own AI microcontroller applications from scratch
The MAX78000FTHR from Maxim Integrated is a small development board based on the MAX78000 MCU. The main usage of this board is in artificial intelligence applications (AI) which generally require large amounts of processing power and memory. It marries an Arm Cortex-M4 processor with a floating-point unit (FPU), convolutional neural network (CNN) accelerator, and RISC-V core into a single device. It is designed for ultra-low power consumption, making it ideal for many portable AI-based applications.
This book is project-based and aims to teach the basic features of the MAX78000FTHR. It demonstrates how it can be used in various classical and AI-based projects. Each project is described in detail and complete program listings are provided. Readers should be able to use the projects as they are, or modify them to suit their applications. This book covers the following features of the MAX78000FTHR microcontroller development board:
Onboard LEDs and buttons
External LEDs and buttons
Using analog-to-digital converters
I²C projects
SPI projects
UART projects
External interrupts and timer interrupts
Using the onboard microphone
Using the onboard camera
Convolutional Neural Network
Dieser USB Logic Analyzer ist ein 8-Kanal-Logikanalysator, bei dem jeder Eingang doppelt für die analoge Datenaufzeichnung dient. Es eignet sich perfekt zum Debuggen und Analysieren von Signalen wie I²C, UART, SPI, CAN und 1-Wire. Dabei wird ein digitaler Eingang, der mit einem zu testenden Gerät (DUT) verbunden ist, mit einer hohen Abtastrate abgetastet. Die Verbindung zum PC erfolgt via USB.Technische DatenKanäle8 digitale KanäleMaximale Abtastrate24 MHzMaximale Eingangsspannung0 V ~ 5 VBetriebstemperatur0°C ~ 70°CEingangsimpedanz1 MΩ || 10 pFUnterstützte ProtokolleI²C, SPI, UART, CAN, 1-Wire etc.PC-VerbindungUSBAbmessungen55 x 28 x 14 mmLieferumfangUSB Logic Analyzer (8 Kanäle, 24 MHz)USB-KabelJumper Wire Ribbon KabelDownloadsSoftware
Dieser Praxis-Ratgeber wendet sich an alle, die sich für die Elektroinstallation interessieren. Auch wenn Sie nicht wissen, warum Ihre elektrische Anlage nicht zufriedenstellend funktioniert oder wie ein Fehler in Ihrer Anlage beseitigt wird, kann dieses Buch Ihnen helfen. Nützlich ist es aber sicherlich auch dann, wenn Sie nur über die Installation elektrischer Anlagen mehr wissen wollen.
Von einfachen Installationsschaltungen bis hin zur vollständigen Wohnungsinstallation zeigt Ihnen dieses Buch alles, was für Planung, Ausführung und Prüfung von elektrischen Anlagen wichtig ist. Alle üblichen Installationspraktiken haben wir für Sie mit sehr vielen Bildern und Planzeichnungen anschaulich dargestellt. Interessierte Leser erhalten somit Wissen, das für die Installation von elektrischen Anlagen notwendig ist.
Jeder einzelne Schritt wird erläutert, und wertvolle Kniffe aus der Praxis helfen Ihnen, Zeit und Geld zu sparen.
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?
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.
Über 40 vollständig getestete ESP32-Projekte mit Arduino IDE und der LVGL-Grafikbibliothek
Dieses Bundle enthält das ESP32 Cheap Yellow Display (CYD) – ein kompaktes Entwicklungsboard, das einen Standard-ESP32-Mikrocontroller mit einem 320 x 240 Pixel großen TFT-Farbdisplay kombiniert. Das Board verfügt außerdem über mehrere Anschlüsse für GPIO, serielle Kommunikation (TX/RX), Strom und Masse. Das integrierte Display ist ein großer Vorteil und ermöglicht die Erstellung komplexer, grafikbasierter Projekte ohne externe LCDs oder Displays.
Das Begleitbuch stellt die Hardware und die integrierten Anschlüsse des CYD-Boards detailliert vor. Es bietet eine Reihe von Projekten für Anfänger und Fortgeschrittene, die mit der beliebten Arduino IDE 2.0 entwickelt wurden. Sowohl grundlegende Grafikfunktionen als auch die leistungsstarke LVGL-Grafikbibliothek werden behandelt, und praktische Projekte veranschaulichen jeden Ansatz.
Alle enthaltenen Projekte wurden vollständig getestet und sind sofort einsatzbereit. Das Buch enthält Blockdiagramme, Schaltpläne, vollständige Codelisten und Schritt-für-Schritt-Erklärungen. Mit der LVGL-Bibliothek können Leser moderne, vollfarbige grafische Benutzeroberflächen mit Widgets wie Schaltflächen, Beschriftungen, Schiebereglern, Kalendern, Tastaturen, Diagrammen, Tabellen, Menüs, Animationen und mehr erstellen.
ESP32 Cheap Yellow Display Board
Dieses Entwicklungsboard (auch bekannt als "Cheap Yellow Display") wird vom ESP-WROOM-32 angetrieben, einem Dual-Core-MCU mit integrierten Wi-Fi- und Bluetooth-Funktionen. Es arbeitet mit einer Hauptfrequenz von bis zu 240 MHz, mit 520 KB SRAM, 448 KB ROM und einem 4 MB Flash-Speicher. Das Board verfügt über ein 2,8" Display mit einer Auflösung von 240x320 und Resistive Touch.
Darüber hinaus enthält die Platine einen Steuerkreis für die Hintergrundbeleuchtung, einen Schaltkreis für die Berührungssteuerung, einen Schaltkreis für die Lautsprecheransteuerung, einen lichtempfindlichen Schaltkreis und einen RGB-LED-Steuerschaltkreis. Es bietet außerdem einen TF-Kartensteckplatz, eine serielle Schnittstelle, eine DHT11-Schnittstelle für Temperatur- und Feuchtigkeitssensoren und zusätzliche E/A-Anschlüsse.
Das Modul unterstützt die Entwicklung in Arduino IDE, ESP-IDE, MicroPython und Mixly.
Anwendungen
Bildübertragung für Smart Home-Gerät
Drahtlose Überwachung
Intelligente Landwirtschaft
QR-Funkerkennung
Signal des drahtlosen Positionierungssystems
Und andere IoT-Anwendungen
Technische Daten
Mikrocontroller
ESP-WROOM-32 (Dual-Core-MCU mit integriertem WLAN und Bluetooth)
Frequenz
Bis zu 240 MHz (Rechenleistung bis zu 600 DMIPS)
SRAM
520 KB
ROM
448 KB
Flash
4 MB
Betriebsspannung
5 V
Stromverbrauch
ca. 115 mA
Display
2,8" TFT-Farbbildschirm (240 x 320)
Touch
Resistive Touch
Treiberchip
ILI9341
Abmessungen
50 x 86 mm
Gewicht
50 g
Downloads
GitHub
Dieses Bundle enthält:
The ESP32 Cheap Yellow Display Book (Einzelpreis: 35 €)
ESP32 Cheap Yellow Display Board (Einzelpreis: 25 €)
1x ESP32 Dev-Board mit 2,8" Display und Acrylgehäuse
1x Touch-Stift
1x Verbindungskabel
1x USB-Kabel
Verstehen – Entwerfen – Bauen
Wie kommt die Sprache, die Musik, der Sound … von dem Band, der Platte, der CD … in die Lautsprecher? Eine Frage, die auch im multimedialen Zeitalter interessant ist; dieses Buch gibt darauf eine Antwort.
Verstehen – Das ist der rote Faden in diesem Buch. Bei allen Beschreibungen der einzelnen Komponenten weckt der Autor das Verständnis dafür, was hier eigentlich geschieht. Dazu gehört das Wissen um qualitative Grundlagen (Rauschen, Brummen, Klirrfaktor …) genauso wie die Kenntnis der verwendeten Bauteile (passive und aktive) oder das Verständnis einzelner Normen (Dezibel, RIAA, Steckverbinder …).
Entwerfen – Parallel zum Verständnis steht der Entwurf. Hierzu beschreibt Kapitel 4 wichtige Grundschaltungen mit dem Operationsverstärker, einem Bauteil, das in modernen Audioschaltungen seinen festen Platz hat. Varianten der beschriebenen Grundschaltungen kehren in vielerlei Schaltungskonzepten wieder.
Bauen – Vollständige Geräte-Konzepte, auch Spezial- und Zusatzschaltungen sind für den Gebrauch in HiFi- sowie in Musikanlagen bestens geeignet. Es sind Vorverstärker, Filter, Endstufen, Netzteile u.v.a.m. Nach vielfältigen Zusatzgeräten, darunter Kompander, Mischpulte, Pegelmesser, Basisbreitenregler, Kopfhörerverstärker, Play-back-Stufe, Limiter … schließen Tipps und Tricks, u. a. zur Fehlersuche, den Kreis von der Theorie zur Praxis.
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.