MW2.4 stripped to the bone with GPS and Promini

This forum is dedicated to software development related to MultiWii.
It is not the right place to submit a setup problem.
Software download
Post Reply
franko_
Posts: 15
Joined: Tue Apr 16, 2013 7:56 am

MW2.4 stripped to the bone with GPS and Promini

Post by franko_ »

Hi,

I have an Arduino Promini 328 and a GY-86 IMU compiled with GPS functions and have have 400bytes free.
But my problem is my 328 has only one rx/tx port, which was shared with ftdi.

Is it possible to use ftdi and gps at the same time?
If not, any led status when gps is locked in arduino will helpfully.

Anyone tried something with softserial or stripped the code .. use it only for my little 250 copter and needs nor waypoints etc.

Led status will also helpful .. my crius aio is to big..

BR
Frank

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

Re: MW2.4 stripped to the bone with GPS and Promini

Post by PatrikE »

The Uart senses if you have GPS os FTDI connected.
But only one can be used.

I2C gps save some code size and you will have Uart free.

franko_
Posts: 15
Joined: Tue Apr 16, 2013 7:56 am

Re: MW2.4 stripped to the bone with GPS and Promini

Post by franko_ »

PatrikE wrote:The Uart senses if you have GPS os FTDI connected.
But only one can be used.

I2C gps save some code size and you will have Uart free.


Hi Patrik,

is i2c GPS supported in MW 2.4 and which piece of code will be on the second i2c Arduino?
Is it not possible to toggle d13 onboard led after gps fix?

BR
Frank

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

Re: MW2.4 stripped to the bone with GPS and Promini

Post by PatrikE »

https://code.google.com/p/i2c-gps-nav/

It works on 2.4
No toggle Not with current code without some code changes.
And it consumes program space to.

franko_
Posts: 15
Joined: Tue Apr 16, 2013 7:56 am

Re: MW2.4 stripped to the bone with GPS and Promini

Post by franko_ »

thx Patrik,

i test it first without any second fpu, the trick was to define all flightmodes before flashing with gps code.
I test it and will reply ..

Br
Frank

Post Reply