Control an LED with Push-button Switch Using ESP8266

When the button switch is pressed, the LED light-up. when the switch is released, the LED goes out.

Jun 8, 2021

2845 views

0 respects

Components and supplies

1

ESP8266 ESP-12E

1

5 mm LED: Red

1

Jumper wires (generic)

1

Resistor 10k ohm

1

Switch Actuator, Head for spring return push-button

1

USB-A to Mini-USB Cable

1

Breadboard (generic)

Project description

Code

Code

c_cpp

Here is the project code.

Downloadable files

circuit diagram

Here is the project circuit.

circuit diagram

Image

circuit diagram

Here is the project circuit.

circuit diagram

Image

Comments

Only logged in users can leave comments

hrsajjad844

0 Followers

0 Projects

0