It is currently Fri May 24, 2013 2:04 pm

All times are UTC + 10 hours




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: How do the EPROM work
PostPosted: Sun Jun 13, 2010 11:05 pm 
Offline
Moderator
Moderator
User avatar

Joined: Sun Mar 28, 2010 9:03 pm
Posts: 699
Location: United Kingdom
Hi Brad how do the eprom work on your POV project, I know you need to program it with your display data with a eprom programmer but I see your using one 74343 to address the first 8 pins and then another 74343 to address the other 8 pins, So im guesisng this is your 16bit address?.

so you start with 00000000 00000000 on the address bus for the 27C512.

then do you then set 0000000 00000001 on your adress bus to send your
byte of data say to the RED 74343 on the eprom output bus?

and then set 00000000 00000010 on your address bus to send your next
byte of data to the GREEN 74343 and so on?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 14, 2010 8:14 am 
Offline
Site Admin
Site Admin
User avatar

Joined: Fri Mar 26, 2010 10:30 pm
Posts: 1863
Yes you're right, I have used two 74373's to essentially expand the 8-bits of PORTB into 16 bits.

So we start with

00000000 00000000

on the address bus, the data at this first address is a byte of red data. I then increment to

00000000 00000001

This address holds green, then increment once more to

00000000 00000010

And this holds one byte of blue data.

Each time we will be saving this data to each of the three 74373's. Once they all have their data, we can then enable the outputs which will turn on the relevant LED's.

A better way of going about things would be to use a serial eeprom although they are not as straight forward to use.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 14, 2010 10:21 am 
Offline
Moderator
Moderator
User avatar

Joined: Sun Mar 28, 2010 9:03 pm
Posts: 699
Location: United Kingdom
Im thinking about using the eeprom memory on the microchip, the 16F648A as 256k of eeprom, which should be plenty for small displays and it is easier to erase and write using a PicKit2. It will also be easier to move the eeprom data to RAM when the microchip starts up, this allowing us to read the data faster :)

Am I right in saying that you have to erase the 27C512 eprom with a UV light every time you want to load it with more display data?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 14, 2010 2:11 pm 
Offline
Site Admin
Site Admin
User avatar

Joined: Fri Mar 26, 2010 10:30 pm
Posts: 1863
bitfogav wrote:
Im thinking about using the eeprom memory on the microchip, the 16F648A as 256k of eeprom, which should be plenty for small displays and it is easier to erase and write using a PicKit2. It will also be easier to move the eeprom data to RAM when the microchip starts up, this allowing us to read the data faster :)

Am I right in saying that you have to erase the 27C512 eprom with a UV light every time you want to load it with more display data?


Unfortunately it is only 256bytes of eeprom not Kbytes :(

as for the eprom's yes you are right you do have to expose them to UV light for about 20mins to erase them.

But EEPROM's however, you can erase them with the same programmer that you program them with so they are basically instant.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 15, 2010 2:54 am 
Offline
Moderator
Moderator
User avatar

Joined: Sun Mar 28, 2010 9:03 pm
Posts: 699
Location: United Kingdom
Oh yeah it is only 256 bytes :( I guess serial eprom is one way to go then?

How have you managed it on your one chip POV system? :)


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 15, 2010 6:05 pm 
Offline
Site Admin
Site Admin
User avatar

Joined: Fri Mar 26, 2010 10:30 pm
Posts: 1863
Good question!

The one chip POV uses a nifty PIC18f4550 (Stacy are you hearing this!!!?)

18F's are great for holding onto a whole heap of data - just like eeprom really except you can store as much data as you want right there in program memory. Whether it be in one data table or dozens of seperate data tables. There is no need to worry about paging issues (as you do with 16f's)

That's why I could fit everything on one chip.


Top
 Profile  
 
 Post subject: Re: How do the EPROM work
PostPosted: Tue Jun 14, 2011 2:15 am 
Offline
newbie
newbie

Joined: Wed Jun 08, 2011 6:01 pm
Posts: 1
brad you are saying for corresponding color we have to enable an disable the corresponding latches but in your video i have seen than in 8 column pixels there are different colors in same column like there are blue and red in same column to show the italic text so how you give or enable 2 colors or more than 2 colors in one same column data? like for all red leds to glow i have to give "FFh"(with red latch enable) but if i want the 4 leds to be red and 4 leds to be blue when how to enable the and disable 2 latches or to give multicolour data?

hope you understand the question :)


Top
 Profile E-mail  
 
 Post subject: Re: How do the EPROM work
PostPosted: Tue Jun 14, 2011 8:15 pm 
Offline
Site Admin
Site Admin
User avatar

Joined: Fri Mar 26, 2010 10:30 pm
Posts: 1863
Each individual column is made up of Red, Green and Blue. Before we display any colors, we need to first send the data to the 74373's

We first send 8-bits of data to the Red 74373. then 8-bits to the green 74373 and then 8-bits to the blue 74373.

Once all three of them have their data, we enable the outputs of ALL 74373's and the LED's will light up all at once.

The key thing to remember is that we don't turn on any LED's until all data for one column has been saved to the 74373's


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

All times are UTC + 10 hours


Who is online

Users browsing this forum: No registered users and 0 guests


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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Theme made by Keenen Wheeler