Display TM1637!

Tips, Tricks and methods for programming, learn ways of making your programming life easier, and share your knowledge with others.

Moderators: Benj, Mods

jgu1
Posts: 1102
Joined: Tue Oct 06, 2009 9:39 am
Has thanked: 1003 times
Been thanked: 255 times
Contact:

Display TM1637!

Postby jgu1 » Fri Oct 12, 2018 8:56 pm

Hi All!

I have just received some of these display TM1637:
https://www.ebay.com/itm/Red-Blue-Green ... 2749.l2649

I have made a small testprogram i FC8 with the TM1637 component.
In addition to a clock, it can be used for many other purposes.

All functions working perfect with FC8. :D

Br Jorgen-
Attachments
TM1637.fcfx
(13.08 KiB) Downloaded 278 times
These users thanked the author jgu1 for the post (total 2):
medelec35 (Fri Oct 12, 2018 9:28 pm) • Benj (Fri Oct 12, 2018 11:55 pm)
Rating: 10.53%
 

Proflolo
Posts: 19
Joined: Fri Dec 07, 2018 11:34 am
Has thanked: 1 time
Been thanked: 1 time
Contact:

Re: Display TM1637!

Postby Proflolo » Thu Dec 20, 2018 5:29 pm

Hello.
I am French teacher.
Where did you find the TM1637 7SEGMENT(QUAD) ?
Thanks.

User avatar
medelec35
Valued Contributor
Valued Contributor
Posts: 8440
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2412 times
Been thanked: 3450 times
Contact:

Re: Display TM1637!

Postby medelec35 » Thu Dec 20, 2018 5:45 pm

Hi Proflolo,
TM1637.png
TM1637.png (16.92 KiB) Viewed 6093 times


Just use Search
These users thanked the author medelec35 for the post (total 3):
Benj (Thu Dec 20, 2018 5:59 pm) • jgu1 (Thu Dec 20, 2018 9:31 pm) • Proflolo (Thu Dec 27, 2018 3:14 pm)
Rating: 15.79%
 
Martin

If you read a post that is useful, please show appreciation by clicking on thumbs up Icon.

User avatar
Benj
Matrix Staff
Posts: 14363
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4444 times
Been thanked: 4144 times
Contact:

Re: Display TM1637!

Postby Benj » Thu Dec 20, 2018 5:59 pm

Also available from Displays -> Display: Segment, it's right near the bottom of the displays list.
These users thanked the author Benj for the post (total 2):
jgu1 (Thu Dec 20, 2018 9:31 pm) • medelec35 (Thu Dec 20, 2018 9:44 pm)
Rating: 10.53%
 

User avatar
medelec35
Valued Contributor
Valued Contributor
Posts: 8440
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2412 times
Been thanked: 3450 times
Contact:

Re: Display TM1637!

Postby medelec35 » Thu Dec 20, 2018 9:48 pm

Benj wrote:Also available from Displays -> Display: Segment, it's right near the bottom of the displays list.

Yes, if you use the search then where the location of component is will be shown.
See the green outline in the image on my previous post.
Martin

If you read a post that is useful, please show appreciation by clicking on thumbs up Icon.

Proflolo
Posts: 19
Joined: Fri Dec 07, 2018 11:34 am
Has thanked: 1 time
Been thanked: 1 time
Contact:

Re: Display TM1637!

Postby Proflolo » Thu Dec 27, 2018 3:17 pm

Bonjour,
Je suis désolé de vous répondre par la négative.
Mais je n'ai pas le TM1637 dans ma bibliothèque.
Ci-joint, ma copie d'écran.
TM1637.png
TM1637.png (199.87 KiB) Viewed 6018 times

User avatar
medelec35
Valued Contributor
Valued Contributor
Posts: 8440
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2412 times
Been thanked: 3450 times
Contact:

Re: Display TM1637!

Postby medelec35 » Thu Dec 27, 2018 4:41 pm

You must have the latest version installed!

Vous devez avoir la dernière version installée

Latest Version2.png
Latest Version2.png (16.46 KiB) Viewed 6011 times

Latest Version3.png
Latest Version3.png (124 KiB) Viewed 6011 times
These users thanked the author medelec35 for the post:
LeighM (Fri Dec 28, 2018 6:52 pm)
Rating: 5.26%
 
Martin

If you read a post that is useful, please show appreciation by clicking on thumbs up Icon.

Proflolo
Posts: 19
Joined: Fri Dec 07, 2018 11:34 am
Has thanked: 1 time
Been thanked: 1 time
Contact:

Re: Display TM1637!

Postby Proflolo » Thu Dec 27, 2018 5:16 pm

Merci beaucoup..
Effectivement, c'était tout siple.
Je vous remercie beaucoup.
Bonne soirée

bercioiu
Posts: 151
Joined: Sun Feb 25, 2007 10:56 am
Location: bucharest, romania
Has thanked: 84 times
Been thanked: 34 times
Contact:

Re: Display TM1637!

Postby bercioiu » Sun Feb 03, 2019 8:48 pm

Good evening!
I use this topic to avoid opening another.
I have an application where I have to use 3 quad 7 segment displays.I have found that I can use the quad 7 segment display led by the TM1637 driver in Flowcode. I already have 3 displays available. Now I have some questions about component 7Segment (Quad TM1637), which I hope to find answers here:

1. How do I send Flowcode information to the 3 displays if they are cascaded?
2. How can I use the decimal point (dp)?

Thanks in advance!

Puiu

L.E.

3. How do I "print" custom characters?

User avatar
Benj
Matrix Staff
Posts: 14363
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4444 times
Been thanked: 4144 times
Contact:

Re: Display TM1637!

Postby Benj » Mon Feb 04, 2019 11:39 am

Hello,

1. How do I send Flowcode information to the 3 displays if they are cascaded?


You can simply just connect different I/O to different display pins. This allows you to connect and control multiple units.

2. How can I use the decimal point (dp)?


Does your unit have a DP outputs? Can you show us which specific unit you are using.

3. How do I "print" custom characters?


Currently we allow the characters 0-9 and A-F. I can expose a lower level macro to allow you to control the individual segments if this would help.
These users thanked the author Benj for the post:
bercioiu (Mon Feb 04, 2019 2:32 pm)
Rating: 5.26%
 

bercioiu
Posts: 151
Joined: Sun Feb 25, 2007 10:56 am
Location: bucharest, romania
Has thanked: 84 times
Been thanked: 34 times
Contact:

Re: Display TM1637!

Postby bercioiu » Mon Feb 04, 2019 2:42 pm

Yes, it has decimal points and I have to use it ...
If it connects cascaded, I only have two lines of command CLK and DIO.
I want, for example, to write "u" or "U", how can I do that?
Thank you!
Attachments
WhatsApp Image 2019-02-04 at 3.33.02 PM.jpeg
WhatsApp Image 2019-02-04 at 3.33.02 PM.jpeg (103.6 KiB) Viewed 5814 times
WhatsApp Image 2019-02-04 at 3.33.01 PM.jpeg
WhatsApp Image 2019-02-04 at 3.33.01 PM.jpeg (88.23 KiB) Viewed 5814 times

User avatar
Benj
Matrix Staff
Posts: 14363
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4444 times
Been thanked: 4144 times
Contact:

Re: Display TM1637!

Postby Benj » Tue Feb 05, 2019 4:27 pm

Aha we based the component off the Grove module which doesn't have the decimal points or the cascade functionality.

Let me investigate for you.
These users thanked the author Benj for the post:
bercioiu (Tue Feb 05, 2019 4:57 pm)
Rating: 5.26%
 

bercioiu
Posts: 151
Joined: Sun Feb 25, 2007 10:56 am
Location: bucharest, romania
Has thanked: 84 times
Been thanked: 34 times
Contact:

Re: Display TM1637!

Postby bercioiu » Sun Mar 03, 2019 12:43 pm

I am already on the second project with TM1637 and I'm struck by the same problem: I can not use the decimal point. This time I really need to, because I'm doing a DRO.
Can anyone change TM1637 component for FC8?
Thank you!
Attachments
b13e8fee-a75e-432e-9994-49c884f5509f.jpg
b13e8fee-a75e-432e-9994-49c884f5509f.jpg (73.07 KiB) Viewed 3651 times

bercioiu
Posts: 151
Joined: Sun Feb 25, 2007 10:56 am
Location: bucharest, romania
Has thanked: 84 times
Been thanked: 34 times
Contact:

Re: Display TM1637!

Postby bercioiu » Fri Mar 29, 2019 11:11 pm

Please help me at least by directly accessing the segments to print custom characters, with the decimal point I can do by myself with the addition of a transistor.
Thank you!

User avatar
Benj
Matrix Staff
Posts: 14363
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4444 times
Been thanked: 4144 times
Contact:

Re: Display TM1637!

Postby Benj » Mon Apr 01, 2019 5:55 pm

Hello,

Thanks for letting me know. I have added a new ShowSegments macro to allow you to manually control the individual display segments.
These users thanked the author Benj for the post:
bercioiu (Mon Apr 01, 2019 7:02 pm)
Rating: 5.26%
 

bercioiu
Posts: 151
Joined: Sun Feb 25, 2007 10:56 am
Location: bucharest, romania
Has thanked: 84 times
Been thanked: 34 times
Contact:

Re: Display TM1637!

Postby bercioiu » Mon Apr 01, 2019 7:25 pm

First of all, thank you for helping me again, sir!
I did a test, but I do not see how the macro works ...
Can you look at the file?
Once again, thank you!
Attachments
test_TM1637.fcfx
(9.51 KiB) Downloaded 53 times

User avatar
Benj
Matrix Staff
Posts: 14363
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4444 times
Been thanked: 4144 times
Contact:

Re: Display TM1637!

Postby Benj » Tue Apr 02, 2019 10:17 am

Hello,

Sorry I forgot to check the simulation was running too. I've now fixed this and it should now be working nicely.

Please note I have changed the parameters for the new SetSegments macro slightly so you will have to edit any icons that reference the function.
These users thanked the author Benj for the post (total 2):
bercioiu (Tue Apr 02, 2019 11:18 am) • jgu1 (Thu Apr 04, 2019 5:41 pm)
Rating: 10.53%
 

bercioiu
Posts: 151
Joined: Sun Feb 25, 2007 10:56 am
Location: bucharest, romania
Has thanked: 84 times
Been thanked: 34 times
Contact:

Re: Display TM1637!

Postby bercioiu » Tue Apr 02, 2019 11:21 am

Now, everything seems to be all right and everything goes well.
Thank you again!
These users thanked the author bercioiu for the post:
Benj (Tue Apr 02, 2019 12:38 pm)
Rating: 5.26%