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
Deet
Posts: 129
Joined: Sun Jul 08, 2012 1:54 am

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by Deet »

Thanks shikra

I have since made a lead to get +ve and gnd from the Rx and was much better.

I am about to do a complete re-build of my tricopter, new looms etc and will re-do the gnd wiring entirely

I do in effect have a gnd to the camera as i run a coax video cable from the OSD board to the camera loom, but the gnd wiring is very thin.

I was an A/V tech years ago and realise the issues here, my next step was to try shielding the entire OSD board, but looks like I may not need to bother.

I am thinking that as part of this rebuild I will actually try a gnd directly off the lipo plug

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 »

That's great - glad seeing an improvement. Hooking directly into a point between cam and tx is best if you can. its really amazing what a difference it makes on mine - I tried a few alternative ground points and under load it shakes around a fair bit on some. Unusable. I suspect its because of quit large current draw we see in multis. Again - not OSD issue

It is great when gnd connects direct to the cam cable. Very stable.

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 »

@Michael


Had a few flights on OSD last night and the OSD worked great except I had some false triggerring of menus in flight. Maybe I was carrying out some sharp yaws

Maybe disable access into menus when armed?

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

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by nhadrian »

shikra wrote:@Michael


Had a few flights on OSD last night and the OSD worked great except I had some false triggerring of menus in flight. Maybe I was carrying out some sharp yaws

Maybe disable access into menus when armed?



This is already solved in the Mobidrone code. But, what release do you use? Since r1074 there is a change in serial code, for me for example, the flight time (armed time counter) doesn't works. Michael, could you please look after the serial changes and write it into another release? Thanks in advance!

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 »

Thanks I downloaded latest maybe 2 hours before 7.5 released....
I'll upload latest and try out

I'm using r1058 - Alex first cut Horizon mode.

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

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by nhadrian »

shikra wrote:Thanks I downloaded latest maybe 2 hours before 7.5 released....
I'll upload latest and try out

I'm using r1058 - Alex first cut Horizon mode.


Since Horizon mode, serial has been changed. Only the available BOX features are sent.
So for that, in OSD code you should change this:

Code: Select all

//Mode config 
#define BOXACC       0
#define BOXBARO      1
#define BOXMAG       2
#define BOXCAMSTAB   3
#define BOXCAMTRIG   4
#define BOXARM       5
#define BOXGPSHOME   6
#define BOXGPSHOLD   7
#define BOXPASSTHRU  8
#define BOXHEADFREE  9


to this:

Code: Select all

//Mode config 
#define BOXACC       0
#define BOXHORIZON   1
#define BOXBARO      2
#define BOXMAG       3
//#define BOXCAMSTAB   4
//#define BOXCAMTRIG   5
#define BOXARM       4
#define BOXGPSHOME   5
#define BOXGPSHOLD   6
#define BOXPASSTHRU  8
#define BOXHEADFREE  7


But this is not the final solution, only a fast implement of changes. The serial part in the OSD code should been revised according to this change.

BR
Adrian

Wil Chris
Posts: 16
Joined: Fri May 11, 2012 2:49 pm

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by Wil Chris »

If you manage make a hud like the one in th video link below thas an achivement. If it's possible at all.
http://m.youtube.com/watch?v=rattf0sPdPc

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,
new PRE 7.8 version available on my codepage.

-There is improved algorithm for A.horizont angle generation.
-There is main layout redesigned (new charset, combination of the small, large font)

carlonb
Posts: 210
Joined: Sun Apr 03, 2011 6:29 pm

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by carlonb »

Tried pre 7.8,
Good layout and big char are more visible, that's welldone.
But now I can't start Fly time by enabling motors as usual, How can I do ?
May be the new dev r1143 of MWii ? I'm trying with this last dev release.

One more question, It's possible to remove Batt 2 Icon if I disable Bat2 from config ?

Thanks Michal for this awesome job.
Carlo
Last edited by carlonb on Mon Oct 01, 2012 9:05 pm, edited 1 time in total.

carlonb
Posts: 210
Joined: Sun Apr 03, 2011 6:29 pm

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by carlonb »

Hi Michal,
I mod some char and icon matrix, please take a look if you agree.
If you consider that good, please embed in your official code.

Same mod for both matrix blocks

Code: Select all

  // J - pos. 20 start @160
  0b00111110,  // NEB modif. this matrix line, was   "0b01111110"
  0b00000010,
  0b00000010,
  0b00000010,
  0b01000010,
  0b01100110,
  0b00111100,  // NEB modif. this matrix line, was   "0b01111100"


Code: Select all

  // N - pos. 24 start @192
  0b01000010,
  0b01100010,  // NEB modif. this matrix line, was   "0b01100110"
  0b01010010,
  0b01001010,
  0b01001010,
  0b01000110,
  0b01000010,


Code: Select all

  //CURRENT - pos. 65 start @520
  0b00001000,
  0b00110000,
  0b01110000,  // NEB modif. this matrix line, was   "0b01110100"
  0b11111110,
  0b00111100,  // NEB modif. this matrix line, was   "0b01011100"
  0b00011000,
  0b00100000,


Code: Select all

  //HOME - pos. 67 start @536
  0b00010000,
  0b00111000,
  0b01111100,
  0b11111110,
  0b11000110,  // NEB modif. this matrix line, was   "0b11100110"
  0b11000110,  // NEB modif. this matrix line, was   "0b11100110"
  0b11111110,


And I have a problem at startup with altitude not always start with zero mt, I've added a delay in order to have Zero mt.

Code: Select all

                     //if(firstAlt == 0){
                     if(firstAlt <= 5){  //NEB delay loop 5 times to avoid fixup 0mt ground errors at startup (it's a delay from MWii start)
                        storedAlt = alt;   
                        //firstAlt = 1;
                        firstAlt ++; //NEB
                     }       


What do you think ?
Thanks, Carlo

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 »

carlonb wrote:Tried pre 7.8,
Good layout and big char are more visible, that's welldone.
But now I can't start Fly time by enabling motors as usual, How can I do ?
May be the new dev r1143 of MWii ? I'm trying with this last dev release.

One more question, It's possible to remove Batt 2 Icon if I disable Bat2 from config ?

Thanks Michal for this awesome job.
Carlo


Hi, yes this is problem with dev version of multiwii.
I will do the changes in serial protocol.

carlonb wrote:Hi Michal,
I mod some char and icon matrix, please take a look if you agree.
If you consider that good, please embed in your official code.

Same mod for both matrix blocks

Code: Select all

  // J - pos. 20 start @160
  0b00111110,  // NEB modif. this matrix line, was   "0b01111110"
  0b00000010,
  0b00000010,
  0b00000010,
  0b01000010,
  0b01100110,
  0b00111100,  // NEB modif. this matrix line, was   "0b01111100"


Code: Select all

  // N - pos. 24 start @192
  0b01000010,
  0b01100010,  // NEB modif. this matrix line, was   "0b01100110"
  0b01010010,
  0b01001010,
  0b01001010,
  0b01000110,
  0b01000010,


Code: Select all

  //CURRENT - pos. 65 start @520
  0b00001000,
  0b00110000,
  0b01110000,  // NEB modif. this matrix line, was   "0b01110100"
  0b11111110,
  0b00111100,  // NEB modif. this matrix line, was   "0b01011100"
  0b00011000,
  0b00100000,


Code: Select all

  //HOME - pos. 67 start @536
  0b00010000,
  0b00111000,
  0b01111100,
  0b11111110,
  0b11000110,  // NEB modif. this matrix line, was   "0b11100110"
  0b11000110,  // NEB modif. this matrix line, was   "0b11100110"
  0b11111110,


And I have a problem at startup with altitude not always start with zero mt, I've added a delay in order to have Zero mt.

Code: Select all

                     //if(firstAlt == 0){
                     if(firstAlt <= 5){  //NEB delay loop 5 times to avoid fixup 0mt ground errors at startup (it's a delay from MWii start)
                        storedAlt = alt;   
                        //firstAlt = 1;
                        firstAlt ++; //NEB
                     }       


What do you think ?
Thanks, Carlo


Ok, thanks.

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 »

Video presentation of PRE7.8Beta2 version captured by nhadrian.
http://www.youtube.com/watch?v=0owYpVMpjLs

User avatar
dramida
Posts: 473
Joined: Mon Feb 28, 2011 12:58 pm
Location: Bucharest
Contact:

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by dramida »

I trully like it! i would try to build one for myself in a 50x50mm square PCB, where can i find some schematics?

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 »

so cool cool cool.

Can't wait to try it out.

If ever get chance, it would be great to have an option to display debug values :)

carlonb
Posts: 210
Joined: Sun Apr 03, 2011 6:29 pm

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by carlonb »

Hi Michal,
I saw the last vers. and is very cool. I will try it soon.
Hope I'm not boring you, but I like to have in config file the chance to define all input/output arduino pins (vbat main, Vbat2, rssi, current sensor, dimming....) in order to make easy to chose the best H/W configuration for everyone want built/experimenting a personal PCB.
Thanks, Carlo

hatuul
Posts: 3
Joined: Mon Oct 08, 2012 12:56 am

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by hatuul »

Hi why the font large numbersIn mobiDroneOSD_v2.3_PRE_RELEASE_7.8 FINAL , so strange? :?
http://www.youtube.com/watch?v=sTusBGUo ... r_embedded

Corrected.

Code: Select all

PROGMEM prog_uchar bigNumbers[] = {                          // 16 x 16 bitmap.

//0
0b00000000,0b00000000,
0b00000000,0b00000000, 
0b00011111,0b11111000,
0b00111111,0b11111100,
0b00111100,0b00111100,
0b00111100,0b00111100,
0b00111100,0b00111100,
0b00111100,0b00111100,
0b00111100,0b00111100,
0b00111100,0b00111100,
0b00111100,0b00111100,
0b00111100,0b00111100,
0b00111100,0b00111100,
0b00111111,0b11111100,
0b00001111,0b11111000,
0b00000000,0b00000000,

//1
0b00000000,0b00000000,
0b00000000,0b00000000, 
0b00001111,0b10000000,
0b00011111,0b11000000,
0b00111111,0b11000000,
0b01111111,0b11000000,
0b00000111,0b11000000,
0b00000111,0b11000000,
0b00000111,0b11000000,
0b00000111,0b11000000,
0b00000111,0b11000000,
0b00000111,0b11000000,
0b00000111,0b11000000,
0b00000111,0b11000000,
0b00011111,0b11110000,
0b00000000,0b00000000,

//2
0b00000000,0b00000000,
0b00000000,0b00000000, 
0b11111111,0b11110000,
0b11111111,0b11111000,
0b00000000,0b01111000,
0b00000000,0b01111000,
0b00000000,0b01111000,
0b01111111,0b11111000,
0b11111111,0b11110000,
0b11110000,0b00000000,
0b11110000,0b00000000,
0b11110000,0b00000000,
0b11110000,0b00000000,
0b11111111,0b11111000,
0b01111111,0b11110000,
0b00000000,0b00000000,

//3
0b00000000,0b00000000,
0b00000000,0b00000000,
0b01111111,0b11100000,
0b01111111,0b11110000,
0b00000000,0b11110000,
0b00000000,0b11110000,
0b00000000,0b11110000,
0b00000111,0b11110000,
0b00000111,0b11110000,
0b00000000,0b11110000,
0b00000000,0b11110000,
0b00000000,0b11110000,
0b00000000,0b11110000,
0b01111111,0b11110000,
0b01111111,0b11100000,
0b00000000,0b00000000,

//4
0b00000000,0b00000000,
0b00000000,0b00000000,
0b00111000,0b11100000,
0b01111000,0b11110000,
0b01111000,0b11110000,
0b01111000,0b11110000,
0b01111000,0b11110000,
0b01111111,0b11110000,
0b00111111,0b11110000,
0b00000000,0b11110000,
0b00000000,0b11110000,
0b00000000,0b11110000,
0b00000000,0b11110000,
0b00000000,0b11110000,
0b00000000,0b01100000,
0b00000000,0b00000000,

//5
0b00000000,0b00000000,
0b00000000,0b00000000,
0b01111111,0b11111000,
0b11111111,0b11111000,
0b11110000,0b00000000,
0b11110000,0b00000000,
0b11110000,0b00000000,
0b11111111,0b11110000,
0b01111111,0b11111000,
0b00000000,0b01111000,
0b00000000,0b01111000,
0b00000000,0b01111000,
0b11000000,0b01111000,
0b11111111,0b11111000,
0b01111111,0b11110000,
0b00000000,0b00000000,

//6
0b00000000,0b00000000,
0b00000000,0b00000000,
0b00011111,0b11110000,
0b00111111,0b11111000,
0b00111100,0b00000000,
0b00111100,0b00000000,
0b00111100,0b00000000,
0b00111111,0b11110000,
0b00111111,0b11111000,
0b00111100,0b01111000,
0b00111100,0b01111000,
0b00111100,0b01111000,
0b00111100,0b01111000,
0b00111111,0b11111000,
0b00011111,0b11110000,
0b00000000,0b00000000,

//7
0b00000000,0b00000000,
0b00000000,0b00000000,
0b01111111,0b11110000,
0b01111111,0b11110000,
0b00000000,0b11110000,
0b00000000,0b11110000,
0b00000000,0b11110000,
0b00000001,0b11100000,
0b00000011,0b11000000,
0b00000111,0b10000000,
0b00001111,0b00000000,
0b00001111,0b00000000,
0b00001111,0b00000000,
0b00001111,0b00000000,
0b00001111,0b00000000,
0b00000000,0b00000000,

// 8 start @256
0b00000000,0b00000000,
0b00000000,0b00000000, 
0b00111111,0b11100000,
0b01111111,0b11110000,
0b01110000,0b01110000,
0b01110000,0b01110000,
0b01110000,0b01110000,
0b01111111,0b11110000,
0b01111111,0b11110000,
0b01110000,0b01110000,
0b01110000,0b01110000,
0b01110000,0b01110000,
0b01110000,0b01110000,
0b01111111,0b11110000,
0b00111111,0b11100000,
0b00000000,0b00000000,

// 9 start @288
0b00000000,0b00000000,
0b00000000,0b00000000,
0b00111111,0b11100000,
0b01111111,0b11110000,
0b01111000,0b11110000,
0b01111000,0b11110000,
0b01111000,0b11110000,
0b01111111,0b11110000,
0b00111111,0b11110000,
0b00000000,0b11110000,
0b00000000,0b11110000,
0b00000000,0b11110000,
0b00000000,0b11110000,
0b01111111,0b11110000,
0b00111111,0b11100000,
0b00000000,0b00000000,
};

http://www.youtube.com/watch?v=LI44GqwX ... r_embedded ;)

It remains to understand what that line jumps on the radar? :?
http://www.youtube.com/watch?v=z1uJk3FY ... r_embedded

P.S.I'm sorry, I'm writing a translator ....

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 »

hatuul wrote:Hi why the font large numbersIn mobiDroneOSD_v2.3_PRE_RELEASE_7.8 FINAL , so strange? :?


Hi,

I like this font :) but I can implement your font also and it will selectable by #define.

hatuul wrote:It remains to understand what that line jumps on the radar? :?
http://www.youtube.com/watch?v=z1uJk3FY ... r_embedded


Hi, there are some noise (sinchronisation) problems with your hw configuration.

I am planning implement this features to the next release:
- modification of serial protocol (for new multiwii dev versions)
- optional debug values

BR
Michael

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

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by mahowik »

MichalM_sk wrote:Hi, there are some noise (sinchronisation) problems with your hw configuration.

I have reproduced this issue (one to one) on my hardware too...

Also I have found out that is not possible to turn off bat2 by config... //#define BAT2

thx-
Alex

hatuul
Posts: 3
Joined: Mon Oct 08, 2012 12:56 am

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by hatuul »

I'm sorry I did not ask for changes in firmware.

Calculated the parameters for a current sensor AS756-50A.

Code: Select all

currentValue = (currentValue - 418) * 0.121; //  sensor ACS756 

penpen77
Posts: 73
Joined: Tue Jan 24, 2012 10:45 pm

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by penpen77 »

is it normal that BAT1 and BAT2 only display decimal part ?

(all is well tuned, zero-ed everywhere is just that i've powered up only for screen capture)
Attachments
vlcsnap-2012-10-10-00h14m19s22.png

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 »

dramida wrote:I trully like it! i would try to build one for myself in a 50x50mm square PCB, where can i find some schematics?


Hi, on the first page is link to the schematic but there are some small hardware modifications at this time.

mahowik wrote:
MichalM_sk wrote:Hi, there are some noise (sinchronisation) problems with your hw configuration.

1.I have reproduced this issue (one to one) on my hardware too...

2.Also I have found out that is not possible to turn off bat2 by config... //#define BAT2

thx-
Alex

Hi,

1. Ok I will check this problem.

2. My fault, I forgot to insert BAT2 code to define block


hatuul wrote:Calculated the parameters for a current sensor AS756-50A.

Code: Select all

currentValue = (currentValue - 418) * 0.121; //  sensor ACS756 


Thanks, it will be added into the next release.

penpen77 wrote:is it normal that BAT1 and BAT2 only display decimal part ?

(all is well tuned, zero-ed everywhere is just that i've powered up only for screen capture)


To save space on the screen is integer part represent as a big number and decimal part as small number.

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 »

Hi - I just tried the latest download and noticed a few issues.
It may be related to me using r1177 dev ?

OSD arrow pointing wrong way !! HArd if inot experienced!
The fly time not working
Speed seemed almost zero. I wonde rif maybe its running tenth - 10 kmh show up as about 1

Also one other comment - purely subjective for me.
The small characters for volts look fine on video but I struggled to view them on the screen. Prefer larger volts numbers than the bat icon.

Here is the vid...
http://youtu.be/Aadzonk8PCI
Last edited by shikra on Sun Oct 21, 2012 5:10 pm, edited 1 time in total.

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,

for me everything works fine with r1177.
I'm using the 7.8 Finel OSD code.

http://www.youtube.com/watch?v=NAgH2xdt9AU

Maybe you doublecheck things...

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 »

Thanks for feedback. Will check and re-upload.

Have also amended link so can now view.
http://youtu.be/Aadzonk8PCI

Cool night flight BTW..... Now its dark I''ll be doing some soon.

carlonb
Posts: 210
Joined: Sun Apr 03, 2011 6:29 pm

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by carlonb »

shikra wrote:Hi - I just tried the latest download and noticed a few issues.
It may be related to me using r1177 dev ?

OSD arrow pointing wrong way !! HArd if inot experienced!
The fly time not working
Speed seemed almost zero. I wonde rif maybe its running tenth - 10 kmh show up as about 1
...

Hi, I do not think is related to dev of Mwii code.
Are you using an I2C GPS with I2C_GPS_NAV firmware ?
If yes, the speed is not correctly calculated.
Try to mod the I2C_GPS_NAV.ino file:

Code: Select all

//************* GPGSA FRAME parsing
                   case GPRMC_FRAME:
                     switch(param)
                     {
                       //case 7: i2c_dataset.ground_speed = (atof(string)*0.5144444)*10;      //convert to m/s*100
                       case 7: i2c_dataset.ground_speed = (atof(string)/0.5144444)*1000*100/3600;      //convert to cm/s NEB
                               break;
                  case 8: i2c_dataset.ground_course = (atof(string)*10);      //Convert to degrees *10 (.1 precision)
                        break;
                     }

Please change the case 7 code line as shown and you will have the right speed in Km/h. I already noticed this but don't remeber where.
About the wrong home-arrow indication at the moment I have not news.
Bye, Carlo

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 »

Thanks Carlo - yes - I2C I will try that
First I have to fix the other issue.

I have just reloaded r1177 onto the copter + latest r2.3 7.8 final onto OSD, but still same.
I think its not recognising its armed because if give full aileron it goes into config screen. I don't use arm switch if that makes a difference.

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 »

Just to add - I reloaded 2.1 with the GPS mods and it looked good. Arming is recognised, fly counter works good.
Loaded up r1177 and its not seeing arming from sticks for me. See if I can try a few things in the week.

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

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by nhadrian »

I'm not using switch for arming too.

carlonb
Posts: 210
Joined: Sun Apr 03, 2011 6:29 pm

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by carlonb »

shikra wrote:Just to add - I reloaded 2.1 with the GPS mods and it looked good. Arming is recognised, fly counter works good.
Loaded up r1177 and its not seeing arming from sticks for me. See if I can try a few things in the week.

In MWii last dev releases something in serial commands is changed and arming is not recognized by OSD.
Bye, Carlo

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 »

Thanks Carlo- just had a look at changes in MSP status.

recent dev releases aren't going to work with OSD like mobidrone or Rushduino ( I just noticed similar post there too...)

order of flags status bits have changed and the status request is 1 byte longer. I might tweak mine to work, but can't expect Michael to keep it updated because changing so much in dev releases.

penpen77
Posts: 73
Joined: Tue Jan 24, 2012 10:45 pm

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by penpen77 »

is it to possible to impl new layout, more "readeable" ? or a simple way in code to move different element ? i've tried to change position, but it's very difficult to do it easily since all elements are "chained".

In fpv, even with dimming, i've a lot of difficulties to read upper screen, usually overlayed with sky/cloud part of the view (white on white, even with dimming black background is pain in the eye....) and many crucial infos are on top (voltage, current, rssi)

I think general fpv view have more "dark" in the button and "light" on the top, so, things could be organized like this:
- on the top in small character, less carefull in fly infos like: time since start (and maybe flight time) , altitude, speed, number of sat, compass, mode (you aren't watching constantly theses infos, not )
- on the button in large font, more readeable and important infos: bat1 and bat2 voltage, current consumption (instant and summary), home direction/distance, rssi

what do you think ?

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

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by copterrichie »

Critical data should be displayed at the bottom of the screen or enhance the shadowing, this I agree with. I heard there is a way to add shadowing to the text however, I don't know how this is done.

penpen77
Posts: 73
Joined: Tue Jan 24, 2012 10:45 pm

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by penpen77 »

shadow is done with dimming

but a little thing which can be used to move quickly in this, without taking to much time could be just to refoactoring a little bit the code.....

I never really understand the SPI/SPDR/VideoBuffer in arduino, so don't see my words as a critical (i'm the one who should be blame to not taking the time to study this)
but the "giant bloody switch/loop case condition of death with pixel offset killing preprocessed killing define of the killing death of each visual element" is a little bit painfull for my little brain.... ^_^

(BTW, your code is a lot better and understandable than DIY_OSD which use the same SPI/SPDR/VideoSignal aquisition and approximatly the same hardware)

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 would just prefer the entire voltage readout is the same size, the decimal number sometimes is more important than the integer

I run 4s packs so in a flight the voltage goes from a max of 16.8, and I want to land with voltage over 15.2

Seeing the decimal number is more

carlonb
Posts: 210
Joined: Sun Apr 03, 2011 6:29 pm

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by carlonb »

+1
The first decimal of voltage is very important. 10.1V is very different from 10.9V, so I prefer to see also the first decimal of voltage in the same big size.

jpeti29
Posts: 22
Joined: Wed Mar 07, 2012 9:19 am
Location: Hungary

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by jpeti29 »

+1

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 »

+1 -

sorry MichalM_sk - I know you put lots of work. Looks fine on the vid, but its just too small to see in the goggles.

I kinda liked the previous fonts a little more - except for the numbers center left and right that were broken up by gaps.
Functionally its great with 2.1. Seem to be working well - thanks..!

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 wonder how difficult or if it is even possible to add color to this OSD?

http://littlebirdelectronics.com/blogs/ ... attiny2313

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,

I am planning implement changes to serial protocol (multiwii dev versions) in next release.

Can some FPV guru :) mark on the picture, what changes in components are necessary to achieve better readability?

copterrichie wrote:I wonder how difficult or if it is even possible to add color to this OSD?

http://littlebirdelectronics.com/blogs/ ... attiny2313


Hi,
generate RGB signals for SCART or VGA isnt the same as color video overlay . It is a very difficult process.

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

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by msev »

To me the layout is cool already. Those wishing for better readablity should use more dimming, so adjust the resistor or potentiometer value so they get the required dimming.
Most important info's are speed, LOS, altitude, home arrow.. Later comes every other info.

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

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by copterrichie »

MichalM_sk wrote:Hi all,

I am planning implement changes to serial protocol (multiwii dev versions) in next release.

Can some FPV guru :) mark on the picture, what changes in components are necessary to achieve better readability?

copterrichie wrote:I wonder how difficult or if it is even possible to add color to this OSD?

http://littlebirdelectronics.com/blogs/ ... attiny2313


Hi,
generate RGB signals for SCART or VGA isnt the same as color video overlay . It is a very difficult process.


Thank you MichalM, never harm to ask. ;)

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 »

Michael - great job so far!

Not get everyone to agree whats important on an OSD, but here is my input - and *only* on a multicopter...

These give me maximum flight time ...
#1 - battery volts
#2 - flight time

Not needed yet, but probably one day when it goes wrong....

Direction home
Altitude
Distance home

I think you've already got all the right stuff on the screen. And with ability to comment out. Its great for me.
Maybe loose the battery icons? or ## define them.
Also maybe a stronger Mode indicator - ANGLE/HORIZ/RTH/HOLD

hatuul
Posts: 3
Joined: Mon Oct 08, 2012 12:56 am

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by hatuul »

Hi Michael.
There ideya.Na third screen, with no telemetry, put on top encoded teletext.
This idea is used in the Ikarus OSD.On the left side.
http://www.youtube.com/watch?v=1D8Li2nSfrY
http://vimeo.com/17874248

Here there and lm1881, though this is an decode.
http://www.youtube.com/watch?feature=pl ... yuOZcRuEHQ
http://nootropicdesign.com/projectlab/2 ... aptioning/

penpen77
Posts: 73
Joined: Tue Jan 24, 2012 10:45 pm

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by penpen77 »

Is there a code size issue or something which could make that "TVout" library/class unusable ? (except pinout, which i think could be swapped to mobdirone hardware)

I think TVout library should made more readable your osd code, the class is alike java/.net/ui Graphics object with some nice methods, font and pixel oriented

or make some code refactoring and improvment to see the screen as a simple matrix/array arrangement of "widget", widget being "sensor/reading" with coordinate inside the screen matrix. Like remzibi, the layout will become more costumizable this way.

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 »

telemetry during the vbi would be awesome.......

hatuul wrote:Hi Michael.
There ideya.Na third screen, with no telemetry, put on top encoded teletext.
This idea is used in the Ikarus OSD.On the left side.
http://www.youtube.com/watch?v=1D8Li2nSfrY
http://vimeo.com/17874248

Here there and lm1881, though this is an decode.
http://www.youtube.com/watch?feature=pl ... yuOZcRuEHQ
http://nootropicdesign.com/projectlab/2 ... aptioning/

postaL
Posts: 36
Joined: Thu Oct 04, 2012 10:08 pm

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by postaL »

I'm experiencing a problem that I cannot find a cure for.

When armed, i can still make the menu come up by pressing roll right. How can I correct this? It's rather annoying.

Thanks,
M

User avatar
dramida
Posts: 473
Joined: Mon Feb 28, 2011 12:58 pm
Location: Bucharest
Contact:

Re: mobiDrone nano arduino OSD for MultiWii with PID config

Post by dramida »

Moved to other topic my question ....

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 was getting the same - I think it was because running a dev version rather than 2.1
Are you running dev mayve?

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 »

in post 2.1 rhe armed indication has changed.

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 »

Yes, that was the issue. Doesn't suppress the menu

Post Reply