Introduction: Arduino Serial Command LED

Picture of Arduino Serial Command LED

Source: http://www.theorycircuit.com/arduino-serial-command-led/

In this project we used arduino serial monitor to command the LED On/Off and know the status of LED condition. By using simple measurement switch case codes and alpha numeric key we can drive digital pins of arduino.

Step 1: Connection Diagram

Picture of Connection Diagram

Here we programmed arduino to turn On/Off LED that is connected in digital pin 12. Then the arduino sketch reads the status of digital pin 12 and serial prints value as either “LED is now Activated or Deactivated”. You can use this concept to control any output device connected with arduino digital pin.

Step 2: Arduino Code

For Arduino serial command LED arduino code visit: http://www.theorycircuit.com/arduino-serial-command-led/

Step 3: Prototype

Picture of Prototype

Comments

About This Instructable

1,008views

11favorites

License:

More by theorycircuit:Experiment-Resistor Exposed on Different TemperatureMotorized Fidget SpinnerArduino Mario Melody Tune
Add instructable to: