How do the EPROM work

Post here to discuss the 8x85 RGB LED POV Display.

Moderators: Chuckt, Garth, bitfogav

Post Reply [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
User avatar
bitfogav
Moderator
Moderator
Posts: 915
Joined: Sun Mar 28, 2010 9:03 pm
Location: United Kingdom
Contact:

How do the EPROM work

Post by bitfogav » Sun Jun 13, 2010 11:05 pm

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?

User avatar
brad
Site Admin
Site Admin
Posts: 2578
Joined: Fri Mar 26, 2010 10:30 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Post by brad » Mon Jun 14, 2010 8:14 am

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.

User avatar
bitfogav
Moderator
Moderator
Posts: 915
Joined: Sun Mar 28, 2010 9:03 pm
Location: United Kingdom
Contact:

Post by bitfogav » Mon Jun 14, 2010 10:21 am

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?

User avatar
brad
Site Admin
Site Admin
Posts: 2578
Joined: Fri Mar 26, 2010 10:30 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Post by brad » Mon Jun 14, 2010 2:11 pm

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.

User avatar
bitfogav
Moderator
Moderator
Posts: 915
Joined: Sun Mar 28, 2010 9:03 pm
Location: United Kingdom
Contact:

Post by bitfogav » Tue Jun 15, 2010 2:54 am

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? :)

User avatar
brad
Site Admin
Site Admin
Posts: 2578
Joined: Fri Mar 26, 2010 10:30 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Post by brad » Tue Jun 15, 2010 6:05 pm

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.

mshayan27
newbie
newbie
Posts: 1
Joined: Wed Jun 08, 2011 6:01 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: How do the EPROM work

Post by mshayan27 » Tue Jun 14, 2011 2:15 am

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 :)

User avatar
brad
Site Admin
Site Admin
Posts: 2578
Joined: Fri Mar 26, 2010 10:30 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: How do the EPROM work

Post by brad » Tue Jun 14, 2011 8:15 pm

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

Post Reply
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Who is online

Users browsing this forum: No registered users and 5 guests