Disable reset the basic stamp?
JetLee
Posts: 7
Hi,
I have an application using basic stamp·BS2p40 that requires the use of the built in serial port· for serial communications with a PC.
When we restart the PC, the reset line of BASIC stamp go high and low many times, which causes the BASIC reset many times.· Do we have any way to disable the reset line when we restart the computer?
Thanks,
Lee
I have an application using basic stamp·BS2p40 that requires the use of the built in serial port· for serial communications with a PC.
When we restart the PC, the reset line of BASIC stamp go high and low many times, which causes the BASIC reset many times.· Do we have any way to disable the reset line when we restart the computer?
Thanks,
Lee
Comments
You can disconnect the DTR line going to the Stamps ATN line, but by doing this you will not be able to program the Stamp unless you reconnect.
Will you be programming the Stamp from this computer?
A manual switch would be one solution, another solution would be a software switch.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Sid Weaver
Need a bezel for your LCD?
Newzed@aol.com
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Sid Weaver
Need a bezel for your LCD?
Newzed@aol.com
·
Sid, how could we know the PC stabilized? If we know it, we can open/close the ATN to disable/enable the stamp or add a relay to romove the stamp power.
Thanks so much for all supports.
Lee
If the end-user is not going to be reprogramming the BASIC Stamp then disconnecting the ATN pin as Beau suggests is the way to solve the problem. The DTR pin is used (via ATN) to reset the BASIC Stamp for reprogramming -- but that's the only thing it's used for. Disconnecting it after the Stamp is programmed will not affect serial communication on the programming port.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Sid Weaver
Need a bezel for your LCD?
Newzed@aol.com
·
If the software needs to be updated in the future, we are planning to send SW to the end user to do that.
Tks,
Lee
would do the trick.· Control it through the Printer port, or better yet... I will need to search my notes, but there are actually
three pins on the COM port that you can directly control through software (on the PC side)
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
This board also has a reset button your customers probably should not be using.
Would it make more sense to build a small PC board that has a programming port AND an serial port for their computer.
Or better yet, to avoid confusion / tech calls, a serial port and a 4 pin header with a programming adapter.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jack