Display Group Number & Control Led With Joystick
Description:
In this program we are going to show our
group number 1 in 8x8 led board and controlled led with joystick.
Step
1:
Materials
Required
1. Arduino (We use UNO)
2.
8x8 Led Matrix
(Red)
3.
Joy Stick
4. Jumper wires Male - Female
Software
Required
1. Arduino IDE (We use NSight Eclipse)
Step
2:
Uploading Arduino Program
Demo View:
After uploading arduino program led
shows our group number 1. Number stays 5 seconds. After that all led turn off
and only middle led (row 4 & col 4) will turn on. Then we can control this
led with joystick. If we move joystick handle left the led goes one column left.
If we move joystick handle right then the led goes one column right.
Table
containing the voltage values and their respective ADC values for Left, Right,
Center, Up and Down position of the joystick:
Joystick
Position
|
Voltage
|
ADC
Value
|
|
X
|
Left
|
2.0mv
|
102.4
|
Right
|
4.31v
|
220.7
|
|
Center
|
2.186v
|
111.6
|
|
Y
|
Up
|
4.31v
|
220.7
|
Down
|
1.3v
|
66.6
|
|
Center
|
2.19
|
112.1
|
Table
containing the biasing test of the Dot matrix LED:
Col
|
Row
|
LED
|
GND
|
GND
|
OFF
|
GND
|
5V
|
OFF
|
5V
|
GND
|
ON
|
5V
|
5V
|
OFF
|
Picture
of the completed hardware in operation
Circuit
Diagram
Comments
Post a Comment