4 Digit Two Wire Display With Arduino

20,743

33

11

Introduction: 4 Digit Two Wire Display With Arduino

About: I am an American teaching English at Shangluo University, Shaanxi. I like making machines that do interesting but fairly useless things - I call them Quixotic Machines.

I was working on a project where i needed a 4 digit display but when I went to connect it to the Arduino all I found were articles about having to wire up 12 plus pins. Then I found this Suli library which makes it so simple a dummy like me can wire it up with two pins (digitial 2 and digital 3).

Stuff needed:

Grove TM1637 4 Digit display

Suli library

Four_Digiit_Display_Suli library

Step 1: Connect Display to Arduino

If you have an Arduino with an I2C two wire plug then it's a no brainer.

I only had an Uno so connect display vcc to 5v, gnd to gnd, DIO to Arduino digital pin 2, and CLK to Arduio digital pin 3.

Done.

Step 2: Download Libraries

Get Suli library here: https://github.com/Seeed-Studio/Four_Digit_Display_Suli

Now I did have a problem running the demo until I copied the cpp and header files from

here: https://github.com/Seeed-Studio/Suli/tree/master/Suli_Arduino (Guess they had updates).

Get Four_Digit_Display here: https://github.com/Seeed-Studio/Four_Digit_Display_Suli

Hope you know how to install libraries.

Run the Four_Digit_Display demo in the Examples file.

Rock on!

Be the First to Share

    Recommendations

    • Battery Powered Contest

      Battery Powered Contest
    • Plywood Challenge

      Plywood Challenge
    • Plastic Contest

      Plastic Contest

    11 Discussions

    0
    Rocking Arduinos
    Rocking Arduinos

    5 years ago

    Will it work with all 4-digit displays? Like with the same ones that need 12 wires.

    0
    ThomasW165
    ThomasW165

    Reply 2 years ago

    It will work with any tm1637 based display.

    0
    JimRD
    JimRD

    Reply 5 years ago

    No, only the Grove TM1637 as far as I know.

    0
    brinesharks
    brinesharks

    5 years ago

    Can't seem to compile it - any chance you could provide more detail for step 2?

    0
    JimRD
    JimRD

    Reply 4 years ago

    Sorry I just saw your comment today - don't know where I have been. But sadly I don't have this stuff anymore or even the code. Hope you got it worked out.

    0
    Ruben Marc Speybrouck
    Ruben Marc Speybrouck

    Reply 4 years ago

    i am not either. i just appreciate that you made it easy to find everything i needen ;)

    0
    JimRD
    JimRD

    Reply 4 years ago

    Thank you, hope it helps. I'm not really an expert on this stuff but it was available elsewhere and I needed it at the time.

    0
    GuyH13
    GuyH13

    4 years ago

    Thanks, nice simple library to use the TM1637. Very straightforward.

    0
    JimRD
    JimRD

    Reply 4 years ago

    Thanks. Pretty easy to use. I used it for a weird clock project. Hope I have something else to use it for.
    Rock on.

    0
    BallscrewBob
    BallscrewBob

    5 years ago

    Works well with the chinese clones too