MrLoba81 / TM1638-Test

A simple animation to test the TM1638 LED Controller with a common anode custom display with 8 digits and 8 little bars

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TM1638-Test

A simple Arduino sketch with an animation to test the TM1638 with a common anode custom display with 8 digits and 8 little bars

The sketch does not make use of dalay(), this is a good practice to write non blocking code

The display

@Katodo kindly sent me some seven-segment displays. I want to thanks him and also thanks to @cyb3rn0id that made this possible.

They have two lines of four digits with different size and colors and also eight indicators bars

  1. First line - bigger and green
  2. Second line - smaller and red So in total there are nine digits to drive.

They are common anode display with two rows of nine pins with standard horizontal spacing but non standard vertical spacing, the 7th pin on the first row is not connected.

You can find the pinout on my instagram post

The driver TM1638

It supports up to ten digits with eight segments in common anode mode and has also a key scan feature that permits to drive a keypad up to 24 keys, is housed in a SOP28 package so has to be soldered on an adapter to be used on a protoboard

I found it while reading Elettronica In n.253, an Italian magazine about electronics published by @futuragroupsrl

The protoype

I assembled the display and the TM1638 on a breadboard with an Arduino Nano.

Take a look at the post on my instagram, there is a video of the simple animation.

IMG20210701171704

About

A simple animation to test the TM1638 LED Controller with a common anode custom display with 8 digits and 8 little bars

License:GNU General Public License v3.0


Languages

Language:C++ 100.0%