Welcome to our latest IoT tutorial! In this short video, we'll show you how to control a single LED using a push button, with the added functionality of toggling the LED state. Our project utilizes the popular ESP32 microcontroller and the Preferences library for state storage.
For the connections, we've linked the push button to GPIO 23, while the LED is connected to GPIO 2. By implementing the toggle feature, you'll be able to easily switch the LED on and off with just a single press of the button.
#IoT #ESP32 #LEDControl #ToggleLED #PushButton #PreferencesLibrary
Don't forget to Like, and subscribe, Thank You.
Code: https://github.com/hubtfk/ESP32-LED-C...
Check out some previous videos...
Esp32 Preferences Library: • ESP32 Flash Memory Persistence: WiFi ...
PUSH Button Toggle: • How To Use Push button as a Toggle Sw...
Automatic Water dispenser: • Automatic Water Dispenser with ESP826...
EvilTwin With NodeMCU: • Get Wifi Passwords Effortlessly Using...
Reset NodeMCU: • Reset NodeMCU ESP8266 To Factory Defa...
Esp32 BLE Server: • ESP32 BLE Server Tutorial: Monitor DH...
Esp32 Bluetooth Classic: • ESP32 Bluetooth Classic & DHT Sensor ...
Blynk 2.0 + Google Assistant : • Blynk 2.0 Setup with Google Assistant...
Getting Started With PlatformIO: • Getting Started with PlatformIO and V...
Blynk IOT with DHT11 : • Blynk ioT | Temperature and Humidity...
Blynk Setup With EEPROM: • How to read-write EEPROM of NodeMCU |...
ChatGPT vs ESP32s : • How to read-write EEPROM of NodeMCU |...
| TFK | Automatic Water Dispenser with Esp8266, ir sensor and DC pump |
Esp8266 Nodemcu AccessPoint: • Esp8266 NodeMCU Wifi Access Point | E...
Esp8266 NodeMCu MultiWifi: • Programming the ESP8266 Multi WiFi | ...
Connect Esp8266 NodeMCU to Wifi Network: • Connect Esp8266 NodeMCU to Wifi Netwo...
Upload Code Using Android: • How to Program Arduino / Esp8266 with...
Automatic Water Planting: • Automatic Plant Watering System using...
NodeMCU WebSERVER: • ESP8266 Web Server using SPIFFS | Web...
SETUP New Blynk Mobile: • Getting Started With New Blynk IOT A...
Background Music: • No Copyright Music Cyber Attack E...
Watch video ESP32 LED Control with push button Toggle Function using Preferences Library | TFK online, duration hours minute second in high quality that is uploaded to the channel TFK ioT 22 July 2023. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 659 times and liked it 20 visitors.