Die chinesische Firma Espressif Systems hat den neuen Mikrocontroller ESP32 entwickelt, das Nachfolgemodell des ESP8266-WiFi-Chips. Zusätzlich zu allen ESP8266-Funktionen stellt der ESP32 nun Bluetooth-Funk, einen größeren SRAM-Datenspeicher, mehr GPIOs, mehr Schnittstellen, einen Touch-Sensor, einen Temperatursensor, höhere CPU-Geschwindigkeit, einen CAN-Bus, ADCs mit höherer Auflösung, DACs und Sicherheitsfunktionen bereit. Der ESP32 ist Arduino-kompatibel.
Dieses Buch ist eine Einführung in den ESP32-Prozessor und beschreibt die wichtigsten Hardware- und Software-Features dieses Chips. Das Hauptziel des Buches ist es, dem Leser zu vermitteln, wie man ESP32-Hard- und Software in praktischen Projekten einsetzt, vor allem durch Verwendung des hochmodernen ESP32-Entwicklungsboards.
Im Buch sind viele einfache, grundlegende und weitere Projekte mittlerer Schwierigkeit auf Basis des Entwicklungsboards ESP32 DevKitC samt der beliebten Arduino-IDE und der Programmiersprache MicroPython enthalten. Die Projekte sind nach aufsteigender Komplexität organisiert.
Réalisés par les créateurs du MagPi, le magazine officiel de Raspberry Pi
Démarrez avec le Raspberry Pi 5, le dernier-né et le plus performant de la famille des nano-ordinateurs Raspberry Pi. Apprenez à coder et à réaliser des projets avec cet ordinateur étonnant.
Dans ce manuel dédié au Raspberry Pi 5, nous vous proposons aussi de nombreuses idées de projets également réalisables avec le Raspberry Pi 4, le Raspberry Pi Zero 2 W et le Raspberry Pi Pico W.
Avec des tutoriels, des projets pratiques, des essais techniques, des guides et bien plus encore, il s’agit de la ressource ultime pour le Raspberry Pi !
228 pages sur le Raspberry Pi
Tout ce que vous devez savoir sur le Raspberry Pi 5
Prise en main de tous les Raspberry Pi
Amusez-vous et apprenez l’électronique avec le Pico W
Des projets inspirants pour vous donner des idées de réalisations
Apprenez μPython en construisant une mini-console
Démarrez avec le module caméra Raspberry Pi
Intelligence artificielle, codage de son propre agent ChatGP
Dieses Buch beschäftigt sich mit DC-Elektromotoren und deren Einsatz in Arduino und Raspberry Pi Zero W-Projekten. Das Buch enthält zahlreiche Motorsteuerungsprojekte, wobei jedes Projekt denselben Aufbau besitzt:
Projekttitel
Beschreibung des Projekts
Blockschaltbild
Schaltplan
Zusammenbau
Vollständiges Programmlisting
Umfassende Erläuterung des Programms
Die Projekte im Buch umfassen die Standard-DC-Motoren, Schrittmotoren, Servomotoren und mobile Roboter. Das Buch richtet sich an Elektronik-Bastler, die Projekte mit dem Arduino Uno oder dem Raspberry Pi Zero W entwickeln und dabei Motoren einsetzen möchten.
Ein besonders reizvolles Projekt dieses Buches ist die Fernsteuerung eines mobilen Roboters von einem Mobiltelefon aus mit dem Arduino Uno sowie dem Raspberry Pi Zero W. Dieses Projekt wird sowohl über Wi-Fi als auch über Bluetooth mit dem Handy gesteuert. Die Leser sollten in der Lage sein, einen Roboter vorwärts, rückwärts, links oder rechts zu bewegen, indem sie einfache Befehle vom Mobiltelefon aus senden.
Die vollständigen Programmlistings aller Projekte sowie die detaillierten Programmbeschreibungen finden Sie im Buch. Der Leser kann die Projekte Schritt für Schritt nachbauen oder sie an die eigenen Bedürfnisse anpassen.
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
Program and build Arduino-based ham station utilities, tools, and instruments
In addition to a detailed introduction to the exciting world of the Arduino microcontroller and its many variants, this book introduces you to the shields, modules, and components you can connect to the Arduino. Many of these components are discussed in detail and used in the projects included in this book to help you understand how these components can be incorporated into your own Arduino projects. Emphasis has been placed on designing and creating a wide range of amateur radio-related projects that can easily be built in just a few days.
This book is written for ham radio operators and Arduino enthusiasts of all skill levels, and includes discussions about the tools, construction methods, and troubleshooting techniques used in creating amateur radio-related Arduino projects. The book teaches you how to create feature-rich Arduino-based projects, with the goal of helping you to advance beyond this book, and design and build your own ham radio Arduino projects.
In addition, this book describes in detail the design, construction, programming, and operation of the following projects:
CW Beacon and Foxhunt Keyer
Mini Weather Station
RF Probe with LED Bar Graph
DTMF Tone Encoder
DTMF Tone Decoder
Waveform Generator
Auto Power On/Off
Bluetooth CW Keyer
Station Power Monitor
AC Current Monitor
This book assumes a basic knowledge of electronics and circuit construction. Basic knowledge of how to program the Arduino using its IDE will also be beneficial.
Comprehensive Book-Hardware Bundle for the RP2040 Microcontroller with over 80 Projects
Unlock the potential of modern controller technology with the Raspberry Pi Pico in this bundle. Perfect for both beginners and experienced users, the easy-to-follow guide takes you from the basics of electronics to the complexities of digital signal processing. With the Raspberry Pi Pico, the dedicated hardware kit and MicroPython programming, you will learn the key principles of circuit design, data collection, and processing.
Get hands-on with over 80 projects like a stopwatch with an OLED display, a laser distance meter, and a servo-controlled fan. These projects are designed to help you apply what you've learned in real-world scenarios. The book also covers advanced topics like wireless RFID technology, object detection, and sensor integration for robotics.
Whether you're looking to build your skills in electronics or dive deeper into embedded systems, this bundle is the perfect resource to help you explore the full potential of the Raspberry Pi Pico.
Contents of the Bundle
1x Project Book (273 pages)
1x Smart Car Kit
Electronic Parts
2x Solderless breadboard (400 holes)
1x Solderless breadboard (170 holes)
5x Colorful 5 mm LEDs (green, red, blue, yellow and white)
1x Laser transmitter
1x Passive buzzer
1x Micro USB cable (30 cm)
1x 65 Jumper wires
1x 20 cm male to female Dupont wire
1x Clear case
1x Magnet (diameter: 8 mm, thickness: 5 mm)
1x Rotary potentiometer
10x 2 KΩ resistors
2x M2.5x30 mm copper pillars
10x Phillips pan head screws
10x M2.5 nickel hex nuts
1x 2-inch dual-purpose screwdriver
Modules
1x RGB module
1x 9G servo
1x Dual-axis XY joystick module
1x RC522 RFID module
1x 4 Bits digital LED display module
1x Traffic light display module
1x Rotary Encoder module
1x 1602 LCD Display module (Blue)
1x Photoresistor module
1x DC motor with male Dupont wire
1x Fan blade
1x Raindrops module
1x OLED module
1x Membrane switch keyboard
1x Mini magnetic spring module
1x Infrared remote control
1x Infrared receiver module
1x DC stepper motor driver board
1x Button
Sensors
1x Vibration sensor
1x Soil moisture sensor
1x Sound sensor
1x Mini PIR motion sensor
1x Temperature & Humidity sensor
1x Flame sensor
2x Crash sensor
2x Tracking sensor
1x Ultrasonic sensor
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.
Projects with Arduino, ESPHome, Home Assistant, and Raspberry Pi & Co.
This e-book contains various example projects, beginning with an introduction to electronics. It also explains how to install Home Assistant on a Raspberry Pi, how to use indoor climate sensors for temperature and humidity, how to implement the MQTT protocol and other interfaces, and how to use ESPHome to integrate sensors and actuators into Home Assistant. Numerous video tutorials complement the book.
Fundamentals of electrical engineering
The book begins with an introduction to electrical engineering. You will learn the basics of voltage, current, resistors, diodes and transistors.
Arduino and microcontrollers
A complete section is dedicated to the Arduino Uno. You will get to know the structure, write your first programs and work on practical examples.
Home Assistant and automation
You will learn how to set up Home Assistant on a Raspberry Pi and how to use automations, scenes and devices. In addition, Zigbee, MQTT and ESP-NOW – important technologies for home automation – will be discussed.
ESP8266, ESP32 and ESP32-CAM
The popular ESP microcontrollers are covered in detail. A theoretical introduction is followed by practical projects that show you how to get the most out of these devices.
Sensors and actuators
The book explains the functionality and application of numerous sensors such as temperature and humidity sensors, motion detectors and RFID readers. For actuators, stepper motors, e-ink displays, servo motors and much more are covered. There are practical application examples for all devices.
ESPHome
This chapter shows you how to integrate sensors and actuators into Home Assistant without any programming effort. You will be guided step by step through the setup with ESPHome.
LEDs and lighting technology
In this chapter, you will learn about different types of LEDs and how they can be used. The basics of lighting technology are also explained.
Node-RED
A whole chapter is dedicated to Node-RED. You will learn the basics of this powerful tool and be guided step by step through its setup and use.
Integrated Circuits (ICs)
In electronics, there are numerous ICs that make our lives easier. You will get to know the most important ones and apply your knowledge in practical projects.
Professional programming
Advanced topics such as the correct use of buttons, the use of interrupts and the use of an NTP server for time synchronisation are covered in detail in this chapter.
Downloads
GitHub
Based on PIC microcontrollers and Arduino
Every mobile phone includes a GSM/GPRS modem which enables the phone to communicate with the external world. With the help of the GSM modems, users can establish audio conversations and send and receive SMS text messages. In addition, the GPRS modem enables users to connect to the internet and to send and receive large files such as pictures and video over the internet.
This book is aimed for the people who may want to learn how to use the GSM/GPRS modems in microcontroller based projects. Two types of popular microcontroller families are considered in the e-book: PIC microcontrollers, and the Arduino. The highly popular mid-performance PIC18F87J50 microcontroller is used in PIC based projects together with a GSM Click board. In addition, the SIM900 GSM/GPRS shield is used with the Arduino Uno projects. Both GSM and GPRS based projects are included in the e-book.
The book will enable you to control equipment remotely by sending SMS messages from your mobile phone to the microcontroller, send the ambient temperature readings from the microcontroller to a mobile phone as SMS messages, use the GPRS commands to access the internet from a microcontroller, send temperature readings to the cloud using UDP and TCP protocols and so on.
It is assumed that the reader has some basic working knowledge of the C language and the use of microcontrollers in simple projects. Although not necessary, knowledge of at least one member of the PIC microcontroller family and the Arduino Uno will be an advantage. It will also be useful if the user has some knowledge of basic electronics.
The Arduino Pro Mini is a microcontroller board based on the ATmega328P.
It has 14 digital input/output pins (of which 6 can be used as PWM outputs), 6 analog inputs, an on-board resonator, a reset button, and holes for mounting pin headers. A six pin header can be connected to an FTDI cable or SparkFun breakout board to provide USB power and communication to the board.
The Arduino Pro Mini is intended for semi-permanent installation in objects or exhibitions. The board comes without pre-mounted headers, allowing the use of various types of connectors or direct soldering of wires. The pin layout is compatible with the Arduino Mini.
The Arduino Pro Mini was designed and is manufactured by SparkFun Electronics.
Specifications
Microcontroller
ATmega328P
Board Power Supply
5-12 V
Circuit Operating Voltage
5 V
Digital I/O Pins
14
PWM Pins
6
UART
1
SPI
1
I²C
1
Analog Input Pins
6
External Interrupts
2
DC Current per I/O Pin
40 mA
Flash Memory
32 KB of which 2 KB used by bootloader
SRAM
2 KB
EEPROM
1 KB
Clock Speed
16 MHz
Dimensions
18 x 33.3 mm (0.7 x 1.3")
Downloads
Eagle files
Schematics
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.