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.
Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.
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: http://www.theorycircuit.com/arduino-serial-command-led/