Using GPIO to contol a circuit

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

AVR people,

I'm sure someone here can give me a clue as to what I need to do to get this to work,

I have attached wires to the switches on my camera and the buttons can now be pressed by crossing the wires.

Is it possible to connect the wires to gnd and a GPIO pin and somehow form the circuit to press the button. The pd of one power switch is 3.5 volts the others have an undetectable PD suggesting an extremely low PD, The only way I can think of doing this is to use the GPIO pins to control very small relays!

I know naff all about electronics so you may need to explain a little bit how it may be done.

Any help greatly appreciated. I will be using an ATmega32 chip at 16 Hz to do this if that helps.

Thanks again.

Robert[/code]

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

rharrison1971 wrote:
The only way I can think of doing this is to use the GPIO pins to control very small relays!

Without knowing more details about the interface circuitry of the camera it's hard to say, but maybe something like this might be what you're looking for. Basically, it's like an electronic version of the relay in that it can act like an open or closed switch. The control for the switch (the output enable line) could be controlled by an I/O line from an AVR.

Dave

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Went for an optoisolator in the end. Thanks for the pointer. ILQ74 by VISHAY (Farnell)