Thank you Melanie for your answer,very kind of you.Another question then,can you program an eeprom to do that and exclude the pic from ecuation or not?
Thank you Melanie for your answer,very kind of you.Another question then,can you program an eeprom to do that and exclude the pic from ecuation or not?
Like Melanie said.
An EEPROM can not act on it's own. You need something to give it instructions. It is just a storage device. Like a hard drive. Alone it is not much good.
Dave
Always wear safety glasses while programming.
ok,thank you,got it now.witch will be the best 512kb EEPROM to use?24C512 or 24LC512?whats the diference between these 2?and also witch will be the 8pin based best PIC to use?12F675 or 12F683?Or you recomend something else?Thank you
Last edited by osceola; - 16th August 2009 at 18:42.
You must chose a PIC with enough pins for your F2F devices, two pins for the EEPROM (C or LC still require two lines regardless which one you chose), and however many additional pins for external communications or other connections. Remember one of the pins on the 12F675/683 is INPUT ONLY that leaves five I/O's. If you are going to use Serial Communications (like RS232) then you WILL need a Crystal or Resonator, that will use up two pins, and three I/O's may then be insufficient for your needs.
As regarding EEPROMS... the 'C' device is a plain SERIAL device requiring something like SHIFTIN/SHIFTOUT usage, whereas the 'LC' is an I2C BUS device requiring I2CWRITE/I2CREAD usage.
Thank you Melanie for your answer I got it now.Where can I find a schematic or something to test that,or who could give me an advice on how to built this?
Last edited by osceola; - 16th August 2009 at 22:11.
Which way do you want to go?
If you go with the I2C method then take a look at the PBP manual. There is enough information there to get you started.
The section in the manual about shiftin/out along with a data sheet will also get you started in that direction.
Let us know the parts you plan on using.
Dave
Always wear safety glasses while programming.
So can I order any of these PICs mentioned?And I will look what EEPROM I can find.Interfacing PIC with EEPROM and in the schematic need also some resistors and capacitors?witch one and how many?Thanks
EEPROM Schematic Information and example code is contained in your MeLabs PBP Manual that came with your PICBasic compiler.
Bookmarks