PWM signal

I want to get an output PWM signal of 50hz from the ardupilot mega board. In that PWM signal, i want to control the duty cycle. This output PWM signal should vary depending on the input fed to the APM, which comes from the receiver.

I wish to know how to get this PWM signal and also which pins are free in the APM and how that can be configured for above said query!

 

Thank you,

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

Join diydrones

Email me when people reply –

Replies

  • Now i am able to get the desired PWM signal with varied duty cycle which is corresponding to the RC command, to get this i just made some changes in the library function(main library APM_RC.h), is it possible to obtain the varied dutycycle without affecting the main library?

  • In arduino board i could see the PWM pins separately where, I tried the example program and that was working fine. Here in Ardupilot mega board i couldn't able to figure it out. I'm looking for some help.

    Thank you,

This reply was deleted.

Activity