Introduction:

In this project PC based Device control takes place. With Arduino platform as mediator we are going to perform this task. Serial communication is used inside this program. Four LEDs get controlled by using this. When we enter one letter in COM port window which is normally used for serial communication purpose it will turn ON first LED. Similarly for remaining LEDs we will do  same procedure. To turn off LED again we will enter different letter.

Components Required:

  • 1 x Arduino Board with USB Cable
  • 1 x Bread Board
  • 4 x Light Emitting diodes
  • 4 x 1 Kilo Ohm resistors
  • Bread Board Connecting Wires

Arduino Schematic:

Pc Device Control

Assemble the circuit as shown in the above diagram. The program for Arduino is mentioned below. Please check the connections twice before you give power to the circuit. Paste below code in arduino and upload it to the board.

Code: