Newbie needs help! (problem fixed but need help with another)
Archiver
Posts: 46,084
Ok, the problem I described only exists when the serial cable is connected to the BS2 board.· When I remove the cable the program runs fine.· Is this normal operation?· Is there anything I can·do to run the program with the serial cable attached?· It is kind of annoying having to remove the cable everytime I try something new.·
Comments
>Ok, the problem I described only exists when the serial cable is connected
>to the BS2 board. When I remove the cable the program runs fine. Is this
>normal operation? Is there anything I can do to run the program with the
>serial cable attached? It is kind of annoying having to remove the cable
>everytime I try something new.
Jason -
Make sure all the grounds are tied together.
Shout back if that's NOT the problem.
It helps if you sign your messages - thanks.
Regards,
Bruce
I assume you mean the grounds in·my circuit.· If so, yes they are.· If you mean on the board, I assume so.· The grounds are showing logic low with my logic probe.· So I assume that the grounds aren't the problem.
I must have forgotten to sign in my haste.· I apologize, I normally am good about that.· Also thank you for your first post, I looked into DIRs and while it didn't solve the problem I was having it did give me a better understanding of how the pin states work.·
Just so you know I won't be able to respond back until tommorow afternoon, if you post a response, as I am in much need of sleep.
Thanks,
--Jason
>Ok, the problem I described only exists when the serial cable is connected
>to the BS2 board. When I remove the cable the program runs fine. Is this
>normal operation? Is there anything I can do to run the program with the
>serial cable attached? It is kind of annoying having to remove the cable
>everytime I try something new.
>Jason -
>Make sure all the grounds are tied together.
>Shout back if that's NOT the problem.
>It helps if you sign your messages - thanks.
>Regards,
>Bruce
>connected to the BS2 board. When I remove the cable the program
>runs fine. Is this normal operation? Is there anything I can do to
>run the program with the serial cable attached? It is kind of
>annoying having to remove the cable everytime I try something new.
Try connecting a 3.3 kohm resistor from pin 3 to pin 4 of the BASIC
Stamp module. Also, a 0.1uF capacitor in parallel with the resistor.
That filters noise that might be coming in on the serial cable,
prevents unwanted resets but still allows programming.
Also, if you do not have one, put a 0.22 capacitor in series between
pin 4 of the DB9 and pin 3 of the Stamp. Most telecom programs will
hold that line high and reset the stamp if you do not have the
capacitor in place.
good luck,
Tracy Allen
http://www.owlogic.com/BS2bugs.htm#resets <-- schematic diagram of the above
Thank you for your response, I bet you that will do the trick.· I set up the Stamp on my desktop and it works fine while connected to the serial port so that eliminated the board.· I'll give it a shot tonight.· Thanks again
--Jason