help setting up PPM on MultiWii

This forum is dedicated to all issues and questions related to your individual setups and configurations
Post Reply
miky94
Posts: 10
Joined: Sun Dec 23, 2018 7:55 pm

help setting up PPM on MultiWii

Post by miky94 »

Hello,
I'm trying to set up my new Turnigy Evolution transmietter and TGY-iA6C receiver on my MultiWii SE V2.5.
so far I've controlled the FC using a python script that inject RC channel via MSP.
I read here https://hobbycomponents.com/rc/489-crius-se-25-multiwii-flight-controller that it supports PPM and here http://www.electronoobs.com/eng_robotica_tut5_3.php how to set it up.
so I checked the channels on the transmitter and they are:
ch1 yaw
ch2 pitch
ch3 throttle
ch4 roll
then I uncommented these line in the code of the MultiWii firmware acccording to the channels order:
#define SERIAL_SUM_PPM YAW,PITCH,THROTTLE,ROLL,AUX1,AUX2,AUX3,AUX4,8,9,10,11
#define PPM_ON_THROTTLE
then I uploaded it to the FC, I calibrated accelerometer and magnetometer, and I leave the default configuration to arm/disarm the motors.
the transmitter output mode is on PPM and I wired receiver's PPM pin to the FC's D2 pin, and obviously + and -.
but when I power on if I put the stick on yaw 2000 and throttle 1000 the motors don't arm, but the blu led keeps blinking as long as I hold the stick in that position.
what am I doing wrong?
Thanks
Attachments
wiring
wiring
0.jpg
MultiWiiConf
(15.49 KiB) Not downloaded yet

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

Re: help setting up PPM on MultiWii

Post by PatrikE »

The Board need to be level to ARM.
#define ONLYARMWHENFLAT //prevent the copter from arming when the copter is tilted

You can test to Arm with a AUX switch.

miky94
Posts: 10
Joined: Sun Dec 23, 2018 7:55 pm

Re: help setting up PPM on MultiWii

Post by miky94 »

PatrikE wrote:The Board need to be level to ARM.
#define ONLYARMWHENFLAT //prevent the copter from arming when the copter is tilted

You can test to Arm with a AUX switch.


I always was able to arm the motors using MSP before, I calibrated the accelerometer and the quad is flat on the floor.
I also tried to set on the transmitter the ch5 (aux1) to a 2 positions switch and then in MultiWiiConf I set arm on the high value of aux1 (that would even be safer) but it doesn't work.
Attachments
Senza-titolo-1.jpg
(15.52 KiB) Not downloaded yet

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

Re: help setting up PPM on MultiWii

Post by PatrikE »

Inside void go_arm()

Code: Select all

    if(!f.ARMED && !f.BARO_MODE) { // arm now!
      f.ARMED = 1;

That means you can't ARM if Baro is enabled at same time.

Your image shows you have Baro enabled on same switch as ARM.
Image

miky94
Posts: 10
Joined: Sun Dec 23, 2018 7:55 pm

Re: help setting up PPM on MultiWii

Post by miky94 »

Ok I'll try unchecking the BARO box this evening, but why with the switch on low position I could't arm using the sticks? if I check arm on aux arming by sticks is disabled? I already tried without checking anything in arm

miky94
Posts: 10
Joined: Sun Dec 23, 2018 7:55 pm

Re: help setting up PPM on MultiWii

Post by miky94 »

I tried but when I put the ch5 (aux1) switch on high level nothing happens...
the only thing I noticed is that while keeping the throttle stick on bottom right position, the blue LED on FC start blinkinhg very fast (it seems almost solid) then it pause , then it blinks again and so on, what does this mean? I didn't find it in the wiki
Attachments
Senza-titolo-1.jpg
(15.52 KiB) Not downloaded yet

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

Re: help setting up PPM on MultiWii

Post by PatrikE »

Hi,

It's strange that MAG is enabled without any box checked!.
Image

Is all channels within correct range(1000-2000)
Otherwise failsafe can be activated.

Also if you upgraded the software on the FC you should start with a Eeprom erase or at least reset from Gui.
Some old settings can interfere at a upgrade.

Then test to ARM without changing anything.

Post Reply