How do the EPROM work
Moderators: Chuckt, Garth, bitfogav
How do the EPROM work
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?
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?
- brad
- 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
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.
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.
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?
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?
- brad
- 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
Unfortunately it is only 256bytes of eeprom not Kbytesbitfogav 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?
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.
- brad
- 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
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.
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.
-
- 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
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
hope you understand the question
- brad
- 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
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
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
Who is online
Users browsing this forum: No registered users and 6 guests