Quadrino AUX3

Post Reply
nhadrian
Posts: 421
Joined: Tue Oct 25, 2011 9:25 am

Quadrino AUX3

Post by nhadrian »

Hi,

I have a Quadrino board used in a mini hexa-x.
I have now A0_A1_PIN_HEX defined and RCAUXPIN8.
So how it works with AUX1 and AUX2 and hexa configuration.
But I would like to use the AUX3 input too if possible.
Could anybody help where to connect and how to enable in the Multiwii code? I'm using the dev_20120219.

Here is the shematic, green is connected now, red pins are on free pins on the panel somewhere (easy connectable):
Image

BR
Adrian

nhadrian
Posts: 421
Joined: Tue Oct 25, 2011 9:25 am

Re: Quadrino AUX3

Post by nhadrian »

Another small and interresting thing with hexa config:

Since r569, and with dev_20120219 now on, when the hexa is powered on and the transmitter is powered on too, the 5 and 6 motors (which are connected to the A0 and A1, sometimes makes a small thick during idle.
Just like motors would start for a microsecond. But they don't start fortunatelly. When flying, I can't see anything like this.
But when only hexa is powered on and transmitter is off, this doesn't happen, even for many minutes. I think this is a small BUG since the r569.

BR
Adrian

nhadrian
Posts: 421
Joined: Tue Oct 25, 2011 9:25 am

Re: Quadrino AUX3

Post by nhadrian »

OK, I think D12 would be the solution.
Could somebody help activate AUX3 input on D12 port in dev_20120219 code?

BR
Adrian

nhadrian
Posts: 421
Joined: Tue Oct 25, 2011 9:25 am

Re: Quadrino AUX3

Post by nhadrian »

Any input?

Just for testing purposes, I tried to define RCAUXPIN12 instead of RCAUXPIN8 and I got some compilation errors in Arduino.
So there is somethingbug in the code I think. I tried with dev20120225 and dev20120219 too.

BR
Adrian

KeesvR
Posts: 194
Joined: Fri May 27, 2011 6:51 pm
Location: The Netherlands

Re: Quadrino AUX3

Post by KeesvR »

I use pin 12 as aux2 with 0219 without any problem.

Alexinparis
Posts: 1630
Joined: Wed Jan 19, 2011 9:07 pm

Re: Quadrino AUX3

Post by Alexinparis »

Hi,
It is possible, but not with the current code because we make the assumption there is only one more pin to deal with:
/* this ISR is a simplification of the previous one for PROMINI on port D
it's simplier because we know the interruption deals only with one PIN:
bit 0 of PORT B, ie Arduino PIN 8
or bit 4 of PORTB, ie Arduino PIN 12
=> no need to check which PIN has changed */

A full implementation is possible.

nhadrian
Posts: 421
Joined: Tue Oct 25, 2011 9:25 am

Re: Quadrino AUX3

Post by nhadrian »

Hi,

many thanks for reply, so not as easy as I thought. :(

BR
Adrian

Post Reply