PWM Output Waveforms From Spektrum Receiver

     I am trying to write Arduino code to read PWM signals from Spektrum receiver.  Decided to examine and document the receiver output waveforms with an oscilloscope and video camera. Thought this information might be of some value to others trying to do the same thing.

Throttle Channel PWM.jpg

Elevator Channel PWM.jpg

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

Join diydrones

Email me when people reply –

Replies

  • Hi Dave,

    I'm very new to electronics.  Bearing that in mind, could you provide, or refer me to, a circuit for getting an arduino to read PWM from a standard servo receiver?  You refer to resistors above.  Can I provide 5V to the receiver from the board?  Then 150 Ohm resistor b/w channel pin and receiver signal to pull down.  Does your "plus V+ und GND of course" also refer to the need for resistors?  Or is only the single pull down required?

    Trevor

    • I think this one can suits your needs:

      Tutorial

  • Hi,

    I'm interested in this thread as I'm working on an Arduino based sound system for my Spitfire. So far I have got an Adafruit wave shield to go with my Arduino Uno, and have it working using a sketch that changed the interupt, enabling change in engine speed by an analog pot control - this works. However, I have started thinking about how I could use the servo output waveform to drive a digital Arduino pin - actually analog pin A0 - to control the rate proportionally with the throttle.

    The info here is good in that it shows the waveform and timings, however, I have no clear idea how to use this to control the Arduino interupt. Has anyone had any experience of this?

    If there is no obvious way, I may have to drive a servo in parallel with the throttle to turn a pot, which then controls the interupt. This will work, but is not at all elegant and adds weight when I don't need it.

    I would really like to sort out the digital method and then pass it all on to other interested people.

    Can you offer any clues please?

  • Very nice! really!

    Could you just confirm me that the max voltage for these channel is 3 volts???

    Since I don t have an oscilloscope but a logic analyser, I cannot read those values.

    Thanks

    Regrads

  • I think the killer set-up tool for RC/APM checkout would be a box to plug in the APM input cable. It should give bargraph output of each RC channel. That would let someone confirm their RC/APM wiring was correct before ever introducing the APM.

    I just went through a APM2.5 setup and thought how cool that gadget would be to have.

    Stock out of the box APM requires the firmware upload first before even connecting to Mission Planner before you can start RC calibration.

    This just goes to show you that there are very few ideas that are unique.

    -=Doug

This reply was deleted.

Activity

DIY Robocars via Twitter
RT @chr1sa: Donkeycar 4.4 released with tons of new features, including path learning (useful with GPS outdoors), better Web and Lidar supp…
Nov 27, 2022
DIY Robocars via Twitter
RT @NXP: We are already biting our nails in anticipation of the #NXPCupEMEA challenge! 😉 Did you know there are great cash prizes to be won…
Nov 24, 2022
DIY Robocars via Twitter
RT @gclue_akira: レースまであと3日。今回のコースは激ムズかも。あと一歩 #jetracer https://t.co/GKcEjImQ3t
Nov 24, 2022
DIY Robocars via Twitter
UC Berkeley's DIY robocar program https://roar.berkeley.edu/
Nov 24, 2022
DIY Robocars via Twitter
RT @chr1sa: The next @DIYRobocars autonomous car race at @circuitlaunch will be on Sat, Dec 10. Thrills, spills and a Brazilian BBQ. Fun…
Nov 24, 2022
DIY Robocars via Twitter
RT @arthiak_tc: Donkey car platform ... Still training uses behavioral cloning #TCXpo #diyrobocar @OttawaAVGroup https://t.co/PHBYwlFlnE
Nov 20, 2022
DIY Robocars via Twitter
RT @emurmur77: Points for style. @donkeycar racing in @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/Y2hMyj1…
Nov 20, 2022
DIY Robocars via Twitter
RT @SmallpixelCar: Going to @diyrobocars race at @UCSDJacobs https://t.co/Rrf9vDJ8TJ
Nov 8, 2022
DIY Robocars via Twitter
RT @SmallpixelCar: Race @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/kK686Hb9Ej
Nov 8, 2022
DIY Robocars via Twitter
RT @PiWarsRobotics: Presenting: the Hacky Racers Robotic Racing Series in collaboration with #PiWars. Find out more and register your inter…
Oct 23, 2022
DIY Robocars via Twitter
RT @Hacky_Racers: There will be three classes at this event: A4, A2, and Hacky Racer! A4 and A2 are based around UK paper sizing and existi…
Oct 23, 2022
DIY Robocars via Twitter
Oct 23, 2022
DIY Robocars via Twitter
Oct 19, 2022
DIY Robocars via Twitter
Oct 18, 2022
DIY Robocars via Twitter
RT @NeaveEng: Calling all UK based folks interested in @diyrobocars, @f1tenth, @donkey_car, and similar robot racing competitions! @hacky_r…
Oct 13, 2022
DIY Robocars via Twitter
RT @araffin2: 🏎️ After hours of video editing, I'm happy to share a best of my Twitch videos on learning to race with RL. 🏎️ Each part is…
Oct 13, 2022
More…