Basic stamp on breadboard
superchump
Posts: 10
Hey guys,
Long time reader first time asker [noparse]:)[/noparse]
I'm transplanting my BS2 from my BOE to a typical breadboard. I have a 9 pin male connector that has pin 6 and 7 soldered together (DSR/RTS) and the rest are the necessary pins are connected to the programming pins on the stamp as they should be. I'm using the cable that came with my BOE though I don't think that makes a difference. I have no active filtering on that connection just yet. I'm powering the stamp with a Radio Shack 3-12 volt switchable power supply set to 9V that is connected to VIN and has a 3300uF cap bridging to ground as well.
The problem is I'm pretty sure the stamp is getting power (I'd check with my mulitmeter but I blew a fuse on it...oops). But firing up Parallax's programming software and trying to send it a program fails. So how do I connect the stamp to my breadboard easily? Am I missing something obvious?
Long time reader first time asker [noparse]:)[/noparse]
I'm transplanting my BS2 from my BOE to a typical breadboard. I have a 9 pin male connector that has pin 6 and 7 soldered together (DSR/RTS) and the rest are the necessary pins are connected to the programming pins on the stamp as they should be. I'm using the cable that came with my BOE though I don't think that makes a difference. I have no active filtering on that connection just yet. I'm powering the stamp with a Radio Shack 3-12 volt switchable power supply set to 9V that is connected to VIN and has a 3300uF cap bridging to ground as well.
The problem is I'm pretty sure the stamp is getting power (I'd check with my mulitmeter but I blew a fuse on it...oops). But firing up Parallax's programming software and trying to send it a program fails. So how do I connect the stamp to my breadboard easily? Am I missing something obvious?
Comments
The point of this all was to be able to have a generic setup that allows me to use the stamp on any breadboard or circuit board and allows me to both program the stamp through the Parallax softare and communicate with the stamp most likely through a tcl\tk interface.
But I'm only halfway there it seems........
However, once a serial connection to the PC works for programming, it should work for SERIN/SEROUT. So the next thing that is probably wrong is that you are trying to use Hyperterm to talk to the BS2, and Hyperterm uses DTR, which will hold your BS2 in reset.
The solution to this is to add the two .1 uF caps to the DTR line (also known as the ATN line, also known as pin 4 of the DB-9, also known as pin 5 of the BS2) as shown in the schematics of the BOE board. These two capacitors (one in series, one in parallel) de-couple the ATN line, so even if Hyperterm holds it high, the BS2 can still run.
Oh I know but I'd sure love to keep those pins open if needed. If the stamp has dedicated comm pins, why NOT figure out a way to use those? Yeah I know DEBUG works just fine. But if I build a graphical interface using tcl\tk I need to talk directly to an open socket on the comm port.
Bingo. I'm assuming those two small caps on the BOE next to the DB-9 connector do exactly that and that part is missing out of my circuit. Thanks a lot and I'll try this out soon when I get a chance!
·· Not sure which BOE revision you have, but on the Serial Rev C board pin 4 of the socket is connected to the ground plane on the bottom side of the board, which is where it should be connected to (Vss).
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
But I thought that VSS Pin 4 was reserved for Pin 5 ground on the serial port.
On the schematic, Pin 4 of the BS2 socket is indicated as going to Vss.· It's a convention of schematics that when a signal goes to 'ground' (or Vss in this case) then ALL the 'Vss' indicated wires are actually connected to each other.
This allows creation of a "ground plane", which all grounds are connected to.· This simplifies the schematic a lot, but you do have to understand this convention.
Post Edited (allanlane5) : 7/5/2005 12:34:12 AM GMT