OpenXV - Correct Pro Mini
Moderator: rainer
OpenXV - Correct Pro Mini
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!
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
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!
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
Re: OpenXV - Correct Pro Mini
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?
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?
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
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
Re: OpenXV - Correct Pro Mini
On Checking the parts I have I realised that I ordered the two sizes of Pro Mini - both 16M & 32M - so I'm OK!
Still may be a good idea to make it clear on the WIKI though!
Cheers
Eric
Still may be a good idea to make it clear on the WIKI though!
Cheers
Eric
Re: OpenXV - Correct Pro Mini
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
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
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
Re: OpenXV - Correct Pro Mini
João
Thanks for the quick reply!
By 32M I meant 32 Mbytes of code space!
Cheers
Eric
Thanks for the quick reply!
By 32M I meant 32 Mbytes of code space!
Cheers
Eric
Re: OpenXV - Correct Pro Mini
They are 32kB, not MB
Sent via mobile
Sent via mobile
Re: OpenXV - Correct Pro Mini
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
Re: OpenXV - Correct Pro Mini
That explains itKilrah wrote:They are 32kB, not MB
Sent via mobile
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
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
Re: OpenXV - Correct Pro Mini
Kilrah wrote:They are 32kB, not MB
Sent via mobile
Opps! My mistake
Still a good idea to clearly show that Atmega 328 is the right one to purchase.
Eric
Re: OpenXV - Correct Pro Mini
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! "
"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/)
Re: OpenXV - Correct Pro Mini
Could you reduce the code size to fit the 168 by eliminating the remote sensitivity setting ??