Go Down

Topic: 4 PWM inputs to control camera zoom/focus etc (Read 978 times) previous topic - next topic

techspy

Hello all,

This should be simple...

I want to use a arduino mini to take 4 channels from my RC receiver (pwm) and control a camera zoom, focus, etc. The camera has the leads that control the camera when grounded. so, if I ground one lead, it zooms in, another lead it zooms out, another lead focus near, another lead focus far etc. So, would I need to have relays for each lead or can the arduino short the leads to ground by itself? Anyone have a similar set of code to get me started?

Thanks

PeterH

You need to know the voltage on those leads, and how much current they flow when they're shorted to ground. If it's less than 5V and about 20mA then the Arduino can sink it directly, otherwise you'd need to go through a transistor.
I only provide help via the forum - please do not contact me for private consultancy.

DuaneB

Read this
http://rcarduino.blogspot.com/2012/04/servo-problems-with-arduino-part-1.html
then watch this
http://rcarduino.blogspot.com/2012/04/servo-problems-part-2-demonstration.html

Rcarduino.blogspot.com

techspy

Thanks for the info. I will check the voltage and the info on that page and report back.

Go Up