OpenXsensor Configurator
Moderator: rainer
Re: OpenXsensor Configurator
oXs take care of 2 types of Arduino : 5V 16Mhz and 3.3V 8 Mhz.
The selection is done in the Arduino IDE as Kalle123 said.
The selection is done in the Arduino IDE as Kalle123 said.
-
- Posts: 241
- Joined: Tue Jan 15, 2013 9:41 pm
- Country: -
Re: OpenXsensor Configurator
so the compiler gets the information about the target board from the IDE and sets the right timer load values based on compile time switches set somewhere in the code?
Re: OpenXsensor Configurator
In fact, based on your selected hardware, IDE defines some parameters that can be used/tested in the code.
E.g. in file oXs_out_frsky.h you have this code :
E.g. in file oXs_out_frsky.h you have this code :
Code: Select all
#if F_CPU == 20000000L // 20MHz clock
// Sinan: Not tested
#define TICKS2COUNTSPORT 348 // Ticks between two bits.
#define TICKS2WAITONESPORT 348 // Wait one bit period.
#define TICKS2WAITONE_HALFSPORT 520 // Wait one and a half bit period.
#elif F_CPU == 16000000L // 16MHz clock
#define TICKS2COUNTSPORT 278 // Ticks between two bits.
#define TICKS2WAITONESPORT 278 // Wait one bit period.
#define TICKS2WAITONE_HALFSPORT 416 // Wait one and a half bit period.
#elif F_CPU == 8000000L // 8MHz clock
// Assumes a 8MHz clock
#define TICKS2COUNTSPORT 139 // Ticks between two bits.
#define TICKS2WAITONESPORT 139 // Wait one bit period.
#define TICKS2WAITONE_HALFSPORT 208 // Wait one and a half bit period.
#else
#error Unsupported clock speed
#endif
-
- Posts: 241
- Joined: Tue Jan 15, 2013 9:41 pm
- Country: -
Re: OpenXsensor Configurator
Ahhh yes this is exactly what I was concerned about. This makes life so easy for us with limited knowledge. I was afraid I would have to go digging in the code for those definitions and change the timer load values to use a different clock speed. I see that even 20MHz is a possibility. Thanks for helping me learn more about how the arduino IDE works!
Joe
Joe
-
- Posts: 7
- Joined: Mon Jun 02, 2014 5:03 pm
- Country: France, Metropolitan
Re: OpenXsensor Configurator
Nice idea. I follow this project.
Re: OpenXsensor Configurator
It's been inactive for 2 years.
Re: OpenXsensor Configurator
I am sorry but the developper of the configurator has stopped supporting his tool.
So, the remaining solution is to edit manually the 2 files oXs_config_basic.h and oXs_config_advanced.h
If this is to difficult, you can explain which sensors/protocol you want and I can make the config files for you.
So, the remaining solution is to edit manually the 2 files oXs_config_basic.h and oXs_config_advanced.h
If this is to difficult, you can explain which sensors/protocol you want and I can make the config files for you.
Re: OpenXsensor Configurator
Still, it is really a shame. I did love this tool
João

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: OpenXsensor Configurator
Get used to
You will love that way too... edit manually the 2 files oXs_config_basic.h and oXs_config_advanced.h

br KH (who could search on backup HDDs here for a copy of that Configurator and post it here

Re: OpenXsensor Configurator
Hi João.
Found a copy and it is still working ...
I bit obsolete, but never mind.

Found a copy and it is still working ...

I bit obsolete, but never mind.

- MikeB
- 9x Developer
- Posts: 16622
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: OpenXsensor Configurator
Was the source code of this ever published?
Mike
Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
Re: OpenXsensor Configurator
Mike, that is, what I found here.
Might have a look. It was written in java ...
br KH
Might have a look. It was written in java ...
br KH
- Attachments
-
- OXS_Configurator_v2.1_linux.zip
- (4.53 MiB) Downloaded 47 times
Re: OpenXsensor Configurator
How do you think I do it??

No I don'tYou will love that way too

And it would make life easier to users that never had contact with programming, and people like myself that can't do math

The configurator did some of the calculations for us..
Editing the config file will NEVER be the same as inserting the values in a dedicated app. So, how can I love editing a config file? Easy answer, I don't..

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: OpenXsensor Configurator
So no use to cheer you up, then.
But João, I am used to do the configuration in the config file, but I hate it being split up in basic and advanced
br KH
But João, I am used to do the configuration in the config file, but I hate it being split up in basic and advanced

br KH
Re: OpenXsensor Configurator


Well, what I can say is that sometimes I do find myself switching from one to the other trying to find where the options I need are. I guess developers have a much different idea of what the expression "User Friendly" meansBut João, I am used to do the configuration in the config file, but I hate it being split up in basic and advanced![]()

So, we can always help them by suggesting improvements to the projects, and it is a nice way of participating in those projects as well..


Another great tool for both Ersky9x and OpenTX is the great voice files creator TTSAutomate.. This one is being maintained of course..

I confess, it has been a while since last time I built an oXs, but I have a couple new gliders, and I will have to build a couple varios for them.
I have been busy with some other projects.. One of them is called WORK




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