Homebrew Serial comuinication wire
Rob311
Posts: 83
Im building a carrier board for my bs2, and i need the wireing for a serial conection to my pc.
From what i see its pretty simple, grnd, tx (w/22k), rx.· Anyone out there with a nice pretty picture so i can assure myself that im not going to blow up my stamp when i go to program it? or even a discription of what to do?
Thanks much
~Rob
From what i see its pretty simple, grnd, tx (w/22k), rx.· Anyone out there with a nice pretty picture so i can assure myself that im not going to blow up my stamp when i go to program it? or even a discription of what to do?
Thanks much
~Rob
Comments
If you need a schematic of the interface circuit, see attached.
As of right now i have to remove my bs2 from my application circuit board in order to put it into my USB board of ed carrier board so i can program it.
I need to know what wires to connect from the back of my computer, at the serial port, to what pins on my bs2 so i dont have to use the UBS carrier board.
That diagram is just way to complicated...
·
See if this is any better?.... It's actually the same thing Pj Allen posted, but stripped down to the bare programming cable essentials.
·
If you solder the CAPS directly to the DB9 connector, you can use the standard flat grey 4-conductor telephone cable with a 4-pin
SIP header on the other end.· I use this method to program a BS2·directly on a solderless bread board.
·
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
Thats exactly what i need. But whats up with other people leaving out the capacitors and putting in a 22k resistor?
btw, telephone cable, sip header, wonderfull idea!
Beau is providing a complete programing interface which allows DEBUG to display info on the PC.
This is one of TWO interface choices.
This is IDE mode ONLY. Communications is through the PBasic IDE 'Debug Screen' and programming the Stamp is available.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The other is Hyperterminal Mode.· THIS REALLY MAY BE MORE THAN YOU WANTED TO KNOW AT THIS TIME.
You can read all this is the PBasic Manual later.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The 22k resistor is the cheapest entry into the second choice.· You use SERIN to recieve and·SEROUT to transmit from the regular I/O pins Pins 5 through 20.· Hyperterminal would be your software AND you have to loopback the plug at the PC.· One 3 pins of the DBP male go to the Stamp - Pins 2,3, and Pin 5; Transmit, Recieve, and Signal Ground respectively.
The male DB9 would have Pin 7 connected to Pin 8 [noparse][[/noparse]let us say Lookback A] and Pins 1,6,4,and 9 connected together [noparse][[/noparse]call it Looback B].·
While the 22k resistor works, a Max232 chip is a better way to do this as you can use longer wire and higher speeds.
~~~~~~~~~~~~~~~~~~~
As far as CABLES, you can you the same straight through cable with both and same a lot of hassle.
In the first, you create your wiring on the Supercarrier board.
In the second, you can make a male DB9 to female DB9 adapter that passes Pins 2,3, and 5 to the female DB9.·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"If you want more fiber, eat the package.· Not enough?· Eat the manual."········
Post Edited (Kramer) : 7/9/2006 3:01:57 PM GMT
The capacitors, do they have + and -? im using ceramic disk capacitors and there is no indication of annod or cathod....
·· Ceramic Disc Capacitors are non-polarized, so either way is the same.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com