Spend an hour reading how to do it and i'm confused and intimidated.

I just want to tilt a FPV cam using a servo from a knob on the remote. That's all.

So far I learned I have to connect the signal servo wire to AUX1 on the pixhawk and preferably power it up from a BEC instead of the pxihawk. But that's it.

Should be simple right?

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Need more information. What "remote" do you have and what receiver?
  • Moderator

    There some info here: http://plane.ardupilot.com/wiki/common-servo/

    You can connect your servo directly to the Rx or have it controlled through the Pixhawk, either from mission planner or "pass thru" the Pixhawk.

    We have flaps controlled directly with a switch from the Tx and tilt, pan, zoom and lights controlled by Mission Planner. At one point we had auto flaps that could still be controlled manually by a switch on the Tx so it's possible to do nearly anything.

  • Try this. Assign a channel to the knob on your Tx. Say it's channel 6 for this exercise.

    Connect your servo to the channel 6 output pins on the pixhawk.

    Go to mission planner, parameters screen. View all parameters and scroll down to RC6. Open that up and enter the value in RC_FUNCTION to do RcPassthru. I think that is number 3, but it will tell you in the description in mission planner. Check the RC6_MIN and RC6_MAX while you are there. They may be both the same which means you will get no movement. Set them to 1300 (min) and 1700(Max) to start with and see how the servo responds
  • Is there a reason not to hook the servo directly to the receiver?

    • I'm not a Pixhawk guy yet.

      But, Pixhawk takes a single ppm input - merging all channels from the receiver into one signal into the FC. Either your receiver is capable of outputting all channels as one PPM signal, or it isn't.

      I think it's all-or-none. Select PPM output from receiver, and you select all channels (no receiver channels available, then, independently to control anything directly from the receiver).

      I don't think you could send 'some' receiver channels to the FC as a single PPM signal, while leaving other receiver channels separate to control a servo directly from the receiver.

      Unless (maybe) your receiver outputted PWM to an intermediate PWM-PPM encoder device, then on to the Pixhawk as PPM. Maybe then you could limit the number of receiver channels sent to the Pixhawk and save some for independent use. I believe such encoders exist (even on the 3DR webstore).

      I guess servo control has to go through Pixhawk. But, as suggested, powering the servo through the FC is risky, so you want separate power to the servo, and signal-only from the Pixhawk.

      (?)

      George

      • Ah, yes. That would be a reason.

        I may be wrong, but I thing that would depend on the type of receiver.

        • With a Taranis and X8R you can have the first 8 channels output on the SBUS to communicate with Pixhawk plus channels 9-16 on the conventional channel outputs.
          And yes you need to power the servo seperately.
This reply was deleted.

Activity

DIY Robocars via Twitter
Sunday
DIY Robocars via Twitter
Saturday
DIY Robocars via Twitter
May 13
DIY Robocars via Twitter
RT @f1tenth: Say hi to our newest #F1TENTH creation for @ieee_ras_icra next week in Philly. It’s going to be huge! 😎 🔥 @AutowareFdn @PennEn…
May 13
DIY Robocars via Twitter
May 11
DIY Robocars via Twitter
May 8
DIY Robocars via Twitter
RT @SmallpixelCar: Noticed my car zigzagged in last run. It turned out to be the grass stuck in the wheel and made the odometry less accura…
May 8
DIY Robocars via Twitter
RT @SmallpixelCar: Test my car. RTK GPS worked great. Thanks @emlid for their support. https://t.co/EkQ6qmjmWR
May 8
DIY Drones via Twitter
RT @chr1sa: @kane That's @diydrones circa 2009. Still have a box of those Canon cameras that we used to strap into planes, just like this.…
May 3
DIY Robocars via Twitter
RT @chr1sa: Our next @diyrobocars race is going to be outside at a real RC racetrack in Fremont on May 28. Fully autonomous racing, head-to…
Apr 30
DIY Robocars via Twitter
RT @f1tenth: Our Spring 2022 F1TENTH course @PennEngineers is coming to an end with a head-to-head race as a big finale. So proud of our st…
Apr 26
DIY Robocars via Twitter
RT @DanielChiaJH: I wrote a thing! Throughout the development of my @diyrobocars car I've been using @foxglovedev Studio to visualize and d…
Apr 23
DIY Robocars via Twitter
RT @SmallpixelCar: My new car for high speed. Low body, everything ( @NVIDIAEmbedded Jetson Xavier NX, @emlid RTK GPS, IMC) under the deck…
Apr 23
DIY Robocars via Twitter
Apr 21
DIY Robocars via Twitter
RT @f1tenth: F1TENTH Race training setup @PennEngineers for our upcoming ICRA2022 @ieee_ras_icra competition. @OpenRoboticsOrg @IndyAChalle…
Apr 21
DIY Robocars via Twitter
RT @fatcatFABLAB: Proud to be hosting a restarted DIY Robocars NYC Meetup April 26. Come by if you want to talk about and race self-driving…
Apr 17
More…