15 LED’s Bar-Graph Control with Joystick and Arduino
Joystick analog value print on 15 LED’s Bar-Graph,first you read the analog input. You map the input value to the output range. when move the joystick led will follow left and right direction, in center only one LED on. The project is Arduino compatible. Supply input 5V DC. I have used 7 Red LED’s , 7 Green LED’s and 1 Blue LED in center. in ideal condition Blue LED is on.
- LED 1-15>> DO, D1, D2, D3, D4, D5, D7, D8, D9, D10, D11, D12, D13, A0(14)
- Joystick>> Analog Pin A1