Question

Post Reply
evan230
Posts: 3
Joined: Fri Jun 05, 2020 1:39 pm

Question

Post 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!

PatrikE
Posts: 1976
Joined: Tue Apr 12, 2011 6:35 pm
Location: Sweden
Contact:

Re: Question

Post by PatrikE »

That's correct.

evan230
Posts: 3
Joined: Fri Jun 05, 2020 1:39 pm

Re: Question

Post 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!

PatrikE
Posts: 1976
Joined: Tue Apr 12, 2011 6:35 pm
Location: Sweden
Contact:

Re: Question

Post 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

evan230
Posts: 3
Joined: Fri Jun 05, 2020 1:39 pm

Re: Question

Post 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.

RCvertt
Posts: 172
Joined: Fri Sep 14, 2012 11:45 am

Re: Question

Post 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 
  

RCvertt
Posts: 172
Joined: Fri Sep 14, 2012 11:45 am

Re: Question

Post 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.

PatrikE
Posts: 1976
Joined: Tue Apr 12, 2011 6:35 pm
Location: Sweden
Contact:

Re: Question

Post 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

Post Reply