Page 1 of 1

Quadrino AUX3

Posted: Tue Feb 21, 2012 7:31 pm
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

Re: Quadrino AUX3

Posted: Tue Feb 21, 2012 7:37 pm
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

Re: Quadrino AUX3

Posted: Fri Feb 24, 2012 9:58 pm
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

Re: Quadrino AUX3

Posted: Sun Feb 26, 2012 7:37 pm
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

Re: Quadrino AUX3

Posted: Sun Feb 26, 2012 9:45 pm
by KeesvR
I use pin 12 as aux2 with 0219 without any problem.

Re: Quadrino AUX3

Posted: Sun Feb 26, 2012 11:47 pm
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.

Re: Quadrino AUX3

Posted: Mon Feb 27, 2012 11:49 am
by nhadrian
Hi,

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

BR
Adrian