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
RT @chr1sa: You can see this in person in two weeks for our next live event with real cars. It's great fun for adults and kids alike, and…
18 hours ago
DIY Robocars via Twitter
RT @chr1sa: The final race (1:24) at yesterday's @DIYRobcars virtual event was our best. It's only two minutes long but it has everything,…
18 hours ago
DIY Robocars via Twitter
RT @chr1sa: The monthly @diyrobocars virtual race is starting now! https://www.twitch.tv/roboticists2
yesterday
Mike Whitney liked Mike Whitney's profile
Jul 19
DIY Robocars via Twitter
Jul 2
DIY Robocars via Twitter
Jun 26
Abdulatif Tlaib liked Ryan's profile
Jun 24
DIY Robocars via Twitter
RT @SmallpixelCar: First time at @wsraceways. After tuning @HokuyoUsa lidar signal and camera sensor on @NVIDIAEmbedded, my car was able to…
Jun 20
DIY Robocars via Twitter
RT @breadcentric: The handy bit about racing with self-driving cars is that one can type while the car is racing. Report from #AWSDeepRacer…
Jun 18
DIY Robocars via Twitter
RT @chr1sa: Our Bay Area @DIYRobocars meetup is now at 2,700 members. Next in-person events (in Oakland) are training day on July 17 and…
Jun 18
DIY Robocars via Twitter
Videos from the ICRA autonomous racing workshop are now available: https://linklab-uva.github.io/icra-autonomous-racing/
Jun 10
DIY Robocars via Twitter
RT @SmallpixelCar: Prepared race track for Warm Spring Raceways @wsraceways and looking forward to test my new car at RAMS RC @ramsaicar fa…
Jun 6
DIY Robocars via Twitter
RT @f1tenth: Trying out some nasty blocking maneuvers 🏎️🤖 #f1tenth #autonomousracing https://t.co/nMTstsaogM
Jun 5
DIY Robocars via Twitter
May 27
DIY Robocars via Twitter
RT @araffin2: I will talk this Saturday from 18:00 to 19:00 Paris time for the @diyrobocars community about learning to race in hours using…
May 27
DIY Robocars via Twitter
RT @a1k0n: Luckily the infeasible hairpin problem was easily reproducible in simulation and I could test the fix before bringing the car ba…
May 26
More…