10-segment 4-color battery charge indicator
Security policy
Delivery policy
This is a battery style digital tube LED based battery level display module. The 5 segment LED inside is green light and the frame is red light. It contains 10 segments within the LED, two of which are red, three are yellow, four are green, and the other is blue.
features:
- Compatible with Arduino UNO R3
- It is suitable for battery indicators and can read it in the sun
- Color: red, yellow, green, blue
- 8 adjustable luminance levels
- Operating voltage: 3.3-5.5V DC
- Working current: 20 mA (MAX)
- Logic level voltage: 3.3V / 5V
- Ideal for DIY
general
Model N / A
PCB material + alloy + plastic
Specification
LED display type
Screen size 1 inch
Operating voltage 3.3 ~ 5.5V
Working current 20mA
SAMPLE CODE:
void setup()
{
for (int i= 3; i pinMode(i, OUTPUT);
}
void loop()
{
int v = analogRead(A5);
int k = map ( v, 0, 1000, 3 , 13);
for ( int j=3 ; j {
if (j digitalWrite(j, HIGH);
else
digitalWrite(j, LOW);
}
}