ENGLISH

ESP32 Formats and Communication: Application of Communication Protocols with ESP32 Microcontroller (Maker Innovations Series)

Book information

Publisher
Apress
Year
2023
ISBN
1484293789, 9781484293782
Language
english
Format
PDF
Filesize
20 MB (20743433 bytes)
Edition
1
Pages
665\657
Time added
2023-07-14 19:10:54

Description

Although Wi-Fi communication is incorporated in many internet-based applications, knowledge of alternative communication protocols is vital for optimal project development with a microcontroller, such as the ESP32. This book focuses on communication protocols for the ESP32 microcontroller with illustrative projects ranging from a Bluetooth Low Energy beacon communicating with your smart wristwatch to Long Range (LoRa) communication between microsatellites circling 550km above the Earth and an ESP32 microcontroller in your home. Just as there are different communication protocols, there are different ESP32 microcontroller formats. You’ll examine the features of several ESP32 microcontroller formats, which enable the optimal combination of communication protocol and ESP32 format to achieve the requirements of a project. Several of the communication protocols and ESP32 formats have only been available in the last few months or years, making the book very relevant. Each chapter focuses on a communication protocol and is stand-alone, so they can be read without having to start from the beginning of the book. The chapters are loosely grouped into short- and long-range communication, image management for transmission to a webpage or a remote LCD screen, and the required apps and IoT techniques for remote control of an ESP32-CAM robot vehicle. The advantages of each communication protocol correspond to different project types. What You'll Learn Study the MESH communication protocol and the ESP-NOW protocol with communication between ESP32 microcontrollers without a Wi-Fi connectionReview email communication projects with an ESP32 and generation of quick response codes to instruct an ESP32 to control a connected device.Look at the ESP32-CAM module built around a 2M-pixel camera for streaming images with the WebSocket protocol to a remote ESP32Control an ESP32-CAM robot car through remote communication over the internet with image streaming to an Android tablet or mobile phone. Who This Book Is For Table of Contents About the Author About the Technical Reviewer Preface Chapter 1: ESP32 Microcontroller USB to UART Driver Installation Arduino IDE esp32 Boards Manager Version 2.0.N ESP32 DEVKIT DOIT TTGO T-Display V1.1 Pulse-Width Modulation Analog to Digital Conversion TTGO LoRa32 V2.1 1.6 TTGO T-Watch V2 TTGO T-Watch Installation M5Stack Core2 M5Stack Core2 Installation M5Stack Core2 and Sound M5Stack Core2 M5GO Battery Base ESP32-CAM ESP32-CAM-MB Module ESP32-CAM-CH340 Module Image Resolution Microcontroller Developments Memory Heap Memory Non-volatile Memory Software Versions Chapter 2: I2S Audio Analog to Digital Direct Memory Access PDM Microphone Fast Fourier Transform Digital to Analog PCM5102 Decoder Module MAX98357 Decoder Module Internet Radio Internet Radio with an ESP32 Module Internet Radio with M5Stack Core2 MP3 Player Play MP3 Files from the Micro-SD Card Play MP3 Files with M5Stack Core2 Bluetooth Communication Transmission to ESP32 Transmission by ESP32 Bluetooth Device Scanning Chapter 3: MESH Communication ESP-MESH ESP-MESH and One Bluetooth Device ESP-MESH and Bluetooth Apps Chapter 4: TTGO T-Watch V2 TTGO T-Watch Functionality Configuration File Main Sketch Default Display Screen Application Menu Screen Brightness GPS Information GPS Location Speed, Altitude, and Distance Covered GPS Satellite Map Bluetooth Communication Infrared Signaling Synchronization with the Network Time Protocol Source OpenWeatherMap API Data Step Counter and Distance Measure Timer Battery Voltage and Microcontroller Temperature Data Storage on a Micro-SD Card Temperature, Current, and Screen Brightness GPS Tracking Data Factory Firmware Installation Chapter 5: BLE Beacons Eddystone Beacons Eddystone-URL Beacon Eddystone-TLM Beacon Eddystone-UID Beacon iBeacon Beacon Raw Data BLE Communication GATT Profile Two-Way Communication Notifications BLE Scanning BLE Receive App nRF24L01 Module as a BLE Transceiver Chapter 6: LoRa and Microsatellites ESP32 as a LoRa Transmitter or Receiver ESP32 and LoRa Satellites Installation and Configuration Test Station Configuration and Test Message Antenna for LoRa Reception Microsatellite Tracking Chapter 7: Email and QR Codes Email QR Codes HTTP and XML HTTP Requests QR Codes and XML HTTP Requests QR Codes and WebSocket Chapter 8: WebSocket, Remote Access, and OTA WebSocket Strings and Character Arrays WebSerial Web Dashboard Over the Air (OTA) Chapter 9: MQTT CO2 and TVOC MQTT, CO2, and TVOC MQTT and Smart Meter Energy Usage Measurement Wi-Fi, MQTT, and Smart Meter Wi-Fi Connection to a Router ESP-NOW, MQTT, and Smart Meter Wi-Fi or Wi-Fi and ESP-NOW Chapter 10: Managing Images Image Bitmap Display a Black-and-White Image Display a Color Image Bitmap and X Bitmap Send an Image in Email Store the Image File in SPIFFS Image URL in the Sketch Display Images as a Sprite LCD Screen M5Stack Core2 and Accelerometer Transparent Sprite Memory Requirements Display Time with Sprites Extension to M5Stack Core2 Compress HTML Code Chapter 11: ESP32-CAM Camera Stream Images Directly to an LCD Screen Stream Images to a Remote LCD Screen Stream Images to TTGO T-Watch Stream Images to M5Stack Core2 Stream Images Over Wi-Fi Web Page with Control Functions WebSocket esp_http_server Web Page with Image Streaming and Control Functions ESP32-CAM Image Resolution Chapter 12: Control Apps App to Display a Web Page App to Display Streamed Images App to Transmit and Receive Data App with Image Streaming and Control Functions App Sliders Circular Slider Vertical Slider Horizontal Slider Touchdown and Touchup App to Control WS2812 RGB LEDs Bluetooth Communication Wi-Fi Communication Chapter 13: Remote Control Motors Servo Motor ledc Function ESP32Servo Library App to Control a Servo Motor DC Motors TB6612FNG Motor Driver Board L298N Motor Driver Board Motor Driver Control App to Control DC Motors with a Heading Angle Motor Speed Variation Chapter 14: Remote Control an ESP32-CAM Robot Car App with Direction Buttons App with Heading Angle Control Chapter 15: Libraries TFT_eSPI Library Library Functions Fonts Libraries to Access Time Data time Library RTC Library TimeLib and NTPtimeESP Libraries System Time Library Libraries Used Create a Library Source File Header File Keyword File Information File Components Index

Similar books