Page 1 of 3
TM1637
Posted: Tue Feb 24, 2026 4:43 am
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
Re: TM1637
Posted: Tue Feb 24, 2026 6:13 am
by WingNut
you may not have enough power with 3x1.5v cells=4.5v
Re: TM1637
Posted: Tue Feb 24, 2026 8:27 am
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
Re: TM1637
Posted: Tue Feb 24, 2026 11:41 pm
by ELECTRONICA67
They work with previous examples, but with the same examples in updated versions, the display doesn't show any digits.
Re: TM1637
Posted: Tue Feb 24, 2026 11:50 pm
by chipfryer27
Hi
I am using the latest edition of FC with updated databases and if I change brightness to a high level, it works fine in simulation.
Can you be more specific with your issue?
Regards
Re: TM1637
Posted: Tue Feb 24, 2026 11:53 pm
by ELECTRONICA67
I want to count a number of pulses. In the example, I count using a variable: count = count + 1; It doesn't read the pulses received by the PIC and the displays don't light up.
Re: TM1637
Posted: Tue Feb 24, 2026 11:55 pm
by ELECTRONICA67
en la simulacion funciona correctamente, en el hardware no encienden los segmentos, incremente a 4 el brillo
Re: TM1637
Posted: Tue Feb 24, 2026 11:57 pm
by ELECTRONICA67
tambien cambie las baterias por una fuente ajustandola a 5.4 volt
Re: TM1637
Posted: Wed Feb 25, 2026 12:07 am
by chipfryer27
Hi
The above is a very different chart to the one you originally asked about.
What problem?
No display or not counting pulses?
Regards
Re: TM1637
Posted: Wed Feb 25, 2026 12:17 am
by ELECTRONICA67
no se visualiza y creo tampoco cuenta los pulsos, ahorita estoy probando una simple suma de una variable que incrementa en 1 cada 500 mS sin tomar en cuenta los pulsos, nadamas para visualizar el display; cambie a Flowcode 11 pro