Thursday 15 August 2013

Controlling LED's by wireless KEYBOARD(Serial communication between ARDUINO and KEYBOARD)




Controlling LED's by wireless KEYBOARD(Serial communication between ARDUINO and KEYBOARD)

Author:- M.Sundeep Goud (sundeep.2488@gmail.com)









                    

Controlling a bunch of LED's by using ARDUINO
In this project i made Serial communication between ARDUINO and Wireless KEYBOARD

keys Function:-


0 It make's all LED's to OFF at a time
1 It make's all LED's to ON at time
2 It make's all LED's to ON and OFF continuously taking some time interval(delay)
3 It make's LED's to ON and OFF Randomly taking some time between each
   LED(i.e t=100 msec delay)
4 It make's LED's to ON and OFF Randomly taking some time between each
   LED(i.e t=50 msec delay)
5 It make's LED's to ON and OFF Randomly taking some time between each
   LED(i.e t=10 msec delay)

                     In this project i am controlling  a bunch of LED's with wireless Keyboard by using ARDUINO and PC. To make communication with PC and ARDUINO i am using Serial port(TX, RX, VCC, GND)
so that i can pass commands to my ARDUINO and control LED's





                    Serial communication Used for communication between the Arduino board and a computer or other devices. All Arduino boards have at least one serial port (also known as a UART or USART): Serial. It communicates on digital pins 0 (RX) and 1 (TX) as well as with the computer via USB. Thus, if you use these functions, you cannot also use pins 0 and 1 for digital input or output.

You can use the Arduino environment's built-in serial monitor to communicate with an Arduino board. Click the serial monitor button in the toolbar and select the same baud rate used in the call to begin().


No comments:

Post a Comment