Mạch hiển thị 4 led 7 đoạn TM1637 sử dụng IC Driver TM1637 chuyên điều khiển Led 7 đoạn nên chỉ cần sử dụng 2 chân của Arduino kèm theo bộ thư viện sẵn có là đã có thể điều khiển và sử dụng.
Mạch hiển thị 4 led 7 đoạn TM1637 nhỏ gọn, gia công linh kiện chất lượng tốt cho độ bền và độ ổn định cao. Mạch có 2 chấm ở giữa để hiển thị kiểu thời gian.
Thông số kỹ thuật:
- Mạch hiển thị 4 led 7 đoạn TM1637.
- IC Driver: TM1637.
- Số led 7 đoạn: 4 led 0.36”.
- Nguồn sử dụng: 3.3 ~ 5VDC.
- Dòng điện sử dụng: 30~80mA
- Chân điều khiển: CLK, DIO.
- Kích thước: 42 x 24 x 12mm
- Trọng lượng: 8g.
Code tham khảo Arduino:
/* TM1637 Arduino CLK - 9 DIO - 8 VCC - 5V GND - GND */ #include <TM1637Display.h> const int CLK = 9; //Set the CLK pin connection to the display const int DIO = 8; //Set the DIO pin connection to the display int NumStep = 9999; //Variable to interate TM1637Display display(CLK, DIO); //set up the 4-Digit Display. void setup() { display.setBrightness(0x0a); //set the diplay to maximum brightness } void loop() { for(NumStep = 9999; NumStep > 0; NumStep--) //Interrate NumStep { display.showNumberDec(NumStep); //Display the Variable value; delay(100); //A half second delay between steps. } }
Video tham khảo: