ShikOfTheRa / scarab-osd

MWOSD - UAV HUD
http://www.mwosd.com
422 stars 204 forks source link

Can Mr Steele PDB support be added? #599

Closed sevet closed 4 years ago

sevet commented 4 years ago

Can you please add support for Steele PDB?

ShikOfTheRa commented 4 years ago

I suspect it will. I can give you some bullet point instructions if you would like to try

sevet commented 4 years ago

Sure, im in, im not a coder, but have some expertise ;) Tried to look at wolf kiss osd to see the difference in the code but lost it....

ShikOfTheRa commented 4 years ago

Do you have MWOSD GUI configurator? if not send an email requesting it to gary hat flypix.co.uk

Lets see if can flash it from the GUI first. It looks like it uses same layout as minim osd except maybe led will need a tweak.

Once get GUI, select version 1.9.1.5 and try flash kiss multirotor gps option. If flashes OK, will then need to flash fonts. Then its time to try it to see if it works

sevet commented 4 years ago

Can't seem to flash. i got the com port and flashing it doesn't go pass waiting for bootloader reset, Tried all speeds, it needs both USB and battery connected to flash Also disconnected it from the KissFC so it won't interfere but nothing :(

ShikOfTheRa commented 4 years ago

Ok then can either try flashing precompiled hex file in same way that would with Kiss OSD. This is available from github on the releases link. Latest version is only one with Kiss GPS version.

Or could download the code, edit config.sys file (only need to select kiss gps) , select right board in arduino ( guess select uno board).

As FYI, arduino always programs at same speed. No need to select. In operation OSD and kiss run at 115k

On 17 Apr 2020, at 22:21, sevet notifications@github.com wrote:

 Can't seem to flash. i got the com port and flashing it doesn't go pass waiting for bootloader reset, Tried all speeds, it needs both USB and battery connected to flash Also disconnected it from the KissFC so it won't interfere but nothing :(

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

ShikOfTheRa commented 4 years ago

OK, had a bit more of a look. We flash at 56k to support bootloader on standard minim board. Steele looks like it has a 115k bootloader. So I think MWOSD GUI will never flash unless we add an option for that.

I think maybe option 1: • Download precompiled kiss gps build from • https://github.com/ShikOfTheRa/scarab-osd/releases/download/1.9.1.5/minim.kissgps.multirotor.hex • Download xloader or use the KISS OSD version • Select Device = "Uno (ATMEGA328)" in Xloader • Flash the hex file you downloaded • Load MWOSD GUI configurator • Upload MWOSD fonts • Configure screen layouts as you want

or option 2: • Download “source code” from • https://github.com/ShikOfTheRa/scarab-osd/archive/1.9.1.5.zip • Select "Arduino/Genuino Uno" under Tools->Board in Arduino • Select correct com port and upload • Load MWOSD GUI configurator • Upload MWOSD fonts • Configure screen layouts as you want

Once flashed, I think you will be good to run GUI configurator. I am sure this will work once flashed.

sevet commented 4 years ago

Thanks,

Already uploaded the precompiled hex with the xloader, configured and uploaded fonts, I'm not seeing anything on the OSD, Should i see something even if the OSD and Kiss board are not communicating (they should but i'm not certain)

On Sat, Apr 18, 2020 at 2:37 PM ShikOfTheRa notifications@github.com wrote:

OK, had a bit more of a look. We flash at 56k to support bootloader on standard minim board. Steele looks like it has a 115k bootloader. So I think MWOSD GUI will never flash unless we add an option for that.

I think maybe option 1: • Download precompiled kiss gps build from • https://github.com/ShikOfTheRa/scarab-osd/releases/download/1.9.1.5/minim.kissgps.multirotor.hex • Download xloader or use the KISS OSD version • Select Device = "Uno (ATMEGA328)" in Xloader • Flash the hex file you downloaded • Load MWOSD GUI configurator • Upload MWOSD fonts • Configure screen layouts as you want

or option 2: • Download “source code” from • https://github.com/ShikOfTheRa/scarab-osd/archive/1.9.1.5.zip • Select "Arduino/Genuino Uno" under Tools->Board in Arduino • Select correct com port and upload • Load MWOSD GUI configurator • Upload MWOSD fonts • Configure screen layouts as you want

Once flashed, I think you will be good to run GUI configurator. I am sure this will work once flashed.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ShikOfTheRa/scarab-osd/issues/599#issuecomment-615848211, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABDJ55TZPMFUIAA56BL5NQTRNGGGPANCNFSM4MK6NGWQ .

ShikOfTheRa commented 4 years ago

I had a look at KISSOSD code and it looks like the wolfPDB uses different hardware pins to control Max IC You should see something - but that would explain why. I have created a test branch with modified pins (WolfPDB) to try out changes: https://github.com/ShikOfTheRa/scarab-osd/archive/WolfPDB.zip

sevet commented 4 years ago

Hi, I saw the precompiled hex were in 1.7.1 directory and didn't have kissgps so i used arduino to compile. Couldn't compile KISSGPS, Compiled the regular KISS, and it is working, fonts uploaded and the OSD gets data from the Kiss!! Great!! the GUI btw says hardware: unknown.

[image: image.png]

On Sat, Apr 18, 2020 at 5:28 PM ShikOfTheRa notifications@github.com wrote:

I had a look at KISSOSD code and it looks like the wolfPDB uses different hardware pins to control Max IC

I have created a test branch with modified pins (WolfPDB) to try out changes: https://github.com/ShikOfTheRa/scarab-osd/archive/WolfPDB.zip

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ShikOfTheRa/scarab-osd/issues/599#issuecomment-615880513, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABDJ55TP3FRIBH5NA5A6KZDRNG2HZANCNFSM4MK6NGWQ .

ShikOfTheRa commented 4 years ago

Ok, that’s great. I can finalise and implement properly now we know it works. I’ll tidy it up in next couple of days and add into the master.

Do you have GPS? It should have compiled, but I’ll check this out tomorrow.

Hardware unknown is OK. GUI doesn’t know about wolf pdb yet!

I’ll do some proper instructions too

sevet commented 4 years ago

Great, thanks.

Yes, I have GPS. It didnt compile on the error: GPS_reset_home_position was not declared in this scope. (Sent screenshot on last replay) Also. I needed to compile on arduino with: "Arduino/Genuino Uno" Not pro mini

On Sun, Apr 19, 2020, 14:05 ShikOfTheRa notifications@github.com wrote:

Ok, that’s great. I can finalise and implement properly now we know it works. I’ll tidy it up in next couple of days and add into the master.

Do you have GPS? It should have compiled, but I’ll check this out tomorrow.

Hardware unknown is OK. GUI doesn’t know about wolf pdb yet!

I’ll do some proper instructions too

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ShikOfTheRa/scarab-osd/issues/599#issuecomment-616104998, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABDJ55QXPDD2OWS6LCGF5RDRNLLHBANCNFSM4MK6NGWQ .

ShikOfTheRa commented 4 years ago

mmm. It compiles OK for me with KISSGPS and WOLFPDB enabled. Board set to Uno too.

What version Arduino do you use? I am using a quite old one - 1.6.5 for some compatibility checks that I probably don't need any more. I'll try on latest.

Will tr to get all finished and tidied up tomorrow.

sevet commented 4 years ago

I used arduino 1.8.7 or something>1.8

On Sun, Apr 19, 2020, 14:56 ShikOfTheRa notifications@github.com wrote:

mmm. It compiles OK for me with KISSGPS and WOLFPDB enabled. Board set to Uno too.

What version Arduino do you use? I am using a quite old one - 1.6.5 for some compatibility checks that I probably don't need any more. I'll try on latest.

Will tr to get all finished and tidied up tomorrow.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ShikOfTheRa/scarab-osd/issues/599#issuecomment-616115498, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABDJ55XP5KT6QGKQXJEUAULRNLRIHANCNFSM4MK6NGWQ .

error414 commented 4 years ago

Hi Sevet,

can you please try it? It works in my case(compiling), Arduino 1.8.9 error414-osd-WolfPDB.zip

sevet commented 4 years ago

This one compiles, on 1.8.8 (different computer, did also try the previous and it didn't compile with same error) I didn't test though to see that it works.

On Sun, Apr 19, 2020 at 3:17 PM error414 notifications@github.com wrote:

Hi Sevet,

can you please try it? It works in my case(compiling), Arduino 1.8.9 error414-osd-WolfPDB.zip https://github.com/ShikOfTheRa/scarab-osd/files/4498912/error414-osd-WolfPDB.zip

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ShikOfTheRa/scarab-osd/issues/599#issuecomment-616119552, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABDJ55Q7JULS6V4AAZENU33RNLTUNANCNFSM4MK6NGWQ .

Hawker2007 commented 4 years ago

Hi All =), first of all thank you for your amazing work. error414-osd-WolfPDB.zip compiled (in 1.8.10) and uploaded to SteelPDB, OSD works, will test gps tomorrow.

ShikOfTheRa commented 4 years ago

Merged the development into the main code and made available as a test release as well: https://github.com/ShikOfTheRa/scarab-osd/releases

Added XLOADER files for installing: https://github.com/ShikOfTheRa/scarab-osd/tree/master/OTHER/STEELEPDB_KISS

Created an instruction guide: https://github.com/ShikOfTheRa/scarab-osd/wiki/Steele-PDB-for-KISS

Let us know how you get on. I would love to see more people using MWOSD for Kiss. Especially as it looks like MISS OSD is no longer being developed A few do, but I think it is largely unknown.

sevet commented 4 years ago

I tested this today error414 and it gives me starnge charecters: image image I used bold fonts Trying the main code now

sevet commented 4 years ago

Still bad charecters in osd on 1.9.6 precompiled steelepdb.kiss.gps.hex using large fonts (reuploaded) (says ImpulseRC hardware on gui now)

ShikOfTheRa commented 4 years ago

Maybe this... "For some of the original minim boards, the output stage (max chip) MUST be powered when uploading font. How depends upon your board / configuration"

I same note about power must be applied to the board when programming?

MWOSD FAQ 14 I get garbage characters and / or font upload doesn't work.

Sounds like fonts need to be re-uploaded - but note:

sevet commented 4 years ago

For steelePDB configuration and flashing you have to have it powered on anyways. (and also disconnect the data from the KISS FC) I checked again and it seems i just can't upload fonts, tried rotating default/bold/large and the fonts always stay the same.

sevet commented 4 years ago

I tried compiling 1.9.1.6 and it only compiled for KISSGPS with Arduino 1.6.5 otherwise i get that GPS declaration error, after compiling the using gui to upload fonts i still have bad characters like the previous picture (seen directly in this thread on github)

Tried to use "define LOADFONT_LARGE" but it didn't finish uploading for a few minutes so i stopped it.

ShikOfTheRa commented 4 years ago

I'll take the compile issue as a separate problem...

For the fonts: I think I made an error with one of the pins used by Steele pdb.
I have updated the main reposirory, but probably quicker to edit directly Line 1036 in def.h should read MAX7456RESET 9 // RESET instead of 2

ShikOfTheRa commented 4 years ago

Just to add - sorry for the pain - its the joy of being at the leading edge - and us not having the hardware!

We'll get there...

ShikOfTheRa commented 4 years ago

Hopefully compile issue also resolved in latest master repository.

sevet commented 4 years ago

Great! :) Everything works perfectly - compiles on latest arduino and uploading fonts was successful :)

ShikOfTheRa commented 4 years ago

Excellent. We go there in the end!

ShikOfTheRa commented 4 years ago

OK - closing. Re-open if any issues arise :) Many thanks for your time to test. Hopefully it will help others out there too.

If you get a flight video, would appreciate one up in the Kiss thread - I don't think many are aware of MWOSD.

Machtap commented 2 years ago

I know this is weird but would it be possible to compile a version that targets Steele PDB hardware but accepts and displays betaflight telemetry data?

ShikOfTheRa commented 2 years ago

I think it can support that now - have you tried it?

define STEELEPDB