mobiDrone nano arduino OSD for MultiWii with PID config

This forum is dedicated to software development related to MultiWii.
It is not the right place to submit a setup problem.
Software download
thebgrian
Posts: 47
Joined: Sun Mar 27, 2011 4:46 am

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by thebgrian »

I don't think the OSD software has been updated to support fully the new serial protocol. I'm avoiding any configuration changes from mine because of that.
Does anybody know if the OSD is still supported by MichalM_sk? It is been a great OSD and the development was moving fast in a good direction, but lately is been slow here. Hope everything is Ok with MichalM_sk.

Neo360
Posts: 22
Joined: Sun Aug 12, 2012 1:49 pm

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by Neo360 »

Hi to all, anyone can ask me why my home arrow was always wrong?? And see the Home distance, when was at 652m the counter restart to 0m, was normal?

See the video:

http://www.youtube.com/watch?v=7x0MTfyN ... Sw&index=1

thebgrian
Posts: 47
Joined: Sun Mar 27, 2011 4:46 am

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by thebgrian »

Neo360 wrote:Hi to all, anyone can ask me why my home arrow was always wrong?? And see the Home distance, when was at 652m the counter restart to 0m, was normal?

See the video:

http://www.youtube.com/watch?v=7x0MTfyN ... Sw&index=1


Are you using I2C GPS? There is a known issue with arrow direction and the limit of 650 meters to home. If you search in the GPS integration thread you will find more information. It should be fixed in the next 2.2 version of EosBandi I2C GPS software.

User avatar
jevermeister
Posts: 708
Joined: Wed Jul 20, 2011 8:56 am
Contact:

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by jevermeister »

I dont thinl one could expect the dev of the osd to adapt any little change from the mwc trunk asap. the trunk is changing so fast. I think you should give michal some time to adapt the changes after a dev release. You also can not expect it to be flawless. It is a de release agter all...

Neo360
Posts: 22
Joined: Sun Aug 12, 2012 1:49 pm

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by Neo360 »

thebgrian wrote:
Neo360 wrote:Hi to all, anyone can ask me why my home arrow was always wrong?? And see the Home distance, when was at 652m the counter restart to 0m, was normal?

See the video:

http://www.youtube.com/watch?v=7x0MTfyN ... Sw&index=1


Are you using I2C GPS? There is a known issue with arrow direction and the limit of 650 meters to home. If you search in the GPS integration thread you will find more information. It should be fixed in the next 2.2 version of EosBandi I2C GPS software.


Yes I2C GPS.

With new version are ok? Yesterday i try but dont works anyway, need some change in the code?

thebgrian
Posts: 47
Joined: Sun Mar 27, 2011 4:46 am

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by thebgrian »

Neo360 wrote:
Yes I2C GPS.

With new version are ok? Yesterday i try but dont works anyway, need some change in the code?


I found more info in this thread:

viewtopic.php?f=8&t=649&start=1570

I see that EOSBandi has a beta ver 2.2, but not sure if that is fixed there. I would post the question in that thread also.

User avatar
photocanon
Posts: 1
Joined: Fri Jan 11, 2013 12:34 pm
Location: Russia
Contact:

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by photocanon »

Hello everybody, if somebody will be interesting. when i construct this device i have a problem at first start of device.
OSD does not sync with input signal.

Problem was solved by adjust voltage on pin 6 of LM1881M. It needs to be 1.2-1.22 Volts, no more / no less!

Videoroll of adjusting on link http://www.youtube.com/watch?v=z9XqPIcj0Cc

My rebuild schematic
rssi_fix_mobidroneosd_2_1.jpg


this scheme needs a Strongly stabilised VCC or use a voltage reference scheme for 1.2V generating.

MichalM_sk - respect for great project! :)

MichalM_sk
Posts: 89
Joined: Wed Jun 15, 2011 5:04 pm
Location: Slovakia

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by MichalM_sk »

Hi All,

this project had a little pause but I'm here now with a new ideas.

> First, I will release new FW with support for multiwii 2.2.
> Second, this project will be moved to SVN repository.
> Third, osd hardware will be available again

I am also working on new MobiDrone COLOR OSD.

copterrichie
Posts: 2261
Joined: Sat Feb 19, 2011 8:30 pm

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by copterrichie »

Welcome Back. :)

mahowik
Posts: 332
Joined: Sun Apr 10, 2011 6:26 pm

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by mahowik »

Hi Michal,

Does it possible to add indicator for throttle (configurable by define - on/off) or just to show throttle value (0..100%).
In some cases, for FPV it would be very useful.

Thanks in advance.
Alex

nhadrian
Posts: 421
Joined: Tue Oct 25, 2011 9:25 am

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by nhadrian »

Hi Michal,

nice to hear you're back!
We're really looking for your new release... :D
May I ask you to split your code into many tabs (ie. serial comm, char definitions, config, etc) to make your code a bit clearer for us? Maybe somebody would have ideas for development... ;)

And also, a vario indicator would be great (sice we have quite well vario calculation and sent via MSP)

BR
Adrian

nhadrian
Posts: 421
Joined: Tue Oct 25, 2011 9:25 am

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by nhadrian »

Hi Michal,

Just another wish, could you add the option of reading vbat, pmeter and RSSI from MWI instead of sensors via MSP?
Then all of them could be handled via MWI generally...

BR
Adrian

User avatar
jevermeister
Posts: 708
Joined: Wed Jul 20, 2011 8:56 am
Contact:

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by jevermeister »

+1

vbat already is.

Deet
Posts: 129
Joined: Sun Jul 08, 2012 1:54 am

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by Deet »

Any idea when we might see an update to work with v2.2?

mistaheat
Posts: 8
Joined: Thu Jun 28, 2012 3:55 pm
Location: Eggenfelden / South Germany

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by mistaheat »

+1 for 2.2 :)

nhadrian
Posts: 421
Joined: Tue Oct 25, 2011 9:25 am

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by nhadrian »

Hi All,

There is still nothing new from Michal... :(:(:(
I adore his job, maximum respect. But, the MSP is far old in current Mobidrone Code.
And maybe Michal is too busy with other projects or job, etc.

I'm wondering on if anybody could dig in his code and implement the current MSP?
Unfortunatelly I'm spending my spare time for other MWI code develpoment right now.

Any suggestions would wellcome!

BR
Adrian

User avatar
shikra
Posts: 783
Joined: Wed Mar 30, 2011 7:58 pm

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by shikra »

I did do it partly with boxids - and it was a major PITA....
Got it working, but somehow screwed up and decided there was a much easier way ;)

In serial ino...
add
#define MSP_MOBIDRONE 121 // for mobidrone 2.1

create a MSP_MOBIDRONE section same as what MSP_STATUS is in 2.1

in mobidrone, change MSP_status number to 121

Or something like that. Think I had to tweak HORIZON/LEVEL to look same so if HORIZON, then LEVEL...

It works....

I sold mine shortly after to someone who was desperate for one.

copterrichie
Posts: 2261
Joined: Sat Feb 19, 2011 8:30 pm

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by copterrichie »

I think many people have moved on to the Minim Osd. Because of Micheal's coding style has made it very hard for others to follow what has been done. I am focused to because I build an all-in-one Flight Control based around the mobiDrone. Been busy with other project but I need to get back onto this one soon.

nhadrian
Posts: 421
Joined: Tue Oct 25, 2011 9:25 am

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by nhadrian »

copterrichie wrote:I think many people have moved on to the Minim Osd. Because of Micheal's coding style has made it very hard for others to follow what has been done. I am focused to because I build an all-in-one Flight Control based around the mobiDrone. Been busy with other project but I need to get back onto this one soon.


The reason why I prefer Mobidrone is that it doesn't use the MAX7456 OSD chip which has really limited functions! (You can only build any graphic elements from pre-defined caracter table... :( )
With the LM1881 built in the Mobidrone we have unlimited graphical freedom, the only limit is our fantasy (and coding capabilities... :S ).

So I'd like to keep Mobidrone OSD on and have MPS support in it!

BR
Adrian

copterrichie
Posts: 2261
Joined: Sat Feb 19, 2011 8:30 pm

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by copterrichie »

I agree and was one of the first to use it. ;)



I just been avoiding this project hoping Michael would update it.

copterrichie
Posts: 2261
Joined: Sat Feb 19, 2011 8:30 pm

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by copterrichie »

Talk about the power of the LM1881, here is a small demo of one of my unfinished projects. Unfortunately, the MobiDrone hardware would require a modification to use the Arudino TVout Library. I stopped working on it because no I talked to seem to be interested at the time.


Deet
Posts: 129
Joined: Sun Jul 08, 2012 1:54 am

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by Deet »

I also grabbed a MinimOSD because I was sick of waiting for the code to be updated for the mobidrone

But I would really prefer to go back to the mobidrone.

With the Minim OSD it needs to get all its data from the FCB, I really preferred having Vbat and RSSI connected to the OSD (Mobidrone)

So I hope the code can be fixed so I can swap back to mobidrone

copterrichie
Posts: 2261
Joined: Sat Feb 19, 2011 8:30 pm

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by copterrichie »

I think we can do it as a collective team.

timecop
Posts: 1880
Joined: Fri Sep 02, 2011 4:48 pm

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by timecop »

Maybe it would have sucked less if it used a cheaper and more capable MCU.

mahowik
Posts: 332
Joined: Sun Apr 10, 2011 6:26 pm

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by mahowik »

Deet wrote:With the Minim OSD it needs to get all its data from the FCB, I really preferred having Vbat and RSSI connected to the OSD (Mobidrone)

With minim it's possible to catch voltage and rssi directly:
https://code.google.com/p/rush-osd-deve ... dware_Mods

trello
Posts: 19
Joined: Wed Apr 10, 2013 1:04 pm

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by trello »

If anyone wants to build the osd until the boards from michal are back in stock, its possible to build it with this atmega238 board:
http://microcontrollershop.com/product_ ... hmg7uqfp24

You can spare some components if you use this instead of using an atmega alone, and you can flash it comfortably over usb. I managed to put it on a solder board about 6 x 4 cm wide, might still be a bit large to put it on a copter but its enough for testing and development. If someone is interested i can post a complete list of parts.

Thanks again to michal for the nice work.

User avatar
jevermeister
Posts: 708
Joined: Wed Jul 20, 2011 8:56 am
Contact:

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by jevermeister »

Hi,
Finally found some time to fly 2.2 today.

Sadly it really rocks and I cannot go back Td 2.1.

So what is the difference between 2.1 and 2.2 MSP?
Is it really hard to apply hat change to Mobidrone? I will do my part if needed and Michail approves.

Nils

copterrichie
Posts: 2261
Joined: Sat Feb 19, 2011 8:30 pm

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by copterrichie »

The basic functions still work example: artificial Horizon, Voltage etc. , just not the configuration stuff like PID setting and Indicators.

msev
Posts: 186
Joined: Thu Apr 14, 2011 11:49 am

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by msev »

Richie would you mind writing down a list of which stuff works?

User avatar
Crashpilot1000
Posts: 631
Joined: Tue Apr 03, 2012 7:38 pm

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by Crashpilot1000 »

copterrichie wrote:Talk about the power of the LM1881, here is a small demo of one of my unfinished projects. Unfortunately, the MobiDrone hardware would require a modification to use the Arudino TVout Library. I stopped working on it because no I talked to seem to be interested at the time.


Yes, because it absolutely sucks. Nobody needs that at all today. Simply a no brainer.

copterrichie
Posts: 2261
Joined: Sat Feb 19, 2011 8:30 pm

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by copterrichie »

Crashpilot1000 wrote:Yes, because it absolutely sucks. Nobody needs that at all today. Simply a no brainer.


Yea it is a no brainer and is why I moved on to a Raspberry PI, who gives a crap what the next guy have or use right? Why would anyone in their right mind waste time writing software/firmware for an unappreciative group of people? No wonder Michael moved on. :shock:

Deet
Posts: 129
Joined: Sun Jul 08, 2012 1:54 am

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by Deet »

IS there a list somewhere that details what changed in the MSP between v2.1 and v2.2?

timecop
Posts: 1880
Joined: Fri Sep 02, 2011 4:48 pm

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by timecop »

Yes, in the source code.

User avatar
jevermeister
Posts: 708
Joined: Wed Jul 20, 2011 8:56 am
Contact:

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by jevermeister »

Hi,
I now had time to fly a little (damn weather - it is supposed to be summer now).
I noticed, that the OSD does not notice arming and disarming anymore - so the flight time counter is not working anymore.


Nils

User avatar
jevermeister
Posts: 708
Joined: Wed Jul 20, 2011 8:56 am
Contact:

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by jevermeister »

Hi,

the homepage and shop is down, I think the mobidrone Projekt is abandoned :-(.

Is anyone interested in reverse engineering the code?
Or is it possible to use another osd software like minimosd on the mobidrone hardware?


Nils

copterrichie
Posts: 2261
Joined: Sat Feb 19, 2011 8:30 pm

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by copterrichie »

Interesting and just as expected. It is possible to do both, run other firmware like the DIY OSD but that will not work with MWC. I had started rewriting Mobidrone but give up because of the negativity. Not going to invest my time, the features I need works as is with MWC 2.2.

User avatar
shikra
Posts: 783
Joined: Wed Mar 30, 2011 7:58 pm

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by shikra »

There is a quick way to get it functioning without too much effort. ...
it will give you most features working OK with 2.2

viewtopic.php?f=8&t=1498&start=260#p34329

Sorry I don't have it any more to help, but can confirm it worked pretty good from what I recall.

User avatar
jevermeister
Posts: 708
Joined: Wed Jul 20, 2011 8:56 am
Contact:

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by jevermeister »

Hi,
I just found out how to get the checkboxes working again.
it is a bad wokraround, but it will do until the msp changes again. The target is the same but on mobidrone side and setup specific :-(

but i think your solutions is better, I only have to change multiwii code.

thank you!

User avatar
jevermeister
Posts: 708
Joined: Wed Jul 20, 2011 8:56 am
Contact:

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by jevermeister »

Hi,
shikra, unfortuneally your solutions somehow does not work for me.

The arm box signal is not recognized in OSD.

But If I activate headfree, the OSD is thinking the copter is armed.

weird...

Nils

User avatar
jevermeister
Posts: 708
Joined: Wed Jul 20, 2011 8:56 am
Contact:

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by jevermeister »

Hi,
got it sorted out.

You have to do as shikra said but edit the msp_mobidrone section as follows to send the lshifts corresponding to the old 2.1 protocol.

took me some tries to realize that.

Code: Select all

case MSP_MOBIDRONE:
     headSerialReply(10);
     serialize16(cycleTime);
     serialize16(i2c_errors_count);
     serialize16(ACC|BARO<<1|MAG<<2|GPS<<3|SONAR<<4);
     serialize32(f.ANGLE_MODE<<0|f.BARO_MODE<<1|f.MAG_MODE<<2|f.ARMED<<5|
                 rcOptions[3]<<3 | rcOptions[4]<<4 |
                 f.GPS_HOME_MODE<<6|f.GPS_HOLD_MODE<<7|f.HEADFREE_MODE<<9|
                 f.PASSTHRU_MODE<<8|rcOptions[BOXBEEPERON]<<10|rcOptions[BOXLEDMAX]<<11|rcOptions[12]<<12|rcOptions[BOXHEADADJ]<<13);
     break;


Nils

User avatar
shikra
Posts: 783
Joined: Wed Mar 30, 2011 7:58 pm

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by shikra »

Ah sorry Nils - forgot that bit! 2.1 order + the 2.2 flags. Memory fading....
I do recall putting an extra bit in to make horizon look same as level in the msp_mobidrone bit too.

At least you have a working one! That great. Might be worth posting source or link to full list of points to change.

User avatar
jevermeister
Posts: 708
Joined: Wed Jul 20, 2011 8:56 am
Contact:

AW: mobiDrone nano arduino OSD for MultiWii with PID config

Post by jevermeister »

No worries mate. I figured it out eventually. And I learned a bit about MSP this way ;-).

Nils

Deet
Posts: 129
Joined: Sun Jul 08, 2012 1:54 am

Re: AW: mobiDrone nano arduino OSD for MultiWii with PID con

Post by Deet »

jevermeister wrote:No worries mate. I figured it out eventually. And I learned a bit about MSP this way ;-).

Nils


Any chance you would like to share the sketch file, or the changes at least?

User avatar
jevermeister
Posts: 708
Joined: Wed Jul 20, 2011 8:56 am
Contact:

AW: mobiDrone nano arduino OSD for MultiWii with PID config

Post by jevermeister »

Can do.
But i shared rhe changes three posts before ;-)

mamreza
Posts: 1
Joined: Mon Jul 15, 2013 3:32 pm

Modify Code for showing a graph

Post by mamreza »

Hi,
I have downloaded project's codes, I need it for my project but I have problems with "interrupt routine Hsync" part of code. I couldn't understand it.
In my project I want to modify codes to show a dynamic graph of an analog signal. I would be grateful if you could help me.
thank you in advance

copterrichie
Posts: 2261
Joined: Sat Feb 19, 2011 8:30 pm

Re: Modify Code for showing a graph

Post by copterrichie »

mamreza wrote:Hi,
I have downloaded project's codes, I need it for my project but I have problems with "interrupt routine Hsync" part of code. I couldn't understand it.
In my project I want to modify codes to show a dynamic graph of an analog signal. I would be grateful if you could help me.
thank you in advance


You would be better served by using the LM1881 version of the DIY OSD from which mobiDrone originated from. Plus Dennis is a very Friendly guy and will help if possible.

http://www.rcgroups.com/forums/showthread.php?t=1473207

Post Reply