6 position flight mode switch

For one of my projects where I need to build a ground station and install computer, controller, camera control etc. in a case I thought it would be much easier to access the 6 different possible flight modes from a single rotary switch. For that reason I sat down, designed a small circuit which would nicely go on the back of a rotary switch barely extending the dimensions of that. In order to provide the necessary PPM pulses I employed a Microchip PIC processor. This will output a composite PPM signal on one pin.

The fifth channel is programmed to read the position of the rotary switch and based on that to modify the pulse length for channel 5. All other channels output a constant 1.52ms signal.

The composite PPM signal then can be fed into the trainer port of any Futaba, TGY 9X or 9XR,  The radio has to be programmed to accept the signal coming on the trainer port - in case of the Futaba the trainer switch has to be on as well, but in case of the Turnigy one can simply select for channel five a PPM5 signal, plug the switch to the back to the radio and just use it.

The switch has a small voltage regulator so can be powered even from a 3 cell LiPo connected to your radio - but also through the Futaba trainer port.

The switch positions are programmed to the following pulse widths:

1: 1115us

2: 1295us

3: 1425us

4: 1556us

5: 1685us

6: 1875us

These are the middle of the bands shown in the mission planner software for each flight mode position.

I verified with the scope, the pulses are good and measure where they should be. Testing with the trainer cable will follow in a few days - hopefully over the weekend I will have some time.

I just wanted to share this project with the collective and see what do you think about this. See some pictures below.

Pic 1 - controller board top and rotary switch

Pic 2 - controller board bottom and rotary switch

Pic 3 - all assembled

P1030936.JPG

P1030937.JPG

P1030938.JPG

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

Join diydrones

Email me when people reply –

Replies

  • Why did you not go down having six modes without mod?
  • Developer
    Congrats on the design. You should consider posting this as a blog entry. It would be cool if it did 9 positions as 6 for some is a limiting factor.
This reply was deleted.

Activity

DIY Robocars via Twitter
16 hours ago
DIY Robocars via Twitter
Saturday
DIY Robocars via Twitter
Saturday
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…
Saturday
DIY Robocars via Twitter
Wednesday
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…