Basic Stamp Questions
Slugg
Posts: 4
Hi,
I have a couple of questions regarding the basic stamp.
1) Can I program the basic stamp on a BOE (for example) the pop it into a self made board to execute the program? Basically, I'm trying to avoid buying a BOE for every project I want to use a BS2 with.
2) Where can I find the schematic for building my own 'BOE"? I found a link for this on the faq...but it was a dead link..:-(
3) What options do I have for two BS2's to communicate? For example, for one to run the Navigation system of a small bot while another runs User Input/Output (LCD, pushbutton, text-to-speech...etc) I assume I can, if nothing else, use SERIN/SEROUT commands...but how about I2C? Is I2C a plausible method for two stamps to communicate?
I appreciate your help.
Regards,
Slugg
I have a couple of questions regarding the basic stamp.
1) Can I program the basic stamp on a BOE (for example) the pop it into a self made board to execute the program? Basically, I'm trying to avoid buying a BOE for every project I want to use a BS2 with.
2) Where can I find the schematic for building my own 'BOE"? I found a link for this on the faq...but it was a dead link..:-(
3) What options do I have for two BS2's to communicate? For example, for one to run the Navigation system of a small bot while another runs User Input/Output (LCD, pushbutton, text-to-speech...etc) I assume I can, if nothing else, use SERIN/SEROUT commands...but how about I2C? Is I2C a plausible method for two stamps to communicate?
I appreciate your help.
Regards,
Slugg
Comments
2. The BS2 PBasic manual used to have a schematic in it for the BOE board.
3. The BS2 works great using SERIN/SEROUT communications, both as 'master' and 'slave'. The BS2 cannot be an I2C or SPI 'slave' device, so that rules that out. Note the SERIN/SEROUT commands also have an 'Open' baud mode, which lets you use them on a 'party line', 'multi-drop' interface.
Your program is actually stored in the eeprom chip. Other than the interpreter chip and resonator, pretty much everything else on the BS2 OEM board is for the programming interface and the power supply. Once you program the eeprom, you can take it and place it in another circuit along with an interpreter chip (it doesn't have to be the same one), resonator, and a 5 volt power supply and you're good to go. In some cases you may want to include the brown-out detector for low voltage reset, but it's not absolutely necessary.
If you really need to pinch pennies, you can get eeproms, resonators, and the other parts from a distributor such as Mouser or Digi-Key, etc. The only thing you absolutely have to get from Parallax (or one of their distributors) is the interpreter chip, a plain old PIC won't work, it has to be pre-programmed with the interpreter software.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Rick
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Rick
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Rick
lemme see if I'm understanding everything correctly.
I could use my current BOE to program my BS2....remove the BS2 and pop it into a project (and just provide the power requirments needed for it to run). I could then get another BS2 and program it in the same BOE to place in a different project?
Is that correct?
Now that I'm thinking this portion through, it would be a pain in the butt to have to remove the BS2 to program it...so I could use the OEM as a 'substitute' BOE for all my projects...and just program them while they are in their final home (assuming I left the OEM installed).
So instead of buying a BOE for every project, I could buy a BS2 and an OEM for every project...
Do I have all this right?
I appreciate you all spelling this out for me. I live in a very remote area, and I hate to order things just to find out I have to wait for another order to process before I can move forward with projects.
Regards,
Slugg
Another option is to split the BS2OEM onto two boards. One would contain the BS2 Interpreter ($11), 20 MHz Resonator ($2.48) and the EEPROM ($5) listed at the bottom of this page www.parallax.com/detail.asp?product_id=27291
The programming portion of the BS2OEM could be placed on a second board (resistors, 3 transistors, etc) - check the schematic from my link above. The P1 Programming Adapter is one such design www.wulfden.org/pa/index.shtml. The programming board only needs to be attached when you want to reprogram the BS2 - and can be disconnected afterwards.