FPV HUB

Video Equipment => OSD`s => Topic started by: skyscraper on September 07, 2014, 09:02:46 PM

Title: OSD based on STM32F4
Post by: skyscraper on September 07, 2014, 09:02:46 PM
0
Title: Re: OSD based on STM32F4
Post by: Brucey on September 07, 2014, 09:08:07 PM
Cool, reminds me of an old windows screensaver! Good work!
Title: Re: OSD based on STM32F4
Post by: Brucey on September 07, 2014, 09:31:17 PM
So I can play pong on my OSD while on a long haul FPV flight?;D
Title: Re: OSD based on STM32F4
Post by: iwan_canobi on September 18, 2014, 02:28:06 PM
This looks interesting! Will need to take a look at it when I get some time, I have easy one of the STM boards lying around I think! I also have access to M4 core parts (not ST ones though) so could be interesting to port it over!
Title: Re: OSD based on STM32F4
Post by: iPeel on February 05, 2015, 05:33:02 PM
Andy I was impressed with the board when you showed me it a few weeks back, but man I couldn't believe you hand soldered all those joints!

Would it be easier if someone has a re-work station?
Title: Re: OSD based on STM32F4
Post by: iwan_canobi on February 05, 2015, 06:38:08 PM
This looks awesome! I dropped in before but didn't reply to you, sorry about that!

I have easy access to Freescale MCU's, which is easy to find ones that share the same core as the STM. Would just require re-writing the peripheral layers I suppose.

Something like this development platform - http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=FRDM-K64F&nodeId=015210045A (http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=FRDM-K64F&nodeId=015210045A)

M4, 256kb RAM, and has loads of other stuff on the board as well (accelerometer, magnetometer).

Title: Re: OSD based on STM32F4
Post by: iwan_canobi on February 05, 2015, 07:21:47 PM
Ah, its in C++! :S I've never really done anything in C++, suppose it should be fairly easy to pick up with a background in embedded C! I'll take a look when I get a bit of time!
Title: Re: OSD based on STM32F4
Post by: Shikra on February 05, 2015, 08:25:32 PM
Your progress looks great! Wish I had time to have a go at something like this. So much potential.
Title: Re: OSD based on STM32F4
Post by: iwan_canobi on February 12, 2015, 01:23:28 PM
Looking good so far!

The naze32 uses the same micro as you are, you could easily port the cleanflight code over and it should work on fixed wing as well as multi's?

I think I'm going to try and port the naze code onto the freescale device I mentioned before, and was thinking integrating the OSD into one would be a good idea also! Its at a very early stage just now though but its on my tinker list! :)
Title: Re: OSD based on STM32F4
Post by: FPVSteve on February 12, 2015, 03:03:47 PM
I think this is a brilliant project, kudos to you for getting this far
Title: OSD based on STM32F4
Post by: Brucey on February 13, 2015, 12:07:13 PM
Looking good Andy!
Title: Re: OSD based on STM32F4
Post by: FPVSteve on February 13, 2015, 06:35:26 PM
Quote from: skyscraper on February 13, 2015, 09:26:53 AM
Quote from: Steve W on February 12, 2015, 03:03:47 PM
I think this is a brilliant project, kudos to you for getting this far

Cheers mate. I just wish I could get it done quicker. Really lacking documentation and porting the osd_maker app (https://github.com/kwikius/osd_maker) to Windows.

If anyone is up for trying to get it working in Windows PM me... Just to Open successfully would be  a start. Theoretically its cross platform.  It'll need a makefile etc. ( Or I have a Code::Blocks project file) I can do a start one..

Bottom line is .. I just hate F*ckin Windows. Just dont want to use it . Linux is so much better :)

regards
Andy


I could write a C# version to read/write the data formats .. I spent some time looking at the C++ version on Github, the bitmap editing seems pretty easy once you get your head around it (not something I've had to do before).

Just a shame to have two codebases really.
Title: Re: OSD based on STM32F4
Post by: FPVSteve on February 13, 2015, 11:13:12 PM
Yea I'm a web developer + windows software + windows phone .. basically the .NET stack, C# XAML and all that crap.

Documentation though? Good code documents itself :P :P :P

I wonder if you could simply offload the work into a DLL that could be referenced in a C# project, that way it would only need to be a simple GUI passing parameters back and forth... may be worth a thought
Title: Re: OSD based on STM32F4
Post by: FPVSteve on February 14, 2015, 01:54:43 PM
Just FYI .NET 5 is cross platform (and open source!) out of the box now :) And it actually works!
http://www.hanselman.com/blog/OmniSharpMakingCrossplatformNETARealityAndAPleasure.aspx (http://www.hanselman.com/blog/OmniSharpMakingCrossplatformNETARealityAndAPleasure.aspx)

I see what you're saying though, it does make sense to keep it all together in a distinct language if that's what you're used to :)
Title: OSD based on STM32F4
Post by: Brucey on February 24, 2015, 07:16:13 AM
Can't be much longer till your test flying one?
Title: Re: OSD based on STM32F4
Post by: Shikra on March 03, 2015, 02:09:10 PM
Bummer. Might not be down to just your your PCB though.

Note the clock frequency or bitblasting timers can run at harmonic of the gps etc.

also consider.. uhf and 2.4 control frequnecies.

nightmare isn't it!


Not on your own - my DragonOSD kills my UHF range unless get good separation. Moved antenna and 6* increase in range...
also Ambaralla chipset on some GoPros runs 216mhz - harmonic of 432. Right on edge of 433 control :) great huh.



Title: OSD based on STM32F4
Post by: Brucey on March 03, 2015, 09:17:23 PM
Unlucky Andy. Hope your spec an works ok and you can get it sorted.
Title: OSD based on STM32F4
Post by: Brucey on March 05, 2015, 06:49:17 PM
That's odd. But like you say, better to get the design sorted now rather than trying to fix it later
Title: OSD based on STM32F4
Post by: Brucey on March 09, 2015, 05:36:00 AM
Well that really confused me, a quad, in the snow?! Then I realised it was one of your fans! Nice one
Title: OSD based on STM32F4
Post by: Brucey on April 02, 2015, 10:26:29 AM
That looks tidy Andy. Good news on getting it fixed, you must be pleased.
Let us know when your planning on testing it.
Title: Re: OSD based on STM32F4
Post by: CurryKitten on April 14, 2015, 09:35:02 AM
It's looking good - although the compass to me looks a bit busy with the 2 hands in there.  If you want a compass on the bottom like that, then what about just having an H floating on the outline of the circle so you could get rid of one of the hands ?

Of course there are loads of ways to represent direction and home as well, I don't tend to think about which compass direction I'm flying in, but favour more which way is back home
Title: Re: OSD based on STM32F4
Post by: iPeel on April 17, 2015, 11:56:32 AM
I'll bring my RFExplorer with me when we meet up on Sunday Andy, we can then give the fella' an RF checkup.
Title: Re: OSD based on STM32F4
Post by: iPeel on April 17, 2015, 12:09:44 PM
Up to 2.6 then 5.something to 6G.

Edit, found the proper spec:

Frequency band: 15-2700 MHz and 4850-6100MHz
Title: Re: OSD based on STM32F4
Post by: Gundummy on May 11, 2015, 11:20:11 AM
thats a really nice little feature to have
Title: OSD based on STM32F4
Post by: Brucey on May 11, 2015, 12:41:36 PM
Cool, like the lidar. Would it work forward facing to detect fast approaching goal posts?!
Title: OSD based on STM32F4
Post by: Brucey on May 11, 2015, 01:55:56 PM
Cool, looks like it was backing away a bit too much! Into the neighbours house!
Title: OSD based on STM32F4
Post by: Brucey on June 28, 2015, 10:39:09 PM
Yup, compass is much better. Good work!
Title: Re: OSD based on STM32F4
Post by: wgt40w on July 13, 2015, 06:02:10 PM
Quote:

I cant make it much F*ckin simpler  :sparta:

That's a pity for me then !!
Title: Re: OSD based on STM32F4
Post by: wgt40w on July 13, 2015, 06:56:02 PM
Quote from: skyscraper on July 13, 2015, 06:13:05 PM
Quote from: wgt40w on July 13, 2015, 06:02:10 PM
Quote:

I cant make it much F*ckin simpler  :sparta:

That's a pity for me then !!
You have to be minimally computer literate though  :o

Which  thought we all were these days!

http://www.theguardian.com/technology/2014/sep/04/coding-school-computing-children-programming (http://www.theguardian.com/technology/2014/sep/04/coding-school-computing-children-programming)


regards
Andy

    "computer literate" - I thought I was - which makes it even worse for me !!
Title: Re: OSD based on STM32F4
Post by: iPeel on July 28, 2015, 04:01:24 PM
Quote from: skyscraper on July 14, 2015, 06:47:08 PM
No programming required whatsoever!

I'm not worried about that, I need no soldering required whatsoever!
Title: OSD based on STM32F4
Post by: rob.thomson on August 01, 2015, 02:14:46 PM
As soon as you have it also sending a skylark and mfd gps link down the audio channel...  I want one!
Title: Re: OSD based on STM32F4
Post by: Shikra on September 08, 2015, 10:04:06 AM
great to hear your still developing this!
Title: Re: OSD based on STM32F4
Post by: Shikra on September 08, 2015, 06:30:21 PM
Yeah - lets give it a go - but I need to cover your HW costs at minimum...
Might need some help with environment. Tried several times to get IDE running to work with baseflight - failed on each attempt.!
Title: Re: OSD based on STM32F4
Post by: iwan_canobi on October 09, 2015, 01:11:05 PM
I bloody hope so! Not sure how far I'd get with the camera pointing that way!  :laugh:
Title: Re: OSD based on STM32F4
Post by: iwan_canobi on November 10, 2015, 03:23:51 PM
Nice to see this progressing steadily! Looks really smooth and responsive now, nice work!
Title: Re: OSD based on STM32F4
Post by: Brucey on November 10, 2015, 05:17:32 PM
Less excuses, more flying!
Title: OSD based on STM32F4
Post by: rob.thomson on November 13, 2015, 11:44:57 AM
Looks great :)
Title: Re: OSD based on STM32F4
Post by: Brucey on November 13, 2015, 02:46:38 PM
Nicely done Andy. Just need to get the AHI in the centre when the plane is flying level.

Also is it possible to make the range of movement logarithmic for pitch? I ask because when climbing steeply through cloud or fog the AHI falls off the bottom of the screen so you cant see if you are rolling over. My Ruby has a AHI that falls off the bottom screen if I climb to hard, its really annoying!
Title: Re: OSD based on STM32F4
Post by: stevec on November 13, 2015, 03:42:21 PM
nice, you must be well chuffed. :sparta:

/Steve
Title: Re: OSD based on STM32F4
Post by: foamster on December 02, 2015, 04:41:39 PM
Nice one Andy, all that hard work starting to pay off, nearly there

ta Rob
Title: OSD based on STM32F4
Post by: Brucey on December 03, 2015, 08:36:06 AM
Nice andy. Your osd updates nice and smooth