Page 1 of 2

Yet another Android based naze32/multiwii 2.0 configurator

Posted: Mon Apr 09, 2012 5:08 pm
by nicodh
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:
screenshot_2012-04-07_1750.png
screenshot_2012-04-07_1750_1.png

screenshot_2012-04-07_1750_2.png
screenshot_2012-04-07_1751.png

screenshot_2012-04-10_1732.png
screenshot_2012-04-12_0942.png


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!

Re: Yet another Android based naze32/multiwii 2.0 configurat

Posted: Mon Apr 09, 2012 6:27 pm
by nicodh
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!

Re: Yet another Android based naze32/multiwii 2.0 configurat

Posted: Mon Apr 09, 2012 11:37 pm
by icedfusion
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.

Re: Yet another Android based naze32/multiwii 2.0 configurat

Posted: Tue Apr 10, 2012 4:00 am
by timecop
You can use something pre-configured to 115200.

Re: Yet another Android based naze32/multiwii 2.0 configurat

Posted: Tue Apr 10, 2012 6:34 am
by nicodh
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.

Re: Yet another Android based naze32/multiwii 2.0 configurat

Posted: Sun May 06, 2012 8:50 am
by nicodh
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.

Re: Yet another Android based naze32/multiwii 2.0 configurat

Posted: Tue May 08, 2012 6:31 pm
by alexrj
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 :)

all the best
Al.

Re: Yet another Android based naze32/multiwii 2.0 configurat

Posted: Tue May 08, 2012 6:48 pm
by alexrj
if I press disconnect before quitting the app it opens and closes fine everytime :) A

Re: Yet another Android based naze32/multiwii 2.0 configurat

Posted: Mon May 14, 2012 8:35 pm
by nicodh
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

Posted: Thu May 24, 2012 3:32 pm
by nicodh
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.

Re: Yet another Android based naze32/multiwii 2.0 configurat

Posted: Thu May 24, 2012 10:22 pm
by mahowik
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

Re: Yet another Android based naze32/multiwii 2.0 configurat

Posted: Fri May 25, 2012 2:31 pm
by sismeiro
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?

IMG-20120524-00007-s.jpg


Regards,
Luis Sismeiro

Re: Yet another Android based naze32/multiwii 2.0 configurat

Posted: Sun May 27, 2012 12:05 pm
by nicodh
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

Posted: Sun May 27, 2012 12:07 pm
by nicodh
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

Posted: Tue May 29, 2012 8:37 am
by nicodh
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. :-)

Re: Yet another Android based naze32/multiwii 2.0 configurat

Posted: Wed May 30, 2012 11:33 am
by Fried_Onion
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

Re: Yet another Android based naze32/multiwii 2.0 configurat

Posted: Wed May 30, 2012 11:43 am
by Tommie
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

Posted: Wed May 30, 2012 3:25 pm
by ta1dr
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

Posted: Fri Jun 01, 2012 2:02 pm
by adam
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"

Re: Yet another Android based naze32/multiwii 2.0 configurat

Posted: Fri Jun 01, 2012 2:27 pm
by fiendie
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 ;)

Re: Yet another Android based naze32/multiwii 2.0 configurat

Posted: Fri Jun 01, 2012 3:07 pm
by adam
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

Posted: Wed Jun 06, 2012 1:39 pm
by nicodh
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.!

Re: Yet another Android based naze32/multiwii 2.0 configurat

Posted: Wed Jun 06, 2012 1:44 pm
by nicodh
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

Posted: Thu Jun 07, 2012 10:39 am
by Tommie
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 :-)

Re: Yet another Android based naze32/multiwii 2.0 configurat

Posted: Thu Jun 07, 2012 12:00 pm
by nicodh
Will update as soon as possible.
Thanks.

Re: Yet another Android based naze32/multiwii 2.0 configurat

Posted: Mon Jun 18, 2012 10:22 am
by nicodh
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

Posted: Mon Jun 18, 2012 10:27 am
by sandmen
Do this version work with the 0606-dev version?
Thanks Peter

Re: Yet another Android based naze32/multiwii 2.0 configurat

Posted: Mon Jun 18, 2012 10:39 am
by nicodh
it should. If not drop me an email with the error.

Re: Yet another Android based naze32/multiwii 2.0 configurat

Posted: Mon Jun 18, 2012 11:09 am
by sandmen
Thanks, I will try and give you a feedback.

Re: Yet another Android based naze32/multiwii 2.0 configurat

Posted: Mon Jun 18, 2012 7:31 pm
by sandmen
works.
Thanks

Re: Yet another Android based naze32/multiwii 2.0 configurat

Posted: Mon Jun 18, 2012 8:04 pm
by nicodh
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

Posted: Mon Jun 18, 2012 9:17 pm
by Tifani
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

Re: Yet another Android based naze32/multiwii 2.0 configurat

Posted: Tue Jun 19, 2012 4:49 am
by nicodh
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.

Re: Yet another Android based naze32/multiwii 2.0 configurat

Posted: Tue Jun 19, 2012 1:09 pm
by Tifani
Hi !
Thanks a lot.
Yes it is v1.37 30.

Re: Yet another Android based naze32/multiwii 2.0 configurat

Posted: Tue Jun 19, 2012 6:36 pm
by nicodh
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

Posted: Wed Jun 20, 2012 9:55 am
by nicodh
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.

Re: Yet another Android based naze32/multiwii 2.0 configurat

Posted: Wed Jun 20, 2012 1:04 pm
by Tifani
Hi !
Thanks !!!
Downloaded. Will test when comeback from work.
Regards
Tom

Re: Yet another Android based naze32/multiwii 2.0 configurat

Posted: Wed Jun 20, 2012 1:56 pm
by nicodh
in fact code 32 I think, i made a mistake on 31. :-)

Re: Yet another Android based naze32/multiwii 2.0 configurat

Posted: Thu Jun 21, 2012 3:39 am
by Tifani
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

Re: Yet another Android based naze32/multiwii 2.0 configurat

Posted: Wed Jul 04, 2012 10:19 pm
by nicodh
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

Re: Yet another Android based naze32/multiwii 2.0 configurat

Posted: Thu Jul 05, 2012 7:21 am
by UndCon
This is nice - I will try it when I get home from work.

Re: Yet another Android based naze32/multiwii 2.0 configurat

Posted: Thu Jul 05, 2012 2:38 pm
by nicodh
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)

Re: Yet another Android based naze32/multiwii 2.0 configurat

Posted: Thu Jul 05, 2012 3:19 pm
by PatrikE
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.

Re: Yet another Android based naze32/multiwii 2.0 configurat

Posted: Thu Jul 05, 2012 4:42 pm
by nicodh
Ok, i will do it. Is better to only update the necessary. Tomorrow will be done. ;-)

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...

Re: Yet another Android based naze32/multiwii 2.0 configurat

Posted: Thu Jul 05, 2012 6:32 pm
by PatrikE
8-) :!:

Re: Yet another Android based naze32/multiwii 2.0 configurat

Posted: Thu Jul 05, 2012 6:43 pm
by Bledi
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 !

Re: Yet another Android based naze32/multiwii 2.0 configurat

Posted: Thu Jul 05, 2012 6:46 pm
by nicodh
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

Posted: Thu Jul 05, 2012 6:51 pm
by Bledi
as Patrick
8-) :!:

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

Posted: Thu Jul 05, 2012 6:55 pm
by nicodh
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. :-)
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

Posted: Fri Jul 06, 2012 8:13 pm
by jy0933
do you plan to port to tablet in the future? so it can be more like mwc having everything in one screen

great work