OpenXV - Correct Pro Mini

Development & General Chat for the superb openxvario project.

Moderator: rainer

Post Reply
User avatar
ethebee
Posts: 18
Joined: Sun Oct 21, 2012 3:37 pm
Country: -

OpenXV - Correct Pro Mini

Post by ethebee »

Hi Guys,

Have just updated my 9X to support FrSky Telemetry and was about to build the OpenX vario!

Some while ago I used the details on the Wiki page to compile my components list and my parts duly arrived after long wait from China!!

Now I have found a problem - when I compile the code it states that it is too big for the Pro Mini I have selected (5v - 16M).

On reading other earlier posts I now see that it was recommended to use the 32M part which I was not aware of! :roll:

May I suggest that the WIKI is updated to clearly state that the Pro Mini 32M is the one required!

Alternatively is there any way the code could be reduced to allow me to use the 16M part?

Regards

Eric

User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: OpenXV - Correct Pro Mini

Post by jhsa »

The openxvario code fits in the arduino pro mini 5V 16mHz with atmega 328. that is what I use..
Make sure you have this variant of the pro mini and also that you have chosen the correct board in the arduino IDE (arduino program).. In case you don't know exactly what you have, please post a link from where you bought it and/or photos from your arduino pro mini..

João

EDIT: where did you read that it must be a 32MHz arduino? :o :o :shock:
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
User avatar
ethebee
Posts: 18
Joined: Sun Oct 21, 2012 3:37 pm
Country: -

Re: OpenXV - Correct Pro Mini

Post by ethebee »

On Checking the parts I have I realised that I ordered the two sizes of Pro Mini - both 16M & 32M - so I'm OK! :D

Still may be a good idea to make it clear on the WIKI though!


Cheers

Eric
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: OpenXV - Correct Pro Mini

Post by jhsa »

as far as I know there are no 32Mhz pro minis.. unless your "16M and 32M" stands for the chip number..
atmega 168 and atmega 328.. in this case then you need the pro mini with atmega 328 but the 5V version..

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
User avatar
ethebee
Posts: 18
Joined: Sun Oct 21, 2012 3:37 pm
Country: -

Re: OpenXV - Correct Pro Mini

Post by ethebee »

João

Thanks for the quick reply!

By 32M I meant 32 Mbytes of code space!

Cheers

Eric

User avatar
Kilrah
Posts: 11109
Joined: Sat Feb 18, 2012 6:56 pm
Country: Switzerland

Re: OpenXV - Correct Pro Mini

Post by Kilrah »

They are 32kB, not MB ;)

Sent via mobile
User avatar
Flaps 30
Posts: 1490
Joined: Tue Dec 27, 2011 6:04 pm
Country: -
Location: Wokingham Berkshire

Re: OpenXV - Correct Pro Mini

Post by Flaps 30 »

IIRC - The early versions of the code for the vario was small enough to fit onto the pro mini 168. Then came along stacks more lines of code thanks to Kalman and remote sensitivity setting, which made it too big to go onto the 168
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: OpenXV - Correct Pro Mini

Post by jhsa »

Kilrah wrote:They are 32kB, not MB ;)

Sent via mobile
That explains it :mrgreen: :mrgreen:
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
User avatar
ethebee
Posts: 18
Joined: Sun Oct 21, 2012 3:37 pm
Country: -

Re: OpenXV - Correct Pro Mini

Post by ethebee »

Kilrah wrote:They are 32kB, not MB ;)

Sent via mobile

Opps! My mistake :oops:

Still a good idea to clearly show that Atmega 328 is the right one to purchase. :roll:


Eric
User avatar
rainer
Posts: 391
Joined: Tue Jan 01, 2013 9:20 pm
Country: Germany
Location: near Düsseldorf

Re: OpenXV - Correct Pro Mini

Post by rainer »

Thanks for the hint, i changed it in the wiki: https://code.google.com/p/openxvario/wi ... structions
"an Arduino Pro Mini 5V 16Mhz you need the ATmega328 version. The ATmega168 will NOT work! "
build your own vario ==> https://github.com/openXsensor/openXsensor/wiki (Formerly https://code.google.com/p/openxsensor/ and https://code.google.com/p/openxvario/)
tedbmoss
Posts: 121
Joined: Sun Jul 15, 2012 10:42 pm
Country: -
Location: Peoria, AZ

Re: OpenXV - Correct Pro Mini

Post by tedbmoss »

Could you reduce the code size to fit the 168 by eliminating the remote sensitivity setting ??

Post Reply

Return to “OpenXVario - an open source vario supported by the open source firmwares!!”