Shop OBEX P1 Docs P2 Docs Learn Events
How to expand BS2 memory by a few megs — Parallax Forums

How to expand BS2 memory by a few megs

sunnysunny Posts: 2
edited 2006-03-15 19:25 in BASIC Stamp
Hi everyone.

I'm working on a project and need to expand the memory of the [url=mailto:BS@px]BS2px[/url] by quite abit but dont undertand the interface issues of doing this.· Has anyone done anythign similar?

Im trying to use the stamp for a control algorithm and also to store the actual values so i can look at them later using teh stamp DAQ.

before i get jumpin.gif i have searched theforums but havnt found anythign quite like this.

thanks in advance
Sunny

Comments

  • Jon WilliamsJon Williams Posts: 6,491
    edited 2006-03-15 17:25
    Program memory? It can't be done (the architecture is fixed), that's why you couldn't find anything. Now, if you want expand memory for data storage then you can drop a bunch of I2C EEPROMs from the chip; the BS2px has built-in I2C commands.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
  • sunnysunny Posts: 2
    edited 2006-03-15 17:41
    its for more data storage.· I want to use the stamDAQ to look at the data after.
    thanks for the pointer

    ·EDIT:· are these (http://www.parallax.com/detail.asp?product_id=602-00008) the things your talking about?· i need alot more that 8k.· has anyone expanded teh data memory by more than this?

    Post Edited (sunny) : 3/15/2006 5:44:38 PM GMT
  • DiablodeMorteDiablodeMorte Posts: 238
    edited 2006-03-15 18:10
    In another post somebody added computer ram to a basic stamp. Look for that post
  • allanlane5allanlane5 Posts: 3,815
    edited 2006-03-15 18:15
    1. You can add external SPI interfaced EEPROM. I think these come in 8KByte chunks.

    2. You could interface your BS2 to a 'smart card'. http://www.star.net/people/~mvs/sdrvspec.txt
  • Bruce BatesBruce Bates Posts: 3,045
    edited 2006-03-15 18:22
    Sunny -

    Here is an applications note, thanks to Dr. Tracy Allen, on how to interface large Atmel Flash Memory to a Basic Stamp:
    http://www.emesystems.com/BS2flash.htm

    After that, MMC (media cards) are probably the best bet, but ancillary equipment is required there. GHI Electronics has one unit:
    http://www.ghielectronics.com/uALFAT-SD.htm

    Regards,

    Bruce Bates

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    <!--StartFragment -->
  • Jon WilliamsJon Williams Posts: 6,491
    edited 2006-03-15 19:25
    Another thing you might consider is a serial-to-MMC inteface; check with Rogue Robotics as they make such a device. This would allow you to write to a file on the MMC card and simply transfer it to your PC.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
Sign In or Register to comment.