| Author |
Message |
|
Simon Inns
|
Post subject: Re: 16x8 LED Matrix Display it can be expandable? Posted: Sun Feb 20, 2011 11:17 pm |
|
Joined: Thu Apr 01, 2010 6:23 am Posts: 898
|
|
Should just be a case of doubling up the A6276 chips. Although you should make sure that the current sourcing transistors can handle the extra load of double the LEDs.
|
|
 |
|
 |
|
Mikis
|
Post subject: Re: 16x8 LED Matrix Display it can be expandable? Posted: Sun Apr 10, 2011 10:16 am |
|
Joined: Tue Apr 05, 2011 12:40 pm Posts: 9
|
|
hi again, You said for bigger display it should be just doubling A6276... I think its true, but its interesting, do I have to use another port of pic18f2550? or do I have to use the same as previous? connect it parallel? Thanks
|
|
 |
|
 |
|
Simon Inns
|
Post subject: Re: 16x8 LED Matrix Display it can be expandable? Posted: Sun Apr 10, 2011 8:19 pm |
|
Joined: Thu Apr 01, 2010 6:23 am Posts: 898
|
|
If you take a look at the datasheet for the A6276 you will see that it has a serial data out which allows you to cascade several chips together. This means you can add more chips without requiring any more ports from the PIC.
|
|
 |
|
 |
|
Mikis
|
Post subject: Re: 16x8 LED Matrix Display it can be expandable? Posted: Thu Apr 14, 2011 8:41 am |
|
Joined: Tue Apr 05, 2011 12:40 pm Posts: 9
|
|
Hi... Do you think LED matrix, should be able to count milliseconds? Just I think, what to do, as I said, I trying to make chronometer, so I have made quite. Now I'm displaying minutes and seconds in format( 0:00), but I wondering how to make milliseconds? Do I have to make some cods in "ds1302.c" file? Or I have to use a pic18f2550 self inside timer... ( but I actually don't know how to do that)
Any ideas?
Thanks for the time...
|
|
 |
|
 |
|
Simon Inns
|
Post subject: Re: 16x8 LED Matrix Display it can be expandable? Posted: Thu Apr 14, 2011 9:58 am |
|
Joined: Thu Apr 01, 2010 6:23 am Posts: 898
|
The DS1302 won't count anything less than seconds, to do anything smaller you would need to use the PIC's internal timers. There is a lot of good information on the web and in the device's datasheet. Running at the full 48Mhz (12MIPS) you can get a timing resolution of a 12th of a uS, which is 12,000,000 ticks per second or 12 ticks per uS. Pretty fast  The datasheet shows how to put a 32Khz crystal on the PIC to control timer1, so for a stop-watch you could do away with the DS1302 altogether.
|
|
 |
|
 |
|
Mikis
|
Post subject: Re: 16x8 LED Matrix Display it can be expandable? Posted: Thu Apr 14, 2011 11:36 pm |
|
Joined: Tue Apr 05, 2011 12:40 pm Posts: 9
|
|
Hi, I'm waiting for more matrix, and drivers...trying to make display bigger But now I also thinking, or I don't have to change a code for displaying symbols in bigger display...? I will try to change it in 40*8... So what do you think? do I have to make some changes in programs codes? (or anything will be done just by LED drivers?)
Thanks for sharing your time with me...
|
|
 |
|
 |
|
Simon Inns
|
Post subject: Re: 16x8 LED Matrix Display it can be expandable? Posted: Fri Apr 15, 2011 6:15 am |
|
Joined: Thu Apr 01, 2010 6:23 am Posts: 898
|
|
As long as you keep the display height the same you will not have to redo the character definitions. As for adding more LED drivers; you will need to change the code in order to send more LED control bytes to the additional drivers. If you look in the LED driver's datasheet you should be able to figure out what is required.
|
|
 |
|
 |
|
Mikis
|
Post subject: Re: 16x8 LED Matrix Display it can be expandable? Posted: Sat Apr 16, 2011 7:36 pm |
|
Joined: Tue Apr 05, 2011 12:40 pm Posts: 9
|
|
hi friend... I really was traying to put a clock program (Timer1) from pic18f2550 datasheet into MPlab, but there some problems for building it... Do I have to use simple "microchip18 toolsuite" for building it? There are a lot of unknown codes saiyng Mplab?
Any help in this way?
| Attachments: |
File comment: This is a problem?

Problem.jpg [ 298.71 KiB | Viewed 1392 times ]
|
|
|
 |
|
 |
|
Simon Inns
|
Post subject: Re: 16x8 LED Matrix Display it can be expandable? Posted: Sat Apr 16, 2011 10:19 pm |
|
Joined: Thu Apr 01, 2010 6:23 am Posts: 898
|
|
I'm not completely sure what's going on, but it looks like you are trying to compiler assembler as a C program... are you trying to use the ASM examples in the datasheet within the C code or?
Either way, you need to translate the assembly examples into C if they are to work with the project code I've provided.
|
|
 |
|
 |
|
Mikis
|
Post subject: Re: 16x8 LED Matrix Display it can be expandable? Posted: Sun Apr 17, 2011 4:29 pm |
|
Joined: Tue Apr 05, 2011 12:40 pm Posts: 9
|
|
Yes, I was trying to do so, but how to translate the code? As you see I'm not very good in programing...
|
|
 |
|
 |
|