Перейти к содержимому

ESP32 Wi-Fi Scanner Project EP4 | Add BLE Scanner & Battery Support

Digitalab

0:00 / 0:00

ESP32 Wi-Fi Scanner Project EP4 | Add BLE Scanner & Battery Support

93 просмотра · 10 дней назад
Digitalab
192 подписчика
93 просмотра · 10 дней назад
ESP32 Wi-Fi Scanner Project – Episode 4 In Episode 4, we take our ESP32 Portable Wi-Fi Scanner to the next level by adding two major features: BLE Scanning and Battery Support. In the previous episodes, we built the Wi-Fi scanner, configured the 2.8-inch TFT display, and integrated the Wi-Fi scanning functionality with the graphical interface. Now we're moving closer to the goal of creating a portable wireless scanner that can operate without being connected to a USB cable. What We Add in EP4 Battery Support We add battery power to make the project genuinely portable. The project uses a 18650 Li-ion battery along with a TP4056 charging module. This allows us to: Power the ESP32 without USB Recharge the battery Move toward a standalone handheld device Continue developing the project as a portable wireless scanner BLE Scanner The ESP32 supports both Wi-Fi and Bluetooth Low Energy, so in this episode we add BLE scanning to the project. The scanner can discover nearby BLE devices and display information such as: BLE device name Device address Signal strength (RSSI) Number of BLE devices detected This allows the same ESP32 device to scan for both Wi-Fi networks and nearby BLE devices. EP4 Project Goals In this episode we: Add battery power Test the ESP32 away from the USB connection Continue improving the portable scanner design Add BLE scanning to the ESP32 Scan for nearby BLE devices Read BLE device information Display BLE results on the TFT Project Series EP1 – Basic Wi-Fi Scanner Build a basic ESP32 Wi-Fi scanner and display nearby networks in the Serial Monitor. EP2 – TFT Display Framework Set up the 2.8-inch TFT display using the ST7789 driver and build the initial graphical interface. EP3 – Wi-Fi Scanner + TFT Combine the Wi-Fi scanner with the TFT display and show live Wi-Fi network information. EP4 – BLE Scanner + Battery Support Add BLE scanning and battery power to move the project toward a truly portable wireless scanner. Hardware Used ESP32 DevKit V1 – 38 Pin 2.8-inch 240×320 SPI TFT Display ST7789 TFT 18650 Li-ion battery TP4056 charging module Jumper wires USB cable Software Arduino IDE ESP32 board package TFT_eSPI library ESP32 BLE library Source Code The complete project source code is available on GitHub: https://github.com/pintushaw/WifiScanner Chapters 00:00 Introduction 01:12 Part 1 - Battery Support 11:22 Part 2 - BLE Scan 21:13 Part 3 - UI Change 27:30 Prerequisite/Key Take away 29:14 Debug & Troubleshooting #ESP32 #WiFiScanner #BLEScanner #ESP32Projects #Arduino #ST7789 #TP4056