Introduction: Arduino Serial Command LED

Source: https://theorycircuit.com/arduino-projects/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

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: https://theorycircuit.com/arduino-projects/arduino-serial-command-led/

Step 3: Prototype