Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 11:36 26 Nov 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : 8x7-seg display on MM

Author Message
lang70
Newbie

Joined: 11/10/2012
Location: Australia
Posts: 3
Posted: 01:12pm 11 Oct 2012
Copy link to clipboard 
Print this post

I have original MM and trying luck with connecting to dealextreme 8x 7-seg dsply with butns (uses TM1638 IC). says is 3wire serial device (DIO,clk,strobe). should I be using I2C to communicate?
 
bigmik

Guru

Joined: 20/06/2011
Location: Australia
Posts: 2914
Posted: 02:27pm 11 Oct 2012
Copy link to clipboard 
Print this post

  lang70 said   I have original MM and trying luck with connecting to dealextreme 8x 7-seg dsply with butns (uses TM1638 IC). says is 3wire serial device (DIO,clk,strobe). should I be using I2C to communicate?


Hi,

I think they are Clocked IO or maybe SPI driven.. You may need to use SPI routines if they will work... I havent used them before so I will leave that open for others to comment on... I bought one of those modules myself but havent tried it yet. I was going to use it on my DM as it has SHIFTOUT/SHIFTIN commands with DMBasic (not MMBasic for DM) which would make this simpler.



Some info with C example is available HERE
Data sheet of the TM1638 is HERE


Regards,

Mick


Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<<
 
CircuitGizmos

Guru

Joined: 08/09/2011
Location: United States
Posts: 1425
Posted: 04:20am 12 Oct 2012
Copy link to clipboard 
Print this post

Definitely not I2C. It looks like a modified SPI - more to do than just SPI, though. You might want to start out by toggling all of the lines by yourself. You can do that step-by-step to make sure that they are doing what you wish.

Take a look at the post I did with the VFD. I included all of my code. You can steal and modify that code if you want. It clocks out data and toggles the clock for each bit.

http://www.thebackshed.com/forum/forum_posts.asp?TID=5224&PN =1

Here is an Arduino library for the part:
http://code.google.com/p/tm1638-library/

And code for a TI processor:
http://sourceforge.net/projects/msp430-tm1638/ Edited by CircuitGizmos 2012-10-13
Micromites and Maximites! - Beginning Maximite
 
jdh2550
Regular Member

Joined: 16/07/2012
Location: United States
Posts: 62
Posted: 09:26am 19 Oct 2012
Copy link to clipboard 
Print this post

  lang70 said   I have original MM and trying luck with connecting to dealextreme 8x 7-seg dsply with butns (uses TM1638 IC). says is 3wire serial device (DIO,clk,strobe). should I be using I2C to communicate?


Check out this thread: http://www.thebackshed.com/forum/forum_posts.asp?TID=5245&PN =1

That's the same chip.

Sorry, I missed this thread when I posted that one. I don't have the segment stuff posted yet - I'll be working on it this weekend. I'll update that thread when I get it done.
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024