Stamp/Serial/Relay Problem
Hermie
Posts: 36
Such a simple circuit is kicking my butt. I'm making a router to route serial out, serial in, atn, and vss to five other stamps. Pin high from the bs2 goes to a 2803 to handle the load of the relay. The relay is 4p4t and operates at 5v. When the 2803 kicks in the relay, db9 pins 2,3,4,5 are sent to pins 1,2,3,4 on the stamp. I included a bmp of the circuit, and code couldn't be more simple:
Pause 1000
high 8
start:
goto start
There's no reason this shouldn't work, and I am able to get debug and debugin to work, but when I use the basic stamp editor and click identify, I get loopback yes and echo no, which immediately causes the stamp to reset. Same thing happens with I try and upload code to the stamp.
Yet when I bypass the 2803 and manually give the relay ground then the stamp and computer talks just fine, and yes I've tried replacing the 2803 just incase it was bad. I also tried giving pin 10 on the 2803 5v+, and it made no difference.
Any ideas??????????????????
Pause 1000
high 8
start:
goto start
There's no reason this shouldn't work, and I am able to get debug and debugin to work, but when I use the basic stamp editor and click identify, I get loopback yes and echo no, which immediately causes the stamp to reset. Same thing happens with I try and upload code to the stamp.
Yet when I bypass the 2803 and manually give the relay ground then the stamp and computer talks just fine, and yes I've tried replacing the 2803 just incase it was bad. I also tried giving pin 10 on the 2803 5v+, and it made no difference.
Any ideas??????????????????
Comments
Alternatively, you could add a momentary pushbutton on your board to manually fire the relay while programming it.
Hermie