Control Camera Time Exposure Through A Computer's Serial Port

June 12, 2008
A computer’s serial port is a convenient source of low-speed dc control signals that are easy to set from software. For example, the RTS (request-to-send) line outputs about +9 V when “on” and -9 V when “off.” This idea shows how to use this sign

A computer’s serial port is a convenient source of low-speed dc control signals that are easy to set from software. For example, the RTS (request-to-send) line outputs about +9 V when “on” and -9 V when “off.” This idea shows how to use this signal to control the shutter of a Canon EOS 40D camera for a computercontrolled time exposure.

An ordinary cable release for this camera contains two switches, mechanically linked so that as you press the button, first the “focus” switch and then the “expose” switch closes (Fig. 1). On the EOS 40D, long exposures on “Bulb” require both switches to be held closed, but isolated from each other when open so that the button on the camera will work correctly.

The computer-controlled cable release uses a resistor and two 2N7000 MOSFETs connected to the serial port (Fig. 2). When the RTS signal goes high, both MOSFETs conduct and the shutter opens. When RTS goes low, the shutter closes. The resistor dissipates static electricity and prevents erratic operation when the serial port isn’t connected.

Similar circuits can perform other switching functions under computer control. The big advantage of the 2N7000 is that its gate can withstand ±30 V, well beyond the voltage range that the serial port can output. Thus, there’s no need for a clamping diode or voltage divider.

Sponsored Recommendations

Highly Integrated 20A Digital Power Module for High Current Applications

March 20, 2024
Renesas latest power module delivers the highest efficiency (up to 94% peak) and fast time-to-market solution in an extremely small footprint. The RRM12120 is ideal for space...

Empowering Innovation: Your Power Partner for Tomorrow's Challenges

March 20, 2024
Discover how innovation, quality, and reliability are embedded into every aspect of Renesas' power products.

Article: Meeting the challenges of power conversion in e-bikes

March 18, 2024
Managing electrical noise in a compact and lightweight vehicle is a perpetual obstacle

Power modules provide high-efficiency conversion between 400V and 800V systems for electric vehicles

March 18, 2024
Porsche, Hyundai and GMC all are converting 400 – 800V today in very different ways. Learn more about how power modules stack up to these discrete designs.

Comments

To join the conversation, and become an exclusive member of Electronic Design, create an account today!