
Product Features:
This is a basic, 4-digit 7-segment display module
The display features double points in midle.
The decimal point per digit not active.
Module connecting to digital I/O on 2 pins.
For use library: TM1637.h
Color: Green, Red, Yellow (Optional)
The header pins are not soldered by default.
Package includes:
1 x LED Display Tube Module
/*
Clock example example (Extended class example)
Display a clock on the display. For this demo you can add a speed multiplier to make the clock run faster. For a real clock you want to use a delay of 1 min or even use a Real Time Clock module (RTC)
The circuit:
* connect TM1637 pin CLK to pin D4
* connect TM1637 pin DIO to pin D5
* connect TM1637 pin Vcc to pin 5V
* connect TM1637 pin GND to pin GND
*/
// include the SevenSegmentTM1637 library
#include "SevenSegmentTM1637.h"
#include "SevenSegmentExtended.h"
/*
initialize global TM1637 Display object
* The constructor takes two arguments, the number of the clock pin and the digital output pin:
* SevenSegmentTM1637(byte pinCLK, byte pinDIO);
*/
const byte PIN_CLK = 4; // define CLK pin (any digital pin) const byte PIN_DIO = 5; // define DIO pin (any digital pin)
SevenSegmentExtended display(PIN_CLK, PIN_DIO);
const unsigned int clockSpeed = 10000; // speed up clock for demo
// run setup code
void setup() {
Serial.begin(9600); // initializes the Serial connection @ 9600 baud
display.begin(); // initializes the display
display.setBacklight(100); // set the brightness to 100 %
delay(1000); // wait 1000 ms
};
// run loop (forever)
void loop() {
byte hours = 14; // initialize hours
byte minutes = 39; // initialize minutes
for ( ; hours < 24; hours++) { // count hours up to 24
for ( ; minutes < 60; minutes++) { // count minutes up to 59
display.printTime(hours, minutes, true); // display time
delay(60000 / clockSpeed); // clock delay ms
};
minutes = 0; // reset minutes
};
};
#include "TM1637.h"; // include the TM1637 library
TM1637 display(2, 3); // initialize the library for pins 2, 3
void setup(){
display.init(); // Start display
display.set(7); // Setup brightness 0 to 7
int8_t Disp[4]; // Dimension of digits
}
void loop(){
Disp[0] = 1; // Write digits to dimension
Disp[1] = 2;
Disp[2] = 3;
Disp[3] = 4;
display.display(Disp); // Show dimension(digits) to display
}
,
,
,
,
Shipping | Delivery Period | For in-stock parts, orders are estimated to ship out in 3 days. Elecbee ships orders once a day at about 5pm except Sunday. Once shipped, estimated delivery time depends on the below carriers you chose. DHL Express: 3-7 business days DHLeCommerce: 12-22 business days FedEx International Priority: 3-7 business days EMS: 10-15 business days Registered Air Mail: 15-30 business days | |
| Shipping Rates | Shipping rates for your order can be found in the shopping cart. | ||
| Shipping Options | Shipping rates for your order can be found in the shopping cart. | ||
| Shipping Tracking | We will notify you by email with tracking number once order is shipped. You can track your order using the “Track My Order” feature. | ||
| Returning/Warranty | Returning | Returns are normally accepted when completed within 30 days from date of shipment, please contact customer service for a return authorization. Parts should be unused and in original packaging. Customer has to take charge for the shipping | |
| Warranty | All Elecbee purchases come with a 30-day money-back return policy, plus 1-year Elecbee warranty against any manufacturing defects. | ||
| This warranty shall not apply to any item where defects have been caused by improper customer assembly failure by customer to follow instructions, product modification, negligent or improper operation | |||
| Ordering | How to Buy | Elecbee accepts online orders. | |
| Add to cart > Check out > Submit order > Complete payment > Delivery | |||
| Payment | PayPal, Credit Card includes Visa, Master, American Express, Bank transfer. | ||