Shop OBEX P1 Docs P2 Docs Learn Events
Building a Stamp-Lite — Parallax Forums

Building a Stamp-Lite

Steve JoblinSteve Joblin Posts: 784
edited 2006-01-25 21:21 in BASIC Stamp
Well, after a lot of effort, I finally figured out the minimum number of components needed to build a functioning Basic Stamp II.

My goal of this was to separate a·BASIC Stamp II into three discrete "modules":· A "Programmer used to interface to the Stamp Editor running on the computer; A "Stamp-Lite·that was a functioning Stamp with minimal components; A power·source that provides clean regulated power to both the Stamp-Lite and·"Programmer".

I have finally figured out the "Stamp Lite" circuit.· It is comprised of the following:
1.· Parallax pre-programmed PIC
2.· EEPROM
3.· Resonator
4.· (3) 10k Resistors
5.· (1) 4.7k Resistor

I assembled it on a board from Radio Shack as shown below and in the attached.
attachment.php?attachmentid=40157
My next step is to build a "Programmer" based on a MAX232... I have a circuit that I cobbled together from a variety of sources, but it doesn't work.· Any ideas on how to build the "Programmer" based on a MAX232?

Here is what I have so far...

attachment.php?attachmentid=40158

I have placed several posts before related to my project, but thought it best to start a new thread since my prior drawings were inaccurate.

Post Edited (Steve Joblin) : 1/22/2006 8:17:27 PM GMT
960 x 720 - 36K
960 x 720 - 16K

Comments

  • Jon WilliamsJon Williams Posts: 6,491
    edited 2006-01-22 20:31
    Peter Anderson has a book with a "Homebrew BS2" circuit that uses a MAX232 -- but that circuit is not posted on his web site. You might send him a note and ask him to post it; he doesn't seem to use BASIC Stamps much these days, so I don't think he's worried about selling any more of his book on the subject.

    http://www.phanderson.com/stamp/

    One of the things you need to remember is that the BASIC Stamp circuit echoes everything that the PC sends to it; you'll need to make this happen with your MAX232 circuit or else the editor will think there's a problem.· It may be as simple as putting a 4.7K between your MAX232-RX out to the MAX232-TX in; this should cause the echo without causing a conflict between the Stamp's Sout pin and the MAX232-RX out pin.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
  • muskmusk Posts: 4
    edited 2006-01-22 23:49
    I'm working a project that includes incorporating a "roll your own" and thus wanted to purchase the BS2 Interpreter Chip (DIP) from Parallax.· The parallax website reflects the device·is "on hold".·· Does anyone know if this is just temporary?

    ·

    ·
  • Jon WilliamsJon Williams Posts: 6,491
    edited 2006-01-22 23:52
    Yes, it is just temporary. When we remove items from our catalog we tend to give customers plenty of warning so they can make any last purchases they might desire.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2006-01-23 05:31
    Steve,

    ·· The following schemeatics are the two I were mentioned before.· There are two in a ZIP file.· The first one is a lite version of the OEM BS2 and the second is a lighter version (no reset supervisor/brownout detector).· These should both work fine for you.· I do have a final schematic which is designed to integrate a USB connection (FT232BM/Q) which I will post tomorrow evening.· I need to make two more tests.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com
  • Steve JoblinSteve Joblin Posts: 784
    edited 2006-01-23 14:44
    Chris - Thanks so much! Your OEM BS2_Lite2 is essentially (well, exactly) the same as what my project board shows above. It was lots of fun struggling through to figure out what you have provided to me (that is, I am glad that I had the fun of figuring it out before you gave me the solution!).

    Now onto the Programmer portion... any ideas on how to create a simple version that I can easily build myself? I liked the idea of the MAX232 since it only has a few components... the "version" that is on the OEM has too many resistors and transistors for me to build myself on a prototype board. (I guess I could cut the Stamp OEM board to make it smaller, but I would really like to build it myself.
  • Bruce BatesBruce Bates Posts: 3,045
    edited 2006-01-23 14:53
    Steve -

    Al Williams' RS-1 serial adapter is one of the nicer units I've seen, and it's fairly compact. He also offers the board only, if you want to use your own parts.
    http://www.awce.com/rs1.htm?PHPSESSID=fe71c0c85380f335b943916f0b5760e8

    Regards,

    Bruce Bates
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2006-01-23 14:59
    Steve,

    ·· As pointed out by others there are serial port solutions out there.· Some with more parts, some less.· The main thing you have to keep in mind is that the line I showed pulled high must still be pulled high with the programming circuitry implemented.· Also, there must be loopback as shown in our original schematic.· With the already plentiful serial solutions I am exploring a direct USB connection, currently using our USB2SER.· I should have that information today.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com
  • Steve JoblinSteve Joblin Posts: 784
    edited 2006-01-24 18:20
    Was wondering if my problem is that I am combining two "circuits"... Should I have the two .1uF ATN caps (used on Serial Port Pin 4 and between Serial Port Pins 4 and 5? Could that be preventing my "Programmer" from finding my Stamp-Lite?

    attachment.php?attachmentid=40168

    Post Edited (Steve Joblin) : 1/24/2006 6:25:23 PM GMT
    473 x 119 - 4K
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2006-01-24 18:24
    Steve,

    ·· Those capacitors prevent certain computers from holding the DTR line HIGH.· When this happens it would normally hold the Stamp in a state of RESET, but the capacitors (Well, one) blocks DC and allows only a pulse to reset the Stamp Module.· That isn't a problem on all machines.· Nonetheless since my schematics deal with the USB port, I don't have to worry about that, so it's not included on my schematics.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2006-01-25 21:21
    As per our earlier discussion, you can find the schematics (All three) at the following link:

    http://forums.parallax.com/showthread.php?p=567989

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com
Sign In or Register to comment.