Yet another Android based naze32/multiwii 2.0 configurator
Yet another Android based naze32/multiwii 2.0 configurator
Hello,
I'm fairly new in the multiwii community. I recently got a naze32 FC, wich use a 32bits ported based on the multiwii 2.0 firmware.
Since I had some time, I decided to give a try to android development world and start a new configurator (when I started, the existing one from icewind was not compatible with 2.0 protocol).
After A couple of weeks I finally got something that is working (at least for me). I know there are some bugs here and there and it is not very artistic. It's more in the user experience side (again, at least for me).
Some of the features are:
- userfriendly sliders to change values
- different tabs for pid, radio and switchs settings
- Aux1 to Aux4 switch panel (I'm going to try to add the lamp colors like in mw wingui)
- For naze32 users (I don't know about multiwii users, but I will do some research) features from cli can be changed over bluetooth. I'm going to look at the cli from multiwii code, so I can adapt also the same stuff.
It's completely free, it will keep that way. I will try to listen and code some of the user wishes. For starter here are some images:
I attached a zip file with the latest apk.
Feel free to test it and abuse it. And of course, if you found errors, mistakes, crap stuff, tell me, i will do the best to repair it as soon as possible.
I will update as soon as possible with the changes.
UPDATE: 1.0.5
-Added RCchannel feed
-Some UI improvements.
UPDATE 1.0.6
- Realtime sensor display on graph.
- Connect/disconnect touching the center label (red/green)
It seems that some people has downloaded 1.0.4 and 1.0.5 versions, I would like to have some feedback from your tests.
Is it worth to continue updating or just forget about it?
Have a nice day!
I'm fairly new in the multiwii community. I recently got a naze32 FC, wich use a 32bits ported based on the multiwii 2.0 firmware.
Since I had some time, I decided to give a try to android development world and start a new configurator (when I started, the existing one from icewind was not compatible with 2.0 protocol).
After A couple of weeks I finally got something that is working (at least for me). I know there are some bugs here and there and it is not very artistic. It's more in the user experience side (again, at least for me).
Some of the features are:
- userfriendly sliders to change values
- different tabs for pid, radio and switchs settings
- Aux1 to Aux4 switch panel (I'm going to try to add the lamp colors like in mw wingui)
- For naze32 users (I don't know about multiwii users, but I will do some research) features from cli can be changed over bluetooth. I'm going to look at the cli from multiwii code, so I can adapt also the same stuff.
It's completely free, it will keep that way. I will try to listen and code some of the user wishes. For starter here are some images:
I attached a zip file with the latest apk.
Feel free to test it and abuse it. And of course, if you found errors, mistakes, crap stuff, tell me, i will do the best to repair it as soon as possible.
I will update as soon as possible with the changes.
UPDATE: 1.0.5
-Added RCchannel feed
-Some UI improvements.
UPDATE 1.0.6
- Realtime sensor display on graph.
- Connect/disconnect touching the center label (red/green)
It seems that some people has downloaded 1.0.4 and 1.0.5 versions, I would like to have some feedback from your tests.
Is it worth to continue updating or just forget about it?
Have a nice day!
- Attachments
-
- naze32configurator1.0.6.zip
- (168.92 KiB) Downloaded 670 times
Last edited by nicodh on Thu Apr 12, 2012 8:46 am, edited 2 times in total.
Re: Yet another Android based naze32/multiwii 2.0 configurat
Hello again, I'm trying to see if there is a cli, and I think I found my answer. It's no. so normally the cli_settings shouldn't do anything for multiwii firmware.
The rest of the features setteables via gui are working, at least I assume it does until someone will tell me not.
So have a nice tryout!
The rest of the features setteables via gui are working, at least I assume it does until someone will tell me not.
So have a nice tryout!
-
- Posts: 12
- Joined: Tue Jan 24, 2012 2:18 pm
Re: Yet another Android based naze32/multiwii 2.0 configurat
What BT module are you using? I have seen a few on ebay - just wondering if I need the one which also comes with a dongle to configure it - or if I just need the 115600 or the 9600 baud rate modules?
Cheers
ice.
Cheers
ice.
Re: Yet another Android based naze32/multiwii 2.0 configurat
You can use something pre-configured to 115200.
Re: Yet another Android based naze32/multiwii 2.0 configurat
Dongs is right an is the simpler solution.
Other solution is doing this:
viewtopic.php?f=6&t=133&p=11075&hilit=bluetooth#p11075
that's what I followed to make my bluetooth transceiver.
Other solution is doing this:
viewtopic.php?f=6&t=133&p=11075&hilit=bluetooth#p11075
that's what I followed to make my bluetooth transceiver.
Re: Yet another Android based naze32/multiwii 2.0 configurat
The new protocol has been updated, Naze32 configurator is compliant with the new mwc firmware. Faster refresh rate on realtime graphs (50 hz).
Auto save modifications inmediately.
On play google.
Auto save modifications inmediately.
On play google.
Re: Yet another Android based naze32/multiwii 2.0 configurat
just signed up to say nice work! really like being able to adjust the CLI settings without a laptop. graph is working in the new version as well. if i have the app open, then close it and reopen it I get this error:
main_read_olick (java line:1776)
java.io.IOException: socket closed
if I open again after the error it normally works. I have a wildfire s using android 2.3.3
cheers for making it![Smile :)](./images/smilies/icon_e_smile.gif)
all the best
Al.
main_read_olick (java line:1776)
java.io.IOException: socket closed
if I open again after the error it normally works. I have a wildfire s using android 2.3.3
cheers for making it
![Smile :)](./images/smilies/icon_e_smile.gif)
all the best
Al.
Re: Yet another Android based naze32/multiwii 2.0 configurat
if I press disconnect before quitting the app it opens and closes fine everytime
A
![Smile :)](./images/smilies/icon_e_smile.gif)
Re: Yet another Android based naze32/multiwii 2.0 configurat
Yes, thanks, that's something I haven't yet corrected, it will be soon, but it's doesn't harm. Glad you like it.
Re: Yet another Android based naze32/multiwii 2.0 configurat
New small update. (it's found in the play.google market under naze32)
https://play.google.com/store/apps/deta ... XJhdG9yIl0.
I found (doing a windows based gui for dev, since naze32 has the new protocol) that aux3 and aux4 had some strange behaviour, so I correct that and add a nice feature, at least for me. The status in the switch panel is shown as in the multiwii gui. The label becomes green when enabled, transparent when disabled. Hop you like.
If someone is interested in a windows minimalistic gui (it has no graph for now) I will upload it.
Enjoy.
https://play.google.com/store/apps/deta ... XJhdG9yIl0.
I found (doing a windows based gui for dev, since naze32 has the new protocol) that aux3 and aux4 had some strange behaviour, so I correct that and add a nice feature, at least for me. The status in the switch panel is shown as in the multiwii gui. The label becomes green when enabled, transparent when disabled. Hop you like.
If someone is interested in a windows minimalistic gui (it has no graph for now) I will upload it.
Enjoy.
Re: Yet another Android based naze32/multiwii 2.0 configurat
Hi,
At first thanks for you project!![Wink ;)](./images/smilies/icon_e_wink.gif)
Are you planning to make some switching between real-time graphs for all sensors (ACC,GYRO, BARO etc.)? I.e. not only ACCx/y/z and Gx...
Also it would be very useful to have debug1/2/3/4 graphs when developing/testing some new modes outside. E.g. alt-hold baro/sonar, optflow position hold etc.
thx-
Alex
At first thanks for you project!
![Wink ;)](./images/smilies/icon_e_wink.gif)
Are you planning to make some switching between real-time graphs for all sensors (ACC,GYRO, BARO etc.)? I.e. not only ACCx/y/z and Gx...
Also it would be very useful to have debug1/2/3/4 graphs when developing/testing some new modes outside. E.g. alt-hold baro/sonar, optflow position hold etc.
thx-
Alex
Re: Yet another Android based naze32/multiwii 2.0 configurat
Hi,
First of all, congrats and thank you for the Android app. Second, the tab Radio on the app that I download from the Google Play is different from the one on the initial post (sorry about the quality). Is this new to this version?
Regards,
Luis Sismeiro
First of all, congrats and thank you for the Android app. Second, the tab Radio on the app that I download from the Google Play is different from the one on the initial post (sorry about the quality). Is this new to this version?
Regards,
Luis Sismeiro
Re: Yet another Android based naze32/multiwii 2.0 configurat
Hi, yes is the new version, since i add the throttle mid and throttle expo.
Re: Yet another Android based naze32/multiwii 2.0 configurat
mahowik wrote:Hi,
At first thanks for you project!
Are you planning to make some switching between real-time graphs for all sensors (ACC,GYRO, BARO etc.)? I.e. not only ACCx/y/z and Gx...
Also it would be very useful to have debug1/2/3/4 graphs when developing/testing some new modes outside. E.g. alt-hold baro/sonar, optflow position hold etc.
thx-
Alex
Hi alex, of course I'm planning to add them. I had some problems with data until now, but I resolved them so I will add the graphs posibilities very soon (maybe tuesday).
Re: Yet another Android based naze32/multiwii 2.0 configurat
A new version has been updated to play.google, with the ability to show debug data in the graphs.
Mahowik. Just touch the bottom left label (ax) and see what it does.![Smile :-)](./images/smilies/icon_e_smile.gif)
Mahowik. Just touch the bottom left label (ax) and see what it does.
![Smile :-)](./images/smilies/icon_e_smile.gif)
-
- Posts: 5
- Joined: Wed May 30, 2012 11:29 am
Re: Yet another Android based naze32/multiwii 2.0 configurat
Hi, thanks for making this app its really great.
I wanted to suggest a feature which I would find very useful. In the Multiwii GUI, it displays vbat voltage, so would it be possible for you to make alarms on my phone based on that? e.g. vibrate, ringtone. I would find it really useful if you could make it.
thanks
I wanted to suggest a feature which I would find very useful. In the Multiwii GUI, it displays vbat voltage, so would it be possible for you to make alarms on my phone based on that? e.g. vibrate, ringtone. I would find it really useful if you could make it.
thanks
Re: Yet another Android based naze32/multiwii 2.0 configurat
Please make sure to only write valid values back into the copter. I tested the app and it promptly set my roll/pitch rates to 0. Yes, ZERO, Niente, Nix. Had a hard time flying.
Re: Yet another Android based naze32/multiwii 2.0 configurat
I tried this software my samsung ace telephone and multiwii crius se board via BT modul but software connet BT modul when I star (grafik mode) or read button give error "java ....... error" and close.
Re: Yet another Android based naze32/multiwii 2.0 configurat
I tried this software tonight and got a problem, i connected X4 via BT to Android phone , switch/vaule reading are right, when i write it to EEprom finished ,the X4 can take off , but pitch/roll/raw are loose controlled. only throttle can used.
I am used thisversion "multiwii development version - 5 May 2012"
I am used thisversion "multiwii development version - 5 May 2012"
Re: Yet another Android based naze32/multiwii 2.0 configurat
adam wrote:I tried this software tonight and got a problem, i connected X4 via BT to Android phone , switch/vaule reading are right, when i write it to EEprom finished ,the X4 can take off , but pitch/roll/raw are loose controlled. only throttle can used.
I am used thisversion "multiwii development version - 5 May 2012"
Set RC Rate and RC Expo back to 0.9 and 0.65 respectively with MultiWiiConf.
It's a pretty nasty bug that almost everyone using this app seems to have run into
![Wink ;)](./images/smilies/icon_e_wink.gif)
Re: Yet another Android based naze32/multiwii 2.0 configurat
fiendie wrote:adam wrote:I tried this software tonight and got a problem, i connected X4 via BT to Android phone , switch/vaule reading are right, when i write it to EEprom finished ,the X4 can take off , but pitch/roll/raw are loose controlled. only throttle can used.
I am used thisversion "multiwii development version - 5 May 2012"
Set RC Rate and RC Expo back to 0.9 and 0.65 respectively with MultiWiiConf.
It's a pretty nasty bug that almost everyone using this app seems to have run into
Great ! It's a good news, I will try it later,
Thanks for your help!
Re: Yet another Android based naze32/multiwii 2.0 configurat
I think I corrected that in the last update (today). If keeps happening I will try to find out why this happens. Thanks for your comments.
Ok, I just found the error.
It happens when you connect and go directly to switches without opening the radio tab. Since no data was loaded it send 0 to everything.
I will correct that right now so the update would be up in play google in a couple of hours. Sorry for the inconvienience.!
Ok, I just found the error.
It happens when you connect and go directly to switches without opening the radio tab. Since no data was loaded it send 0 to everything.
I will correct that right now so the update would be up in play google in a couple of hours. Sorry for the inconvienience.!
Last edited by nicodh on Wed Jun 06, 2012 1:47 pm, edited 1 time in total.
Re: Yet another Android based naze32/multiwii 2.0 configurat
Fried_Onion wrote:Hi, thanks for making this app its really great.
I wanted to suggest a feature which I would find very useful. In the Multiwii GUI, it displays vbat voltage, so would it be possible for you to make alarms on my phone based on that? e.g. vibrate, ringtone. I would find it really useful if you could make it.
thanks
It is possible, I will look after and try to update soon.
Thanks for the idea.
Done, uploaded to play google. Should auto update soon, but if you don't want to wait. http://baradrone.free.fr/naze32/naze32configurator.apk
Again sorry for the annoying bug.
Re: Yet another Android based naze32/multiwii 2.0 configurat
Hm, I've added the new AUX switch items included yesterday to your code, but since you are using this strange basic stuff, I cannot or test it. I'm sending you a patch, so be aware that the code is untested ![Smile :-)](./images/smilies/icon_e_smile.gif)
![Smile :-)](./images/smilies/icon_e_smile.gif)
Re: Yet another Android based naze32/multiwii 2.0 configurat
Will update as soon as possible.
Thanks.
Thanks.
Re: Yet another Android based naze32/multiwii 2.0 configurat
UPDATE 1.37: Battery level addtion. 2 levels available and setteable. Level 2 (critical) will beep and vibrate (if available). To set values just touch the level 1 and level 2 labels. A number picker will be display. Click ok. (refresh rate is 100 ms)
Re: Yet another Android based naze32/multiwii 2.0 configurat
Do this version work with the 0606-dev version?
Thanks Peter
Thanks Peter
Re: Yet another Android based naze32/multiwii 2.0 configurat
it should. If not drop me an email with the error.
Re: Yet another Android based naze32/multiwii 2.0 configurat
Thanks, I will try and give you a feedback.
Re: Yet another Android based naze32/multiwii 2.0 configurat
version 30 save alarm settings in file. Every time you start alarm bat it will display your settings.
Re: Yet another Android based naze32/multiwii 2.0 configurat
Hi !
I have strange behavior on my Samsung Galaxy S (2.3.5) - MultiWii 2.0 BlueSky RC BT module @11520Wii
http://www.youtube.com/watch?v=aeaAe3pCEzg
As You can see all graphs jump without touching radio.
Ice Wind MultiWiiConfigurator work fine on the same setup.
Regards
Tom
I have strange behavior on my Samsung Galaxy S (2.3.5) - MultiWii 2.0 BlueSky RC BT module @11520Wii
http://www.youtube.com/watch?v=aeaAe3pCEzg
As You can see all graphs jump without touching radio.
Ice Wind MultiWiiConfigurator work fine on the same setup.
Regards
Tom
Re: Yet another Android based naze32/multiwii 2.0 configurat
Ok, that's because the refresh rate is too high, I should try to add a setting for that. Maybe in a few days. You have the latest version? 1.37 version 30?
Send me a mail I will try to do a testing version for you to try.
Send me a mail I will try to do a testing version for you to try.
Re: Yet another Android based naze32/multiwii 2.0 configurat
Hi !
Thanks a lot.
Yes it is v1.37 30.
Thanks a lot.
Yes it is v1.37 30.
Re: Yet another Android based naze32/multiwii 2.0 configurat
Easier than I thought, I finish adding a combobox for choosing the refresh rate on rc data, will do the same in motors, test it tomorrow, and upload to play google as version 31.
Re: Yet another Android based naze32/multiwii 2.0 configurat
Hey Tom, I just added a spinner to choose the refresh rate on rc display and motors display. You can choose between 5 Hz and 100 Hz (and some in between of course)
version code 31. updated in play.google.
version code 31. updated in play.google.
Re: Yet another Android based naze32/multiwii 2.0 configurat
Hi !
Thanks !!!
Downloaded. Will test when comeback from work.
Regards
Tom
Thanks !!!
Downloaded. Will test when comeback from work.
Regards
Tom
Re: Yet another Android based naze32/multiwii 2.0 configurat
in fact code 32 I think, i made a mistake on 31. ![Smile :-)](./images/smilies/icon_e_smile.gif)
![Smile :-)](./images/smilies/icon_e_smile.gif)
Re: Yet another Android based naze32/multiwii 2.0 configurat
Hi !
Yes it is 32.
Just reporting.
I had very little time so maybe I did something wrong - I can not make it work at all.
Will try again tomorrow with controller only and different copter.
Tom
Yes it is 32.
Just reporting.
I had very little time so maybe I did something wrong - I can not make it work at all.
Will try again tomorrow with controller only and different copter.
Tom
Re: Yet another Android based naze32/multiwii 2.0 configurat
I just released the new version wich is compatible with the latest serial protocol. Now, 3 protocols are available (old, 2.0 and the 2.1 protocol).
It's set on newest protocol.
Available at play.google and my blog here: http://www.rcgroups.com/forums/showthre ... st21832271
It's set on newest protocol.
Available at play.google and my blog here: http://www.rcgroups.com/forums/showthre ... st21832271
Re: Yet another Android based naze32/multiwii 2.0 configurat
This is nice - I will try it when I get home from work.
Re: Yet another Android based naze32/multiwii 2.0 configurat
UPDATE 35:
Minor retouching concerning popups.
New feature: no more need to hit the write button when you change the switchs. Every second it will send the configuration.
The write button is now useless (it works of course but no need to use it)
Minor retouching concerning popups.
New feature: no more need to hit the write button when you change the switchs. Every second it will send the configuration.
The write button is now useless (it works of course but no need to use it)
Re: Yet another Android based naze32/multiwii 2.0 configurat
It is very easy to send invalid settings to the copter!
Several times when i connected and changed PID's the radio settings have been written as zeros.
And same with the switches.
Is it possible to send only the data from the active page?.
I always have a saved setup to upload again when it happens.
Several times when i connected and changed PID's the radio settings have been written as zeros.
And same with the switches.
Is it possible to send only the data from the active page?.
I always have a saved setup to upload again when it happens.
Re: Yet another Android based naze32/multiwii 2.0 configurat
Ok, i will do it. Is better to only update the necessary. Tomorrow will be done. ![Wink ;-)](./images/smilies/icon_e_wink.gif)
Well took less time than I thought, addition of select case do the trick with the write button. But, you know that every time you change a value on pid or radio tab it will update just that tab? I did this some time ago. The problem was with the switchs tab, you had to touch the write button, not anymore (it's automatic).
I found another bug, withe the save to file. I just corrected.
The latest is 1.39 version 36...
![Wink ;-)](./images/smilies/icon_e_wink.gif)
Well took less time than I thought, addition of select case do the trick with the write button. But, you know that every time you change a value on pid or radio tab it will update just that tab? I did this some time ago. The problem was with the switchs tab, you had to touch the write button, not anymore (it's automatic).
I found another bug, withe the save to file. I just corrected.
The latest is 1.39 version 36...
Last edited by nicodh on Thu Jul 05, 2012 6:39 pm, edited 1 time in total.
Re: Yet another Android based naze32/multiwii 2.0 configurat
one more thing,
To have PITCH/ROLL PID on 1 line is really a good idea, but on special models I sometime need to have different PID on pitch and roll.
Is it possible to have a option to select PITCH/ROLL PID on 1 or 2 lines.
Thanks a lot ! Your soft is a must have !
To have PITCH/ROLL PID on 1 line is really a good idea, but on special models I sometime need to have different PID on pitch and roll.
Is it possible to have a option to select PITCH/ROLL PID on 1 or 2 lines.
Thanks a lot ! Your soft is a must have !
Re: Yet another Android based naze32/multiwii 2.0 configurat
Hi Bledi, hmmm, yes it could be done, give me some time to think about it and how to deal without changing everything
Re: Yet another Android based naze32/multiwii 2.0 configurat
as Patrick
Oh just I more question ... Is the google map working ? It don't work for me ...
![Cool 8-)](./images/smilies/icon_cool.gif)
![Exclamation :!:](./images/smilies/icon_exclaim.gif)
Oh just I more question ... Is the google map working ? It don't work for me ...
Re: Yet another Android based naze32/multiwii 2.0 configurat
Maybe not, I forgot to look at that.
. Since I don't have a gps connected (even thought I have a new one) I forgot to update.
I take a look.
Yep, it does not work. Forgot to add it in the new protocols.
I will do it, but remember that bluetooth has a limited range (30 meters at top) so gps data is useless.![Smile :-)](./images/smilies/icon_e_smile.gif)
I did it as an excercise. It works if you use a xbee between the bluetooth and the quad.
![Smile :-)](./images/smilies/icon_e_smile.gif)
I take a look.
Yep, it does not work. Forgot to add it in the new protocols.
I will do it, but remember that bluetooth has a limited range (30 meters at top) so gps data is useless.
![Smile :-)](./images/smilies/icon_e_smile.gif)
I did it as an excercise. It works if you use a xbee between the bluetooth and the quad.
Re: Yet another Android based naze32/multiwii 2.0 configurat
do you plan to port to tablet in the future? so it can be more like mwc having everything in one screen
great work
great work