TORRENS SR wrote: > > Hi, > I'm building a small project using the PIC 16c74. I need to use an > EEPROM to store up to 99 data files. Each file will be in the > following format > > $GPRMC,HHMMSS,A,DDMM.MMM,N,DDDMM.MMM,W,XXX.X,XXX.X,DDMMYY,XXX.X,E*XX,BBBBBBBB,2 2 > > The file contains the RMC output from a GPS receiver, followed by an > 8 bit binary number and last of all the file number i.e.22 > I used microchip's 24lc65 it can contain 8192 byte of data and up to 1000.000 times rewritable (some parts of it up to 10.000.000 times ) if you store each char as a byte it takes a little space , but if you make it as I did and store every two numbers as one byte (not very efficient but it nearly doubles the capacity :)) it will be more than enough . hh 1 byte mm 1 ss 1 (why store seconds ? it'll take more than a few seconds to move the stuff) a 1 dd 1 mm 1 and so on use a lookup table and don't store the points and useless chars like the year part of the string . I made the proto with a basic stamp 2 and the read part was about two line long :) something like : lookup i,x,(1,2,3,4,6,7,8,9 etc the positions to store) serin pin,baud,("gll",wait(x),byte) I guess there're some errors in the lines above , but it shows the basic idea bye charley