Output Question
Nick
Posts: 11
I have a simple question for you guys.
Im trying to control a digital camera device with the Stamp. In order for the Camera to take a picture I have to short a lead from the cam to ground. How can i do that with the stamp? I really dont want to use a relay. Anyone have a Schmatic for using a transistor?
Thanks
Nick
Im trying to control a digital camera device with the Stamp. In order for the Camera to take a picture I have to short a lead from the cam to ground. How can i do that with the stamp? I really dont want to use a relay. Anyone have a Schmatic for using a transistor?
Thanks
Nick
Comments
·· Using an NPN transistor, such as a 2N2222 or 2N3904, you could tie the emitter to ground (Common to the Stamp ground).· The base will be connected to the Stamp pin via a resistor of 220 ohms to 1K.· And the collector will connect to the device pin that needs to be shorted to ground.· Presumably on the camera this line is already tied high somehow.· But you will need a common ground on both the camera and the Stamp.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
Nick
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas, TX· USA
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas, TX· USA
What is a typical collector voltage with the device fully on? My experience with other darlintons is that even when saturated there may be almost a 1 volt CE drop, and that may cause a problem for some devices to recognize a "logic low."
Any comments?
K
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas, TX· USA
Not sure why you're resisting a relay (perhaps size?).· May I suggest that you consider a reed relay.· It's small in size and requires very little power (few milliamps w/ 5V or 12V coil).· It provides complete isolation from the "outside world".
Jim S.