Introduction: Controlling Led With Serial Monitor Using Arduino

About: pursuing Bachelors in Electronics and Communication at Chandigarh University

In this project, LED will be controlled using the serial monitor of the Arduino IDE. On sending 1 to serial monitor all LED will turn on and on sending 2 to serial monitor LEDs will run I pattern five times and on pressing all 3 LED will turn off.

Components Required

  1. Arduino - https://amzn.to/32jAMUA
  2. 4 X Led - https://amzn.to/3iUmIad
  3. 4 X resistor(220 ohm) - https://amzn.to/2ZuPNRN
  4. breadboard - https://amzn.to/2ZXhDpR
  5. Jumper wires - https://amzn.to/3iqdBxM

Step 1: Circuit Schematic

Pin 13 - - > Led 1

Pin 12 - - > Led 2

Pin 11 - - > Led 3

Pin 10 - - > Led 4

GND - - > cathode of all leds

Step 2: Arduino Code