TM1637

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
ELECTRONICA67
Posts: 154
http://meble-kuchenne.info.pl
Joined: Wed Dec 02, 2020 3:59 pm
Has thanked: 29 times
Been thanked: 9 times

Flowcode v10 TM1637

Post by ELECTRONICA67 »

Hello,

I'm building a counter using the TM1637. I previously received help turning off unused digits, and now I'm resuming that project, but I can't get any digits to light up. I've tried Flowcode 10 and Flowcode 11 and get the same result: no digits light up. I don't know if it's a bug or if it's configured incorrectly. I would appreciate it if you could check the component.

Thanks
Enrique
Attachments
FOTO.jpeg
FOTO.jpeg (59.54 KiB) Viewed 56 times
ON_OFF_TM1637.fcfx
(15.87 KiB) Downloaded 14 times

WingNut
Posts: 277
Joined: Tue Jul 13, 2021 1:53 pm
Has thanked: 50 times
Been thanked: 37 times

Re: TM1637

Post by WingNut »

you may not have enough power with 3x1.5v cells=4.5v

chipfryer27
Valued Contributor
Posts: 1937
Joined: Thu Dec 03, 2020 10:57 am
Has thanked: 422 times
Been thanked: 646 times

Re: TM1637

Post by chipfryer27 »

Hi

Following on from Wingnut, 3 x 1.5v AA batteries may not last very long as it looks like you will be powering relays as well as everything else, however that is a problem for another day. Also, you are using an external oscillator with a 19.xx crystal but your picture isn't clear enough to see if that is present along with the necessary capacitors. If you don't have an oscillator "oscillating" then your chip will appear dead.

Assuming your oscillator is fine, then the issue may be that in your chart you have set brightness to "1" which is very, very dim. In simulation you cannot even see the digits illuminate. Changing that to a higher value (range 0-7) shows that your chart does work as it should, counting from 0 - 9999 before resetting.

Regards

Post Reply