Author Topic: How to pull down signal in external circuit  (Read 1304 times)

0 Members and 1 Guest are viewing this topic.

Offline frenkyTopic starter

  • Supporter
  • ****
  • Posts: 1003
  • Country: si
    • Frenki.net
How to pull down signal in external circuit
« on: July 26, 2017, 05:56:44 am »
So I have this old compact camera Pentax Optio W60:



I would like to control it with arduino (or attiny85).
All I need is control 3 switches: power on, half press and full press of capture button.

I already took it apart and all 3 switches pull signal to the ground when in contact.

So how do I pull down signal with arduino without risking the damage to the camera circuit?

My ideas:


In top image I would make D5 output pin with 5V on output. And then output 0V (LOW) when I wanted to pull the camera signal down.
In bottom image D5 would be normally at 0V and changed to 5V (HIGH) when I wanted to pull down the camera signal.

What would be the most correct way to do it? (Please consider that D1 and D5 are most likely at different potentials when HIGH.)

Tnx. :)
« Last Edit: July 26, 2017, 06:28:25 am by frenky »
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19527
  • Country: gb
  • 0999
Re: How to pull down signal in external circuit
« Reply #1 on: July 26, 2017, 08:27:34 am »
It's quite likely both circuits will work.

The first one, with the diode will probably work because the camera will most likely have a high logic level threshold, less than your MCU's power supply + a diode drop and a low logic level threshold above a diode drop.

The second one, with the MOSFET has the greatest chance of working and would be my first choice.
 
The following users thanked this post: frenky

Offline frenkyTopic starter

  • Supporter
  • ****
  • Posts: 1003
  • Country: si
    • Frenki.net
Re: How to pull down signal in external circuit
« Reply #2 on: July 26, 2017, 08:53:48 am »
Thank you. :)
 

Offline frenkyTopic starter

  • Supporter
  • ****
  • Posts: 1003
  • Country: si
    • Frenki.net
Re: How to pull down signal in external circuit
« Reply #3 on: August 09, 2017, 06:37:05 am »
It's not pretty but it works. ;)

 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf