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.

Teacher Notes

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/

Step 3: Prototype

Be the First to Share

    Recommendations

    • Made with Math Contest

      Made with Math Contest
    • Multi-Discipline Contest

      Multi-Discipline Contest
    • Robotics Contest

      Robotics Contest

    Discussions