Examples prepared for workshop content. The examples are built for ESP32-WROOM-32E Dev Kit, ESP32-S3-DevkitC-1 and Arduino IDE. For setup of Arduino IDE for ESP32, visit Espressif Arduino Repository and Getting Started Guide.
-
Basic LED
- Push button once to toggle between on and off LED
-
LDR LED
- When in dark environment, turn on LED, else off LED
-
Receiver LED
- Receiver via Bluetooth Classic. When receiving '1', turn on LED. When receiving '0', turn off LED
- Only for ESP32
-
Transmitter Button
- Transmitter via Bluetooth Classic. When button press, send a signal to toggle LED on receiver
- Only for ESP32
-
Transmitter LDR
- Transmitter via Bluetooth Classic. When in dark environment, turn on LED, else off LED
- Only for ESP32
-
BLE Client LED
- Connects to BLE Server and receives updates via notifyCallback. When receiving '1', turn on LED. When receiving '0', turn off LED
- Only for ESP32-S3
-
BLE Server Button
- Connects to BLE Client and sends updates via notify. When the button is pressed, toggle the characteristic value to '1' or '0'
- Only for ESP32-S3
-
Rainmaker switch and LDR
- Runs Rainmaker. Collects LDR sensor data, and control LED from both app and device.
- Only for ESP32-S3
- Work in progress for compatibility with ESP32
- ESP32 Dev Kit OR ESP32-S3 Dev Kit
- Breadboard
- Light Dependent Resistor
- Push button
- Red LED
- Resistors (will need at least 1 pcs 1-3k ohm resistor, and 1 pcs 8-10k ohm resistor)
- Lots of jumper wires
- Micro USB Data Cable