Shop OBEX P1 Docs P2 Docs Learn Events
sing BS2 to save to a serial EEPROM — Parallax Forums

sing BS2 to save to a serial EEPROM

ArchiverArchiver Posts: 46,084
edited 2003-12-10 14:50 in General Discussion
I have currently been working on a project which intales me to save
600 data points for 4 variables and somebody suggested to use a
serial eeprom. I was wondering if anybody had any code or Ideas on
how to program the BS2 to write these data points for these
variables so that I could retrieve them. I am limited in my ability
to write a pbasic program i only did a boe bot in Engineering class
but understand most consepts!!

Thanks for your time,

Mark

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2003-12-09 22:11
    In a message dated 12/9/2003 4:36:15 PM Eastern Standard Time,
    uebermenchens@a... writes:


    > I have currently been working on a project which intales me to save
    > 600 data points for 4 variables and somebody suggested to use a
    > serial eeprom. I was wondering if anybody had any code or Ideas on
    > how to program the BS2 to write these data points for these
    > variables so that I could retrieve them. I am limited in my ability
    > to write a pbasic program i only did a boe bot in Engineering class
    > but understand most consepts!!
    >

    I have just written a data logging program using the BS2E. Banks 1 through 7
    can record 7 variables. Since I am just starting with this, the data is
    entered via debug but could be entered via serin. Bank 1 stores a word of data,

    then switches to bank2, which stores a word of data, switches to bank 3, and so
    on. When the program starts up I have an option to Write or Read. I write
    data, then press reset and choose the Read option. All the data that was
    written is displayed on the debug screen. The program in each bank is very
    small
    and there is enough EEPRO to record about 750 words of data. The data is
    actually written in bytes but it takes two bytes for each data entry so I treat
    each entry as a word. The program is not finalized yet but you are welcome to
    what I have if you have a BS2E.

    Sid Weaver
    W4EKQ
    Port Richey, FL


    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2003-12-10 14:50
    Hi Mark!

    I did the same recently, I have found informations in a book for stamp's
    projects
    from Parallax, " STAMPWORKS" version 1.2, page 197, experiment # 32
    about I2C protocol. I think you will find all you need.

    Hope it help..
    Good luck

    Rene

    uebermenchens a
Sign In or Register to comment.