More Memory for Basic Stamps?
bkiba
Posts: 17
I tend to be longwinded in my programs.· I am not a professional programmer and I don't enjoy trimming down my code to fit into small memories.· I've ordered the BS2pE and it seems to be able to contain my programs.· However I am basically trying to make a control system for my salt water tank, this includes sensors for pH, temp, humidity, water level.· Running a time of day.· Controlling responses to the above mentioned snesors and controlling 2 or 3 relays for lights, heaters, and pumps.· I will also·be running a LCD including some buttons for a menu potentially.· So it is easy to see how the programs can get out of hand.· I'd like to have a more long winded program so I can go back and easily change the parts I'm interested in later.
Also I'd like to do some data logging on the above sensors.· I probably won't have a scheduled download of data, so I'd like to have a good capacity of at least a week or so.
How can I expand the memory of my little board?· Or am I using the wrong technology?
Can't I simply integrate 128Mb flash module (USB jump drive) into the stamp somehow?
thanks!!!
Ben
Also I'd like to do some data logging on the above sensors.· I probably won't have a scheduled download of data, so I'd like to have a good capacity of at least a week or so.
How can I expand the memory of my little board?· Or am I using the wrong technology?
Can't I simply integrate 128Mb flash module (USB jump drive) into the stamp somehow?
thanks!!!
Ben
Comments
This is just a shameless plug, but my SD Data Logger would work. It lets you store up to 32 megs of data on an SD card. Then you can just remove the card and plug it into a PC for processing (excel or whatever).
And it only uses 1 pin on the stamp.
www.sddatalogger.com
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"A problem well defined is a problem half solved"
"Just because you're approved, doesn't mean you can afford it."
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Cheap used 4-digit LED display with driver IC·www.hc4led.com
Low power SD Data Logger www.sddatalogger.com
SX-Video Display Modules www.sxvm.com
Coming soon! Propeller based OSD module www.hittconsulting.com
·
2. Bean's solution is probably the easiest and cheapest one so far.
3. It IS possible to add a 24LC640 to get some more SPI (SHIFTIN/SHIFTOUT) interfaced eeprom the BS2 can write, if you don't need the huge space Bean's solution gives you.
bean's solution does seem attractive right now
Please be aware that the solutions thus far presented will allow you to expand your "logging" memory only. Your original post seems to indicate that you are seeking an expansion to the program memory to allow you to be more verbose in your programming. There is currently no way to do this with the Stamp family without moving to one of the multi-slot processors and, likely, changing your programs "style" to accomodate the multi-slot paradigm.
If I have misinterpreted your needs, please disregard this message.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Truly Understand the Fundamentals and the Path will be so much easier...
It is really both types I am looking for now. If I can datalog on external memory then I can be happy and not have to use basic stamp memory for that. I would like to expand the program memory, that is why I bought the BS2PE, because it can hold more than the other stamps. You are right I will have to refine my programming style.
Ben
Sid
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Yesterday is history, tomorrow is a mystery, and today is a gift.
That is why they call it the present.
Don't have VGA?
Newzed@aol.com
·
An SD card is basically a very large EEPROM with a built-in controller that helps make the EEPROM look more like a disk drive. You plug it into an SD card reader which can be built into things like cell phones, PDAs, cameras, and even laptops and desktop computers or printers. There are lots of external card readers that have a USB plug on the other end and these readers make the SD card look like a standard removable hard drive. There are even a few SD cards on the market that, when you fold back the connector end of the card, expose a USB connector and they have a controller built-in that can talk USB to this extra connector in addition to the SD card protocol out the usual pins.
The Cruzer drive is a USB external flash drive and cannot be used in place of an SD card. The connector is different and the controller is different.
The SD card and the Cruzer drive are both used to add external memory to a computer-based device, but they're not equivalent.
Sid
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Yesterday is history, tomorrow is a mystery, and today is a gift.
That is why they call it the present.
Don't have VGA?
Newzed@aol.com
·
2. I think we've made it quite clear that the BS2 cannot talk to a USB 'slave' device. Thus, Bean's solution does not incorporate a USB port, nor would it be useful with a BS2 if it did.
3. Bean has posted quite a lot about his SD card reader/writer. Search on it if you want more information.
Download the documentation on Bean's data logger. There is no USB connector. You can take the SD card out of Bean's data logger and insert it into a completely different gadget that you have to buy at your "local computer store" that has a socket for an SD card on one end and a USB plug on the other end.
http://www.vinculum.com/prd_vdrive1.html#vdrive2
Jeff T.
Pitty though, his Paypal bank account doesn't accept foreign payments..·
Bean? Any comment on that?·
Ed.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
A horse is a horse, of course of course...