ARD-TM1638 Module Key Display New 8-Bit Digital LED Tube 8-BiT, TM1638 Arduino AVR

Price:
US$7.14
ARD-TM1638
In stock
+
Add to wish list

ARD-TM1638 Module Key Display New 8-Bit Digital LED Tube 8-BiT, TM1638 Arduino AVR

Specifications:

Size: 75mmx48mm/2.95"x1.89"(inch) (approx.)
Rated voltage: DC12V
Voltage range: DC7.0 V-13.6 V
Input power: 0.24 A
Rated speed: 9500 R.P.M
Temperature range: -10.. 70 ° C
Expectancy life: 25 ° C L10 when expected life 50000 hours
Bearing structure: free maintenance dual ball bearings
Rotation direction: the wind from stents place education, facing the rotor counter-clockwise
Wiring identification: + red-black signal: blue (blue line, alarm line speed,  
Wire length: 20 cm long
Maximum Air volume: 26.8 m? / h
Motor protection: overload protection, wrong level protection and stall lock current protection
Minimum wind pressure: 0.. 120 Pa
Noise index: 41.9 dB (A)
Material qualitative material: glass fiber reinforced plastic, PBT shell, PA blades

Features:

1. 8 keys
2. 8 LED’s common cathode
3. 8 digital tube common cathode
Use TM1638 digital tube drive chip to drive common cathode LED digital tube

Connections:
VCC GND 5V power supply, STB CLK DIO MCU I/O port
This module for the chip TM1638, set the above three kinds of single chip microcomputer common peripheral circuit, the biggest characteristic is to simply take microcontroller three IO mouth can drive, scanning display and key scan don't need microcontroller intervention, only need to register to display data related to reading and writing or testing buttons, save MCU resources. 

Wiring:

VCC GND connected to 5V supply, STB CLK DIO connected to microcontroller IO port.

This module has 5 connections:

VCC – 5v from Arduino
Gnd – GND from Arduino
STB – strobe pin, an output from your Arduino
CLK – clock pin, an output from your Arduino
DIO –  data pin, another ouput from your Arduino

Code

You can get a library to make development easier from https://code.google.com/p/tm1638-library/

In the example below there are a couple of functions built into the library, there are various others that are available. We will count to 100 and then display a message.

setDisplayToDecNumber – Decimal numbers will be displayed
setDisplayToString – Displays some text on the segments

 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <TM1638.h>
// define a module on data pin 8, clock pin 9 and strobe pin 10
TM1638 module(8, 9, 10);
unsigned long a=1;
 
void setup()
{
}
 
void loop()
{
for (a=1; a<=100; a++)
{
module.setDisplayToDecNumber(a,0,false);
delay(100);
}
module.setDisplayToString("Complete");
delay(1000);
Notice for California Residents: Warning symbolWARNING: Cancer and Reproductive Harm - www.P65Warnings.ca.gov