Connecting a TM1637 4-Digit Display
Moderators: grovkillen, Stuntteam, TD-er
Connecting a TM1637 4-Digit Display
I ordered a TM1637, Arduino compatible, 4-Digit Display hoping to connect it to a ESP8266 with ESP-Easy, but I can't figure out how to do it.
It's obviously not listed as a compatible device. Has anyone figured out how to connect it, maybe?
It's here for instance.
It's obviously not listed as a compatible device. Has anyone figured out how to connect it, maybe?
It's here for instance.
Re: Connecting a TM1637 4-Digit Display
TM1637 is not a supported IC; you can either write your own plugin or make a request if other users have the needs of it....
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: Connecting a TM1637 4-Digit Display
It seems like a useful display. You should follow papperone suggestion. GitHub is the place for that: https://github.com/letscontrolit/ESPEasy
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
![Idee :idea:](./images/smilies/icon_idea.gif)
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
![Idee :idea:](./images/smilies/icon_idea.gif)
![Idee :idea:](./images/smilies/icon_idea.gif)
![Idee :idea:](./images/smilies/icon_idea.gif)
Re: Connecting a TM1637 4-Digit Display
I wish I could make a plugin myself, but I can't ![Bedroeft :(](./images/smilies/icon_e_sad.gif)
Thank you both for the answer.
I will try to make a request for it. I looked around on GitHub, but I don't how to make a request to support this device. I surely don't want to piss someone off by just putting the request anywhere.
The only thing I can find there is a pull request, but that seems to be for people who contribute plugins etc.
![Bedroeft :(](./images/smilies/icon_e_sad.gif)
Thank you both for the answer.
I will try to make a request for it. I looked around on GitHub, but I don't how to make a request to support this device. I surely don't want to piss someone off by just putting the request anywhere.
The only thing I can find there is a pull request, but that seems to be for people who contribute plugins etc.
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: Connecting a TM1637 4-Digit Display
Just keep it consistent and to the point. Nothing to worry about .
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
![Idee :idea:](./images/smilies/icon_idea.gif)
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
![Idee :idea:](./images/smilies/icon_idea.gif)
![Idee :idea:](./images/smilies/icon_idea.gif)
![Idee :idea:](./images/smilies/icon_idea.gif)
Re: Connecting a TM1637 4-Digit Display
Does not seem a complex device to implement but I don't have any handy to test; I will order one from Aliexpress and once I will get I'll hook up to my ESP8266 test module and create plugin for it, but it depens on "China delivery" so don't expect anything quick ![Mr. Groen :mrgreen:](./images/smilies/icon_mrgreen.gif)
![Mr. Groen :mrgreen:](./images/smilies/icon_mrgreen.gif)
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone
Re: Connecting a TM1637 4-Digit Display
Thank you papperone, I'm grateful for any effort
I've found several articles concerning solutions with Arduino and / or esp8266, just not with ESP-Easy.
![Lach :)](./images/smilies/icon_e_smile.gif)
I've found several articles concerning solutions with Arduino and / or esp8266, just not with ESP-Easy.
Re: Connecting a TM1637 4-Digit Display
Display arrived this mornign and under testing ![Lach :)](./images/smilies/icon_e_smile.gif)
Basic plugin seems to work ok, I'm planning to add 2 modes: number/clock.
While "clock" will automatically shows the time blinking the colon once/sec., "numbers" will set the device in manual mode, waiting for command to be sent to refresh number shown.
Hope this will fulfill all the needs for this display; if you have more ideas please comment here so I can evaluate to include in the final plugin![Erg Blij :D](./images/smilies/icon_e_biggrin.gif)
![Lach :)](./images/smilies/icon_e_smile.gif)
Basic plugin seems to work ok, I'm planning to add 2 modes: number/clock.
While "clock" will automatically shows the time blinking the colon once/sec., "numbers" will set the device in manual mode, waiting for command to be sent to refresh number shown.
Hope this will fulfill all the needs for this display; if you have more ideas please comment here so I can evaluate to include in the final plugin
![Erg Blij :D](./images/smilies/icon_e_biggrin.gif)
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone
-
- Normal user
- Posts: 307
- Joined: 06 Nov 2016, 13:45
Re: Connecting a TM1637 4-Digit Display
Thanks for your initiative papperone!
Give a number of minutes and seconds, count down, and create a setting on a certain GPIO.
Applications:
- Arm count down
- Lights off within ...
- ESPEasy automated egg boiling
- Gate shutter
- Heating on for xx minutes
Just my 2 cents
Domosapiens
How about a count-down counter ?if you have more ideas please comment here
Give a number of minutes and seconds, count down, and create a setting on a certain GPIO.
Applications:
- Arm count down
- Lights off within ...
- ESPEasy automated egg boiling
![Erg Blij :D](./images/smilies/icon_e_biggrin.gif)
- Gate shutter
- Heating on for xx minutes
Just my 2 cents
Domosapiens
30+ ESP units for production and test. Ranging from control of heating equipment, flow sensing, floor temp sensing, energy calculation, floor thermostat, water usage, to an interactive "fun box" for my grandson. Mainly Wemos D1.
Re: Connecting a TM1637 4-Digit Display
Not a bad idea, at all!Domosapiens wrote: ↑03 Oct 2017, 00:19 Thanks for your initiative papperone!
How about a count-down counter ?if you have more ideas please comment here
Give a number of minutes and seconds, count down, and create a setting on a certain GPIO.
Applications:
- Arm count down
- Lights off within ...
- ESPEasy automated egg boiling![]()
- Gate shutter
- Heating on for xx minutes
Just my 2 cents
Domosapiens
I am not sure to add a GPIO trigger (as it can be obtained easily via the rules) but I'll give it a thought before implement it...
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone
Re: Connecting a TM1637 4-Digit Display
Really good ideas! Great you have been able to get it to work so soon.
My plan was to use it for time and temperature.
My plan was to use it for time and temperature.
Re: Connecting a TM1637 4-Digit Display
Very interesing.
What about displaying a value from any item/count in Domoticz ?
I would love to show my power consumption of the house of the result of my solar system.![Lach :-)](./images/smilies/icon_e_smile.gif)
Need beta testers ?
What about displaying a value from any item/count in Domoticz ?
I would love to show my power consumption of the house of the result of my solar system.
![Lach :-)](./images/smilies/icon_e_smile.gif)
Need beta testers ?
Re: Connecting a TM1637 4-Digit Display
+1
Could be achieved by sending http commands to it, like it works with the OLED display. Also a good idea!
Re: Connecting a TM1637 4-Digit Display
As it is now it's already accepting commands to update the shown number when in manual mode, and it works
![Lach :)](./images/smilies/icon_e_smile.gif)
Pity it's limited to 4 digits
![Bedroeft :(](./images/smilies/icon_e_sad.gif)
I though about temperature woudl be great but I need to check how the library works beacuse it's build only to show numbers and to lit or not the colon.
If I can customize it woudl be perfect to be able to show "°" or "F" for temperature purpouse and still be usable (3 digits + a sign) for that purpouse.
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: Connecting a TM1637 4-Digit Display
This one here is 8 digits (other chipset though).
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
![Idee :idea:](./images/smilies/icon_idea.gif)
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
![Idee :idea:](./images/smilies/icon_idea.gif)
![Idee :idea:](./images/smilies/icon_idea.gif)
![Idee :idea:](./images/smilies/icon_idea.gif)
Re: Connecting a TM1637 4-Digit Display
Yes that uses MAX7219 IC, which I though it was suppoertd by ESPEasy but looks like I was wrong...
As I'm sure I've one of those chip somewhere in my lab, I'll search for it and will implement it in ESPEasy as well (maybe same plugin if feasible
![Lach :)](./images/smilies/icon_e_smile.gif)
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: Connecting a TM1637 4-Digit Display
That would be awesome PapperOne!!!papperone wrote: ↑03 Oct 2017, 11:07Yes that uses MAX7219 IC, which I though it was suppoertd by ESPEasy but looks like I was wrong...
As I'm sure I've one of those chip somewhere in my lab, I'll search for it and will implement it in ESPEasy as well (maybe same plugin if feasible)
![Lach :)](./images/smilies/icon_e_smile.gif)
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
![Idee :idea:](./images/smilies/icon_idea.gif)
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
![Idee :idea:](./images/smilies/icon_idea.gif)
![Idee :idea:](./images/smilies/icon_idea.gif)
![Idee :idea:](./images/smilies/icon_idea.gif)
Re: Connecting a TM1637 4-Digit Display
If you can't get it show a letter it's no problem for me. But if you do get this working it would be nice to have only the bottomdigit lit (tot show fractions) and a 'C' for Celcius or 'F' for Fahrenheit too.papperone wrote: ↑03 Oct 2017, 11:01As it is now it's already accepting commands to update the shown number when in manual mode, and it works
Pity it's limited to 4 digits
I though about temperature woudl be great but I need to check how the library works beacuse it's build only to show numbers and to lit or not the colon.
If I can customize it woudl be perfect to be able to show "°" or "F" for temperature purpouse and still be usable (3 digits + a sign) for that purpouse.
I know there are single digits one can connect too. I once read an article of someone who connected 16 of those single digits.
Re: Connecting a TM1637 4-Digit Display
Not sure I understand the first part of your reply... Can you elaborate?ronald wrote: ↑03 Oct 2017, 11:12 If you can't get it show a letter it's no problem for me. But if you do get this working it would be nice to have only the bottomdigit lit (tot show fractions) and a 'C' for Celcius or 'F' for Fahrenheit too.
I know there are single digits one can connect too. I once read an article of someone who connected 16 of those single digits.
There are plenty of 7-digit display, some (like MAX7219) even daisy chainable, but I think willmake the plugin overcomplicated and too much specific...
I would rathe keep it simple, adding support for common modules on the market, and easy to be updated for basic needs (time, timer, temperature, numbers).
As soon as I'll complete more testing I will publish the WIP plugin on GitHub
![Lach :)](./images/smilies/icon_e_smile.gif)
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone
Re: Connecting a TM1637 4-Digit Display
Sorry if my answer confused you! Bottomline is that I would be very pleased with just the 'basic' functions you discribed.papperone wrote: ↑03 Oct 2017, 15:43Not sure I understand the first part of your reply... Can you elaborate?ronald wrote: ↑03 Oct 2017, 11:12 If you can't get it show a letter it's no problem for me. But if you do get this working it would be nice to have only the bottomdigit lit (tot show fractions) and a 'C' for Celcius or 'F' for Fahrenheit too.
I know there are single digits one can connect too. I once read an article of someone who connected 16 of those single digits.
There are plenty of 7-digit display, some (like MAX7219) even daisy chainable, but I think willmake the plugin overcomplicated and too much specific...
I would rathe keep it simple, adding support for common modules on the market, and easy to be updated for basic needs (time, timer, temperature, numbers).
As soon as I'll complete more testing I will publish the WIP plugin on GitHub![]()
But if you would somehow manage to find a way to control the different segments without it getting too complicated, I would welcome a way to show temperature like this: "21.5c" or "64.5F".
Re: Connecting a TM1637 4-Digit Display
Ronald,
just out of interest.. Why do you like to have the C or F ?
Do you live in a multi temperature country? Do they exist? As well. if you do see 60 or 22 you can assume the F or C.
I find it a "waste" of display.. ( no hard feelings please
)
Greetings
Frank
just out of interest.. Why do you like to have the C or F ?
Do you live in a multi temperature country? Do they exist? As well. if you do see 60 or 22 you can assume the F or C.
I find it a "waste" of display.. ( no hard feelings please
![Lach :-)](./images/smilies/icon_e_smile.gif)
Greetings
Frank
Re: Connecting a TM1637 4-Digit Display
Ha ha, you're right Frank. It just looks nice, nothing more. On the other hand: if it's possible, why not? The temperature uses 3 digits, so the 4th digit, on the right, won't be used. And that's also a waste of display
![Lach :-)](./images/smilies/icon_e_smile.gif)
By the way, I don't think there are any countries that use both C and F. As far as I know the US uses F and the rest of the world uses C, but I might be wrong.
Re: Connecting a TM1637 4-Digit Display
and you are right too ![Lach :-)](./images/smilies/icon_e_smile.gif)
@Papperone
Can you share anything already ? Can I help ? (coding ? )
Very interested in it![Lach :-)](./images/smilies/icon_e_smile.gif)
![Lach :-)](./images/smilies/icon_e_smile.gif)
@Papperone
Can you share anything already ? Can I help ? (coding ? )
Very interested in it
![Lach :-)](./images/smilies/icon_e_smile.gif)
Re: Connecting a TM1637 4-Digit Display
Cleaning up the code at the moment, TM1637 works ok, MAX7912 under few bugfix, planning to add another module I have around in my lab (4 digit driven by 2x74HC595).
Thinking about enabling temperature, I indeed agree on dropping the C/F as non-sense but, we need to enable the "minus" (for outside winter measurement maybe) but... the TM1637 does not have "floating dot" oly colon in the middle so no way to display decimals properly
![Bedroeft :(](./images/smilies/icon_e_sad.gif)
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: Connecting a TM1637 4-Digit Display
I understand the colon isn't an optimal decimal sign but it is possible to "paint the top diod black". ![Verward :?](./images/smilies/icon_e_confused.gif)
![Verward :?](./images/smilies/icon_e_confused.gif)
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
![Idee :idea:](./images/smilies/icon_idea.gif)
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
![Idee :idea:](./images/smilies/icon_idea.gif)
![Idee :idea:](./images/smilies/icon_idea.gif)
![Idee :idea:](./images/smilies/icon_idea.gif)
Re: Connecting a TM1637 4-Digit Display
grovkillen wrote: ↑03 Oct 2017, 23:12 I understand the colon isn't an optimal decimal sign but it is possible to "paint the top diod black".![]()
![Lachend :lol:](./images/smilies/icon_lol.gif)
![Lachend :lol:](./images/smilies/icon_lol.gif)
![Lachend :lol:](./images/smilies/icon_lol.gif)
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone
Re: Connecting a TM1637 4-Digit Display
so far "beta" plugins has below functionality under testing:
- support already both TM1637 (4 digits) and MAX7219 (8 digits) display
- both displays have controllable brightness from device page
- 2 "modes": CLOCK / MANUAL
- when display is setup as CLOCK it's automatically updated once-a-second
- on TM1637 it shows just hours/minutes with blinking colon (HH:MM)
- on MAX7219 it shows hours/minutes/seconds with blinking segments in-between (HH-MM-SS)
- when display is setup as MANUAL it can only be refreshed manually sending commands
- already implemented "7dn,<number>" will update the display showing <number> (TM1637 range is 0-9999, MAX7219 range is -9999999-99999999)
- 2 or more displays (no matter if same or different model/chip) can't work together connected to the same module - they generates a crash making the ESP8266 unrecoverable if not erasing flash
- "7dn" command accepts only integer number; just for MAX7219 decimal dot needs to be enabled as supported by hardware
- "7dt" command to be implemented in order to show temperature (TM1637 --> "-XXX" / MAX7219 "-XXX.XX°")
ideas on formats to be used are mote than welcome but please take into consideration hardware limitation!
- as temperature can be negative or above 100 (for F°) on TM1637 no decimals nor symbols will be shown
- to add support for 74HC595 4 digit modules (tbd)
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone
Re: Connecting a TM1637 4-Digit Display
impressive !!! Thanks !!! Can't wait ![Lach :-)](./images/smilies/icon_e_smile.gif)
![Lach :-)](./images/smilies/icon_e_smile.gif)
Re: Connecting a TM1637 4-Digit Display
This all sounds very good! Impressive progress!
Will it be possible to stop the blinking colon on the clock?
Thank you for your effort![Lach :)](./images/smilies/icon_e_smile.gif)
Will it be possible to stop the blinking colon on the clock?
Thank you for your effort
![Lach :)](./images/smilies/icon_e_smile.gif)
Re: Connecting a TM1637 4-Digit Display
mmmm... not at the moment, I thought it was something everyone woudl like to have but if you think it's not the case I can easily enable this option instead of making it always ON
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone
Re: Connecting a TM1637 4-Digit Display
I guess it's difficult to please everyone... I'm not that keen about the blinking myself.
I'm the guy that also switches off display of seconds when possible...
But I'm sure others will disagree!
I'm the guy that also switches off display of seconds when possible...
But I'm sure others will disagree!
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: Connecting a TM1637 4-Digit Display
See my comment above. It would be pretty nice if we could control the brightness in more detail. Great work though!!!papperone wrote: ↑04 Oct 2017, 13:09 so far "beta" plugins has below functionality under testing:
- support already both TM1637 (4 digits) and MAX7219 (8 digits) display
- both displays have controllable brightness from device page <--------- Is it possible to control this on individual sections or only overall?
current bugs/todo (before to release the plugin):
- 2 "modes": CLOCK / MANUAL
- when display is setup as CLOCK it's automatically updated once-a-second
- on TM1637 it shows just hours/minutes with blinking colon (HH:MM)
- on MAX7219 it shows hours/minutes/seconds with blinking segments in-between (HH-MM-SS)
- when display is setup as MANUAL it can only be refreshed manually sending commands
- already implemented "7dn,<number>" will update the display showing <number> (TM1637 range is 0-9999, MAX7219 range is -9999999-99999999)
- 2 or more displays (no matter if same or different model/chip) can't work together connected to the same module - they generates a crash making the ESP8266 unrecoverable if not erasing flash
- "7dn" command accepts only integer number; just for MAX7219 decimal dot needs to be enabled as supported by hardware
- "7dt" command to be implemented in order to show temperature (TM1637 --> "-XXX" / MAX7219 "-XXX.XX°")
ideas on formats to be used are mote than welcome but please take into consideration hardware limitation!
- as temperature can be negative or above 100 (for F°) on TM1637 no decimals nor symbols will be shown
- to add support for 74HC595 4 digit modules (tbd)
![Lach :)](./images/smilies/icon_e_smile.gif)
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
![Idee :idea:](./images/smilies/icon_idea.gif)
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
![Idee :idea:](./images/smilies/icon_idea.gif)
![Idee :idea:](./images/smilies/icon_idea.gif)
![Idee :idea:](./images/smilies/icon_idea.gif)
Re: Connecting a TM1637 4-Digit Display
For quite some time, I've been thinking about using espeasy on a Sonoff TH16 to control a fan/heater in our greenhouse. My idea was:
1 x Sonoff TH16 with espeasy. Used as 'logic' plus relay to control 230V to the heater/fan.
1 pcs. temperature sensor (+maybe humidity sensor, just for info)
1 pcs. potentiometer to adjust temperature setpoint
+ now: 1 pcs. TM1637 to show current measured temperature, as well as show setpoint when adjusting via potentiometer.
I'm a bit unsure if this can be done via rules, but it would be very cool![Lach :)](./images/smilies/icon_e_smile.gif)
1 x Sonoff TH16 with espeasy. Used as 'logic' plus relay to control 230V to the heater/fan.
1 pcs. temperature sensor (+maybe humidity sensor, just for info)
1 pcs. potentiometer to adjust temperature setpoint
+ now: 1 pcs. TM1637 to show current measured temperature, as well as show setpoint when adjusting via potentiometer.
I'm a bit unsure if this can be done via rules, but it would be very cool
![Lach :)](./images/smilies/icon_e_smile.gif)
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: Connecting a TM1637 4-Digit Display
I don't see any reason why this couldn't be done with rules.
Great idea of use!
Looking forward to this plugin. Waiting for delivery still though.
![Geek :geek:](./images/smilies/icon_e_geek.gif)
Looking forward to this plugin. Waiting for delivery still though.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
![Idee :idea:](./images/smilies/icon_idea.gif)
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
![Idee :idea:](./images/smilies/icon_idea.gif)
![Idee :idea:](./images/smilies/icon_idea.gif)
![Idee :idea:](./images/smilies/icon_idea.gif)
Re: Connecting a TM1637 4-Digit Display
I'm still studing the datasheet of TM1637 as I'm not really happy of the library that is available and I'm trying to rebuild communication in the plugin to have it customized and get rid of library; but so far I saw only a general brightness command for all 4 digits. I'll look deeper this evening to check if this request can be implemented in the chip!grovkillen wrote: ↑05 Oct 2017, 14:56
- both displays have controllable brightness from device page <--------- Is it possible to control this on individual sections or only overall?
![Knipoog ;)](./images/smilies/icon_e_wink.gif)
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone
Re: Connecting a TM1637 4-Digit Display
_P073_7DGT plugin submiteed as [TESTING] on the main branch!
Few notes:
- No libraries needed as I coded all the interface with the modules inside the plugin (and customize them on my needs)
- I dropped support of TM74HC595 display as very limited in commands supported and not easy to handle (and I guess it is as well outdated as TM1637 is a much better choice today)
- TM1637 and MAX7219 fully supported
- Modes: Manual, Clock Blink, Clock No Blink, Date
- in Manual mode the plugin reacts to command "7dn,<number>" and "7dt,<temperature>" to show data and it's adaptive (note for TM1637 if you want to use it to show temperature you need to cover the top dot of the colon
)
- other supported commands: "7don", "7doff", "7db,<brightness> (first two very obvious and useful to turn on/off display when not used/needed, last one to setup brightness without accessign ESPEasy GUI)
Please report to me any issues, bugs, features to be implemented, anything, in order to improve the plugin.
NOTE: Still more than one display is not 100% working and can cause crashes of the ESP8266; I will work on this after the plugin will be stable and all functionality fully confirmed working.
Few notes:
- No libraries needed as I coded all the interface with the modules inside the plugin (and customize them on my needs)
- I dropped support of TM74HC595 display as very limited in commands supported and not easy to handle (and I guess it is as well outdated as TM1637 is a much better choice today)
- TM1637 and MAX7219 fully supported
- Modes: Manual, Clock Blink, Clock No Blink, Date
- in Manual mode the plugin reacts to command "7dn,<number>" and "7dt,<temperature>" to show data and it's adaptive (note for TM1637 if you want to use it to show temperature you need to cover the top dot of the colon
![Mr. Groen :mrgreen:](./images/smilies/icon_mrgreen.gif)
- other supported commands: "7don", "7doff", "7db,<brightness> (first two very obvious and useful to turn on/off display when not used/needed, last one to setup brightness without accessign ESPEasy GUI)
Please report to me any issues, bugs, features to be implemented, anything, in order to improve the plugin.
NOTE: Still more than one display is not 100% working and can cause crashes of the ESP8266; I will work on this after the plugin will be stable and all functionality fully confirmed working.
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone
Re: Connecting a TM1637 4-Digit Display
O, that's great! I really want to try it.
I must admit that I don't know how to test it though. I know how to flash my unit and how to upgrade to new versions/ test versions of the software, but I have never added a new plugin.
I can't find how to do it... Can you tell where to find that?![Beschaamd :oops:](./images/smilies/icon_redface.gif)
I must admit that I don't know how to test it though. I know how to flash my unit and how to upgrade to new versions/ test versions of the software, but I have never added a new plugin.
I can't find how to do it... Can you tell where to find that?
![Beschaamd :oops:](./images/smilies/icon_redface.gif)
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: Connecting a TM1637 4-Digit Display
Can't wait to try it out! (About 2 weeks until my units arrive.)
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
![Idee :idea:](./images/smilies/icon_idea.gif)
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
![Idee :idea:](./images/smilies/icon_idea.gif)
![Idee :idea:](./images/smilies/icon_idea.gif)
![Idee :idea:](./images/smilies/icon_idea.gif)
Re: Connecting a TM1637 4-Digit Display
Same problem hereronald wrote: ↑10 Oct 2017, 11:34 O, that's great! I really want to try it.
I must admit that I don't know how to test it though. I know how to flash my unit and how to upgrade to new versions/ test versions of the software, but I have never added a new plugin.
I can't find how to do it... Can you tell where to find that?![]()
![Bedroeft :-(](./images/smilies/icon_e_sad.gif)
I have found the plugin
https://github.com/letscontrolit/ESPEasy/pull/534/files
No idea about the next step , is there a how to plugin wiki ? link?
Re: Connecting a TM1637 4-Digit Display
I will post BIN later today with dev12 plus this plugin; I will compile only for 4096 module if ok for you....
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone
Re: Connecting a TM1637 4-Digit Display
Great, Papperone!
4096 is ok for me.
4096 is ok for me.
Re: Connecting a TM1637 4-Digit Display
here it is! please let me know your feeback...
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone
Re: Connecting a TM1637 4-Digit Display
Hi Papperone
I already tried the device (a TM1637) and for me it is working great!
I tried these modes:
clock blinking
clock not blinking
date
manual command 7dn
7dn,-1000 = ----
7dn,-999 = -999
7dn,9999 = 9999
7dn,99999 = ----
manual command 7dt
- positive number gives me "22:2o" (with the degree symbol in the upper half of course!)
- negative number gives me "-10o"
Display output is working ok.
I would welcome commands to switch the device on or off, like the LCD has.
I tried it on a Witty Cloud version of the esp8266, which is a bit of a pain in the b*t, because so many of the I/O pins are already taken, but my other device were not available.
I hooked it up to D0 (DIO) and D4 (CLK) and that worked.
Thanks for your effort!
I already tried the device (a TM1637) and for me it is working great!
I tried these modes:
clock blinking
clock not blinking
date
manual command 7dn
7dn,-1000 = ----
7dn,-999 = -999
7dn,9999 = 9999
7dn,99999 = ----
manual command 7dt
- positive number gives me "22:2o" (with the degree symbol in the upper half of course!)
- negative number gives me "-10o"
Display output is working ok.
I would welcome commands to switch the device on or off, like the LCD has.
I tried it on a Witty Cloud version of the esp8266, which is a bit of a pain in the b*t, because so many of the I/O pins are already taken, but my other device were not available.
I hooked it up to D0 (DIO) and D4 (CLK) and that worked.
Thanks for your effort!
Re: Connecting a TM1637 4-Digit Display
Thanks Ronald, probably you should read this previous comment --> http://www.letscontrolit.com/forum/view ... =30#p19744
You have already "7don" "7doff" and "7db,<brightness>" commands implemented...![Mr. Groen :mrgreen:](./images/smilies/icon_mrgreen.gif)
You have already "7don" "7doff" and "7db,<brightness>" commands implemented...
![Mr. Groen :mrgreen:](./images/smilies/icon_mrgreen.gif)
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone
Re: Connecting a TM1637 4-Digit Display
Ah, missed that one! I'm really happy with the resultpapperone wrote: ↑11 Oct 2017, 17:09 Thanks Ronald, probably you should read this previous comment --> http://www.letscontrolit.com/forum/view ... =30#p19744
You have already "7don" "7doff" and "7db,<brightness>" commands implemented...![]()
![Erg Blij :D](./images/smilies/icon_e_biggrin.gif)
Re: Connecting a TM1637 4-Digit Display
Downloaded ...
I try to open it with WinRar, but it throws an error... How do I uncompress is??![Bedroeft :-(](./images/smilies/icon_e_sad.gif)
MANY THANKS !!!!
Frank
I try to open it with WinRar, but it throws an error... How do I uncompress is??
![Bedroeft :-(](./images/smilies/icon_e_sad.gif)
MANY THANKS !!!!
Frank
Re: Connecting a TM1637 4-Digit Display
no idea, I tryed myself to donwload and open it and I got no errors; as well ronald download and installed it without issue it seems...
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: Connecting a TM1637 4-Digit Display
Try 7-zip.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
![Idee :idea:](./images/smilies/icon_idea.gif)
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
![Idee :idea:](./images/smilies/icon_idea.gif)
![Idee :idea:](./images/smilies/icon_idea.gif)
![Idee :idea:](./images/smilies/icon_idea.gif)
Who is online
Users browsing this forum: Bing [Bot] and 3 guests