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: AustraliaPosts: 3 |
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: AustraliaPosts: 2914 |
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 StatesPosts: 1425 |
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/ Micromites and Maximites! - Beginning Maximite |
||||
jdh2550 Regular Member Joined: 16/07/2012 Location: United StatesPosts: 62 |
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 |