Shop OBEX P1 Docs P2 Docs Learn Events
Code for external eeprom — Parallax Forums

Code for external eeprom

Mike2545Mike2545 Posts: 433
edited 2009-03-23 01:26 in BASIC Stamp
I have a few of the Microchip 24LC01b 1K serial EEPROM chips and was attempting to use them for added memory for the Stamp 2. I have some code written but am clearly over my head on this one. Anyone have some suggestions?

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Mike2545

This message sent to you on 100% recycled electrons.

Comments

  • Mike2545Mike2545 Posts: 433
    edited 2009-03-23 00:19
    I have switched to the BS2p and the I2c commands. These work for adding the external memory.
    I picked up these for $0.35 each here:www.allelectronics.com/index.php?page=search&search_query=24lc01b&x=27&y=14

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Mike2545

    This message sent to you on 100% recycled electrons.
  • Mike GreenMike Green Posts: 23,101
    edited 2009-03-23 01:26
    1) These are really tiny EEPROMs which hold only 128 bytes of data. All EEPROMs are specified in terms of the number of bits they hold, not bytes.

    2) There's a Nuts and Volts Column that shows how to interface I2C devices with Stamps that don't have the I2CIN and I2COUT statements. It's done with some subroutines. I don't have the Column # handy.
Sign In or Register to comment.