It is currently 23 Aug 2017 18:58

All times are UTC + 1 hour




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: 07 Aug 2017 11:37 
Offline

Joined: 14 Mar 2016 10:24
Posts: 85
Hi,

got this pcb working:
Attachment:
sku_399381_2.jpg
sku_399381_2.jpg [ 58.61 KiB | Viewed 1690 times ]


I'using AVR ( Arduino2560 ) and mikroPascal.

My code is based on this C-coded project in libStock:

https://libstock.mikroe.com/projects/vi ... ed-amp-key

in combination with the TM1638 datasheet for more explenation.

I don't know C, but with 'reading' the C-code with some common-sence, the help of the datasheet
and modiyfing I managed to get things work!

Handling the STB-bit correctly, is a big key!


Attachment:
20170807_114801.jpg
20170807_114801.jpg [ 935.3 KiB | Viewed 1690 times ]



Posted video of pcb working...

https://www.youtube.com/watch?v=1q_H-IFK3f4


All regards!

_________________
To DIY or not to DIY


Top
 Profile  
 
PostPosted: 08 Aug 2017 15:50 
Offline

Joined: 14 Mar 2016 10:24
Posts: 85
Yeah! Reading-Keys functioning too!

The DIO-pin on the TM1638 is bi-directional.

On Arduino I'm using also 1 pin, it behaviour is depending on the code.

When things finished/running-smoot, I will post code here.

All regards. Marcel

_________________
To DIY or not to DIY


Top
 Profile  
 
PostPosted: 08 Aug 2017 16:01 
Offline

Joined: 14 Mar 2016 10:24
Posts: 85
There's som isue with the rising-time of the signal coming from TM1638 data-out.

So, after clockpulse 1-to-0, a delay_us(2) is needed.

More to come...

_________________
To DIY or not to DIY


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: