## TM1637 decimal point

Give it a try, it costs you nothing !
omega
Posts: 3
Joined: Sun Jul 25, 2021 7:22 pm
Has thanked: 1 time
Been thanked: 2 times

### TM1637 decimal point

Hello,

would it be possible to implement displaying of decimal points with TM1637 4 digit LCD display ? I have display module that has following segments 8.8.:8.8. Luckily, Arduino library exists for it.

gerdF
Posts: 10
Joined: Sun Mar 28, 2021 10:33 am
Has thanked: 5 times

### Re: TM1637 decimal point

The decimal points are only indicated, there are no LEDs.
Only the colon is present.
If you are interested in my craft solution (retrofitting and soldering points), please inquire

Gerd
omega
Posts: 3
Joined: Sun Jul 25, 2021 7:22 pm
Has thanked: 1 time
Been thanked: 2 times

### Re: TM1637 decimal point

Hi Gerd, thanks for clarification.
Fernando Perez
Posts: 118
Joined: Mon Feb 15, 2021 10:09 pm
Location: Santander (Spain)
Has thanked: 62 times
Been thanked: 67 times

### Re: TM1637 decimal point

I was also unaware that the decimal points were empty, without LEDs. And I was planning to buy a couple of them. Is a gotcha!
To get out of trouble, Omega, you can use a botched, as long as you don't intend to alternate between checking the time and another measurement.
This is a thermometer:
image.png
A tiny piece of black electrical tape covering the top led and few people will notice ...

Code: [Local Link Removed for Guests]

``````pin.mode 1, output ' TM1637 CLK
pin.mode 3, output ' TM1637 DIO
tm1637.setup 3, 1 ' Don't forget the 10k pullup resistors

while 1

t = rnd(559)
t = t - 99
t\$ = str\$(t)

if len(t\$) <> 3 then
if left\$(t\$, 1) = "-" then t\$ = t\$ + "0" else t\$ = " " + t\$
if len(t\$) <> 3 then t\$ = t\$ + "0" ' Can be zero
end if

t\$ = t\$ + "c"  ' Or  t\$ = t\$ + chr\$(42)
tm1637.print t\$, 4, 255

pause 3000

wend
``````
You do not have the required permissions to view the files attached to this post.
omega
Posts: 3
Joined: Sun Jul 25, 2021 7:22 pm
Has thanked: 1 time
Been thanked: 2 times

### Re: TM1637 decimal point

That's Fernando pretty neat idea and simple solution! Really like that. My display is showing time, temperature or any printable text (switched via web UI). I'll keep the upper dot in this project as is, but writing down this idea My unit hosts DHT22 and DB18B20. I am pushing data via MQTT to NodeRed to display graphs and I also a few UI elements to control contrast and what is displayed on the lcd.
You do not have the required permissions to view the files attached to this post.