Disableing DTR
Naphtali Moore
Posts: 42
Ok, I·have a BOE with a BS2sx. I am using the dedicated serial in/out for runtime communications between the stamp and a PC. I have been able to disable the DTR pin physically to allow serial communications with out resetting the Stamp. NOW... I want the stamp to be able to do it on its own.
I know not this black art you call electronics, hehe. But I was thinking that if I just put a transistor on the DTR line and ran the control to PIN 1 of the STAMP then I could enable\disable the DTR line just by setting that pin to HIGH and LOW. Would this work? Which type of transitor should I use PNP, NPN?
I know not this black art you call electronics, hehe. But I was thinking that if I just put a transistor on the DTR line and ran the control to PIN 1 of the STAMP then I could enable\disable the DTR line just by setting that pin to HIGH and LOW. Would this work? Which type of transitor should I use PNP, NPN?
Comments
This is probably not something you want to do. The BASIC Stamp editor requires the DTR-to-reset action for uploading programs. Consider the case where your program has disabled DTR and kept it disabled. How would you then program the Stamp again without some sort of physical intervention?
-Phil
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
Here is a simple program that will prevent "future" programs from entering the BS2 for 10 seconds.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
Post Edited (Beau Schwabe (Parallax)) : 5/11/2007 7:04:12 PM GMT