Lecture Notes: ESP32 and BLE Beacon Project Demo
Introduction
- Final demo of the project work.
- Project involves using an ESP32 for BLE (Bluetooth Low Energy).
- ESP32 serves as a BLE scanner for beacons.
- Accompanied by a mobile application for both Android and iOS systems.
Project Overview
- The ESP32 detects beacons and receives information based on UUID settings.
- Mobile Application
- Developed for both Android and iOS.
- Sends beacon packets.
- Bluetooth status: indicates on/off.
- Tests for iBeacon support, which is supported on both platforms.
- User Key: Differentiates devices.
- Example keys:
- Android:
01 02 03 04
- iOS:
13 12 13 14
ESP32 Functionality
- Proximity Detection:
- Turns on an LED when the device is within 1 meter.
- Continuously scans for devices.
- Valid Devices:
- Detects iOS and Android applications based on predefined keys.
Demonstration
-
Android Application
- Blue LED turns on when the device is within 1 meter.
- LED turns off when the device is taken further away than 1 meter.
- Works even if the app is running in the background or the phone screen is locked.
-
iOS Application
- Similar procedure as Android.
- Detected when near and stops detecting when turned off or taken away.
Key Features and Benefits
- Beacon Technology:
- Devices do not require pairing.
- Works even in sleep mode.
- Provides a versatile use case for mobile applications.
- Potential use cases are numerous due to the low-power and always-on nature of BLE technology.
Conclusion
- Beacon technology is very useful due to its non-intrusive and low-power features.
- Open to questions and feedback on the project.
These notes capture the essence of the project demonstration, focusing on the practical implementation and the benefits of using BLE technology with ESP32 and mobile applications.