 |
|
 |
| Parallax Forums > Public Forums > Completed Projects > BS2 OEM "LITE" Schematics | Forum Quick Jump
|
|  Chris Savage (Parallax) Forum Moderator

       Date Joined Jul 2004 Total Posts : 10414 | Posted 1/25/2006 1:20 PM (GMT -8) |   | | Hello,
After several requests from several forum members for schematics of the minimum requirements for a functional OEM BS2 I have compiled the following three schematics which should allow users to integrate a BS2 onto their project without having to have all of the support circuitry. Essentially these are modified versions of the BS2 OEM schematic which can be found at the following location:
The following files are included inside the ZIP file:
1) OEM BS2.bmp
2) OEM BS2_Lite1.bmp
3) OEM BS2_Lite2.bmp
Number 2 is the minimum components required for a functioning OEM BS2 that still includes brownout detection. If you don't need brownout detection number 3 is the same schematic minus the brownout detector (13811). Bear in mind that the 13811 is totally optional. You can even allocate a spot for it in your final product and the BS2 will function whether the 13811 is there or not. All it really does is attach to Vss, Vdd and the RESET line. When the voltage falls below around 4.7 volts it pulls the RESET line low. So you can get by without it, although you may have strange results during power sagging/brownout conditions, including loss of program control.
Remember, there is no facility to reprogram the BASIC Stamp in these circuits. You have three options. One is to use one of the many RS-232 programming adapters I have seen which would include all the circuitry missing from the original schematic. Your second option is to reprogram the EEPROM in a standard OEM BS2 and swap the EEPROM out. I have done this myself.
Now for those of you who want to be able to simplifiy the design and still have the ability to program the BS2 in circuit AND make use of the USB port, you use the first schematic, which essentially uses our USB2SER development tool to program the BS2 in-circuit. This way you do not have anything but a 4-pin header and the bare minimum circuitry required. When you need to reprogram it will work much like programming an SX in-circuit, through a 4-pin header. Remember, the 13811 could also be removed if you absolutely had to.
I hope some of our forum users are able to make use of these schematics, but now for the fine print...These schematics are not supported by Parallax but are merely provided as a guideline for developing your own stand alone integrated BASIC Stamp applications. Please do not contact Tech Support for assistance with these. I am posting them as educational material only! =) Enjoy!
Chris Savage
Parallax Engineering
Post Edited (Chris Savage (Parallax)) : 1/8/2009 7:10:37 PM GMT File Attachment : OEM BS2.zip 88KB (application/x-zip-compressed) This file has been downloaded 844 time(s). | | Back to Top | | |
 |  Steve Joblin Registered Member

       Date Joined Dec 2004 Total Posts : 794 | Posted 1/25/2006 5:14 PM (GMT -8) |   | | | |
 |  Ryan Clarke Registered Member
        Date Joined Jul 2004 Total Posts : 745 | Posted 1/26/2006 8:20 AM (GMT -8) |   | | | |
   |  Steve Joblin Registered Member

       Date Joined Dec 2004 Total Posts : 794 | Posted 1/26/2006 10:59 AM (GMT -8) |   | Thanks for being so patient... and I really hope you are not getting totally frustrated with me!!!
so how would I find an example schematic of an RS232 circuit that would be the equivaqlent of the parts removed from the original circuit? Do you have one? | | Back to Top | | |
   |  Steve Joblin Registered Member

       Date Joined Dec 2004 Total Posts : 794 | Posted 1/27/2006 10:38 AM (GMT -8) |   | | Thanks... trying to figure out all this based on a MAX232 is getting way too confusing for me (I guess it is not a straight forward as I originally thought). I think my plans are to buy a BS2 OEM, only build the components needed for programming, and build a jumper cable from the OEM to my project board. Was hoping for something a bit more elegant, but at least I know it will work! Again, can't thank you enough for all your help... I really, truly appreciate it! | | Back to Top | | |
     |  Chris Savage (Parallax) Forum Moderator

       Date Joined Jul 2004 Total Posts : 10414 | Posted 1/24/2007 3:06 PM (GMT -8) |   | Hello everyone,
I know the question has come up before about how to connect directly to the interpreter through the serial port using a MAX232 (or similar) Line Driver and there were no previously published articles that I was aware of. As of today one of our customers has used the schematics in this thread as a guide to perfect this and connect directly to the BS2p40 interpreter chip (SX48). The following schematic he came up with and wanted to share it with anyone else trying to connect in this manner. From the customer:
Chris,
I came up with this design, modified my board and it is successful. If you want to add this to your zip files I am forwarding this along. I have been testing code and using the PBasic Stamp Debugger without any issues. I appreciated your help and therefore am sending this to help others.
George Calvas (Ford Motor Co.)
Bear in mind that the BASIC Stamp requires echo on the RX/TX lines for the Editor to recognize the BASIC Stamp. In this manner the diode is required due to assertion of the other line across the 4.7K resistor. George has successfully married this theory on the RS-232 side of the MAX232. He hopes this helps someone else. Take care everyone!
Chris Savage
Parallax Tech Support
Image Attachment :
 MAX232_OEM.bmp 999KB (image/bmp)This image has been viewed 468 time(s). | | | |
| | Back to Top | | |
 |  Steve Joblin Registered Member

       Date Joined Dec 2004 Total Posts : 794 | Posted 1/26/2007 6:48 AM (GMT -8) |   | | Awsome! I was never able to get it to work... now I have hope!
Can you just confirm the inputs and outputs... on the left side of the schematic...
MAX232A Pin 8 goes to Interpeter Serial Port XX MAX232A Pin 9 goes to Interpeter Chip Pin XX
MAX232A Pin 11 goes to Interpeter Chip Pin XX
MAX232A Pin 11 goes to Interpeter Chip Pin XX
on the right side of the schematic...
PB_PC_TX goes to Serial Port Pin XX
PB_PC_RX goes to Serial Port Pin XX
The diode goes to ? Post Edited (Steve Joblin) : 1/26/2007 3:37:35 PM GMT | | Back to Top | | |
  |  Steve Joblin Registered Member

       Date Joined Dec 2004 Total Posts : 794 | Posted 1/26/2007 9:39 AM (GMT -8) |   | Yes... I realize that... what pins do I connect on the Interpeter side and on the PC side... what is "XX" for each item below?
MAX232A Pin 8 goes to Interpeter Serial Port XX MAX232A Pin 9 goes to Interpeter Chip Pin XX MAX232A Pin 11 goes to Interpeter Chip Pin XX MAX232A Pin 11 goes to Interpeter Chip Pin XX on the right side of the schematic... PB_PC_TX goes to Serial Port Pin XX PB_PC_RX goes to Serial Port Pin XX
and what's up with that diode? it's just hanging out there! The diode goes to ? | | Back to Top | | |
  |  Steve Joblin Registered Member

       Date Joined Dec 2004 Total Posts : 794 | Posted 1/28/2007 1:51 PM (GMT -8) |   | | Thanks Chris! Appreciate your help! I did try to build it, but with no success :( Oh well, we both have other things to work on... | | Back to Top | | |
  |  polar bear6 Registered Member
        Date Joined Feb 2007 Total Posts : 3 | Posted 2/2/2007 2:57 PM (GMT -8) |   | | hi, you say that you can only flash this chip once, but if you use a PIC16F57 wouldnt you be able to use it more than once? | | Back to Top | | |
 |  Steve Joblin Registered Member

       Date Joined Dec 2004 Total Posts : 794 | Posted 2/3/2007 7:11 AM (GMT -8) |   | | Not quite sure I follow Polar bear6... the PIC16F57 is flashed with the Parallax interpreter (it is was turns an ordinary PIC16F57 into the amazing Stamp). This only needs to be done once and you would not want to accidently write over it since you would be loosing what you paid for, so it seems logical that Parallax selected a chip that could only be written once. When you write a program, it is stored on the EEPROM which can be written to hundreds of thousands of times. | | Back to Top | | |
 |  polar bear6 Registered Member
        Date Joined Feb 2007 Total Posts : 3 | Posted 2/3/2007 9:55 AM (GMT -8) |   | okey maybe i was a bit unspesific. the schemetic you posted contains the PIC16C57, can i swap that chip with the F version and make a BS2 at home? as the cheapass i am i have all the parts i need at hand (yes from old electronics), and i only have a PIC16F57. and i really (i mean really) dont want to buy a C version if i can just use the F. hope this makes more sense | | Back to Top | | |
 |  Forrest Registered Member
        Date Joined Aug 2004 Total Posts : 1223 | Posted 2/3/2007 10:14 AM (GMT -8) |   | | | |
 |  polar bear6 Registered Member
        Date Joined Feb 2007 Total Posts : 3 | Posted 2/3/2007 12:36 PM (GMT -8) |   | | can i extact the BS2 interpreter program from a working BS2? or this ilegal against like parallax ?? | | Back to Top | | |
 | 42 posts in this thread. Viewing Page : 1 2 | | Forum Information | Currently it is Saturday, November 21, 2009 11:43 AM (GMT -8) There are a total of 393,864 posts in 55,536 threads. In the last 3 days there were 84 new threads and 714 reply posts. View Active Threads
| | Who's Online | This forum has 17693 registered members. Please welcome our newest member, Fosco. 78 Guest(s), 10 Registered Member(s) are currently online. Details Mike Green, Jim Fouch, JRetSapDoog, Dogg, hover1, Harley, Sapieha, Electronegativity, Tubular, MicroDirk |
Forum powered by dotNetBB v2.42EC SP2.02 dotNetBB © 2000-2009 |
|
|