Controlling Led With Serial Monitor Using Arduino

by Rachna Aggarwal in Circuits > Arduino

305 Views, 1 Favorites, 0 Comments

Controlling Led With Serial Monitor Using Arduino

led with serial monitor using arduino

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

Circuit Schematic

led with serial monitor.PNG
led terminal.jpg

Pin 13 - - > Led 1

Pin 12 - - > Led 2

Pin 11 - - > Led 3

Pin 10 - - > Led 4

GND - - > cathode of all leds

Arduino Code