Page 1 of 1

Question

Posted: Fri Jun 05, 2020 1:52 pm
by evan230
Hi all

I mention that I am a beginner in the multiwii platform, please don't laugh at me, the multiwii platform supports PWM and PPM SUM input signal?

Thanks!

Re: Question

Posted: Sat Jun 06, 2020 9:47 pm
by PatrikE
That's correct.

Re: Question

Posted: Sun Jun 07, 2020 9:15 am
by evan230
Thanks a lot for the reply PatrikE
how to configure the input signal in the pwm or ppm in multwii platform?

Best regards!

Re: Question

Posted: Sun Jun 07, 2020 8:30 pm
by PatrikE
Most features it set in config.h
PWM is default f nothing is cahanged.

Activete PPM with the channel order that suits your Radio
#define SERIAL_SUM_PPM ROLL,PITCH,THROTTLE,YAW,AUX1,AUX2,AUX3,AUX4,8,9,10,11 //For Robe/Hitec/Futaba

Re: Question

Posted: Mon Jun 08, 2020 10:50 am
by evan230
@PatrikE

just to see if I understood correctly "PWM is default" I looked in config.h, but I don't know what are the lines of code that define PWM as default.
the part with define PPM SUM I found it immediately.
what are the output pins for PWM and which is for PPM SUM, I mention that I would like to use arduino PRO MINI?
I searched for the MULTIWII 2.2 version for a few days but I didn't find it anywhere, can you make me a suggestion where to find it?
Thank you very much, your answers helped me a lot.

Re: Question

Posted: Thu Jun 11, 2020 8:23 am
by RCvertt
Hi evan230

In (def.h) file you will find "#if defined(PROMINI)". That is where a lot of default info is.

Code: Select all

//RX PIN assignment inside the port //for PORTD
  #define THROTTLEPIN                2
  #define ROLLPIN                    4
  #define PITCHPIN                   5
  #define YAWPIN                     6
  #define AUX1PIN                    7
  #define AUX2PIN                    0 // optional PIN 8 or PIN 12
  #define AUX3PIN                    1 // unused 
  #define AUX4PIN                    3 // unused 
  

Re: Question

Posted: Thu Jun 11, 2020 8:24 am
by RCvertt
Sorry I see no way to get you the code. The link on Multiwii page doesn't appear to work and RCgroups wouldn't let me add it as an attachment. File is to big. Hope the link gets fixed for you.

Re: Question

Posted: Thu Jun 11, 2020 9:28 am
by PatrikE
HI,
PWM works out of the box.
No need to make any changes unless you want PPM SUM.

You can find information here. http://www.multiwii.com/
It's not updated but should give some good information.

You can also find information on my old Blogposts about MWii in airplanes.
http://fotoflygarn.blogspot.com/2012/03 ... plane.html