Project - Smart Sunrise Alarm
In this project, we’re going to design a smart sunrise alarm that uses a light-dependent resistor (LDR) and an active buzzer. This clever alarm will detect the first light of...
Lonely Binary |
In this project, we’re going to design a smart sunrise alarm that uses a light-dependent resistor (LDR) and an active buzzer. This clever alarm will detect the first light of...
Lonely Binary |
In the ESP32, hosting a web server is straightforward, allowing us to display data from the ESP32, such as sensor information, or even gather input from users. In this chapter,...
Lonely Binary |
In this project, we will create an ESP32 web server that displays real-time data from a connected light sensor.  ![[../images/Pasted image 20250126201657.png]] ```cpp #include const int ldrPin = 33;...
Lonely Binary |
We have learned how to display dynamic information using a Web Server. In this project, we will take it a step further by enabling interaction with the user to capture...
Lonely Binary |
The **WiFiManager** library simplifies the process of connecting an ESP32 to Wi-Fi networks by creating a captive portal for the user to input the Wi-Fi credentials. This is especially useful...
Lonely Binary |
### Useful Wifi Code Here’s an example of how to manually set up the **ESP32 in STA (Station) mode**, configure a static IP address, gateway, and DNS, and then print...
Lonely Binary |
# MultiWiFi **MultiWifi** is a feature or technique used to allow the ESP32 to connect to multiple Wi-Fi networks. The idea is that the device can automatically switch between available...
Lonely Binary |
### Dual-Mode **Dual Mode** on the ESP32 refers to the ability to operate simultaneously in both **Station (STA)** mode and **Access Point (AP)** mode. The **dual mode** enables the ESP32...
Lonely Binary |
### Wi-Fi Access Point Mode In **Access Point mode (AP)**, the ESP32 acts as a Wi-Fi access point, creating its own Wi-Fi network that other devices can join. This mode...
Lonely Binary |
To avoid repeating Wi-Fi connection code, we can abstract the connection process into a separate function and save it in a separate file. On the right side of the current...
Lonely Binary |
In **Station mode (STA)**, the ESP32 connects to an existing Wi-Fi network, functioning as a **client**. It’s similar to how your phone or PC connects to a home or office...
Lonely Binary |
The **ESP32** is well-known for its **Wi-Fi capabilities**, offering a wide range of features that make it ideal for a variety of wireless applications, from IoT (Internet of Things) devices...
Lonely Binary |
In this project, we will build a distance measurer that can measure distances up to 4 meters using the HC-SR04 Ultrasonic Sensor and ESP32. Wiring HC-SR04 ESP32 ------- ------- VCC...
Lonely Binary |
Overview An ultrasonic sensor is an electronic device used to measure distance or detect objects by emitting ultrasonic sound waves and analyzing the echoes that return. These sensors operate using high-frequency sound...
Lonely Binary |