New Products Flash Sale
Thread Tools
Old Apr 22, 2013, 03:24 PM
Dennis Frie is online now
Find More Posts by Dennis Frie
Just another user
Dennis Frie's Avatar
Quote:
Originally Posted by Spejlo View Post
yeah I see it calculate outside interrupt and using 2 buffers..it should be OK..
and I almost forgot..I found another (not exactly) bug.. in summary max_alt is updated only from GPS and not from baro when REPLACE_GPS_ALT is enabled.
it's not bug but it will be nice to have more precise altitude logged..
Year. the double-buffer and calculation outside interrupt, should eliminate the problem.

I'm aware of the problem with max altitude - but decided not to change it, as it will show the difference between GPS and baro.The baro is a linear approximation. Depending on the deviation, I might add a "full calculation" for altitude later. Havent really decided yet if it's worth the extra cpu-time compared to the gain in altitude-precision
Sign up now
to remove ads between posts
Old Apr 22, 2013, 03:41 PM
badlands is offline
Find More Posts by badlands
When in doubt, throttle out...
badlands's Avatar
Denise - just to confirm the Heater-control & servo-output for weather-ballon project is in this version of firmware?

EZ to use?
Old Apr 22, 2013, 03:58 PM
Dennis Frie is online now
Find More Posts by Dennis Frie
Just another user
Dennis Frie's Avatar
Quote:
Originally Posted by badlands View Post
Denise - just to confirm the Heater-control & servo-output for weather-ballon project is in this version of firmware?

EZ to use?
Yes, they are included in the latest version (0.18 uploaded a couple of hours ago)

It's something I need myself, not really anything I planned as an official feature. It's coded pretty much for what I need.
But as it can be included as a define without taking up any extra space (unless you use it), I figured I could just as well leave it as an advanced option

The heater-output simply turns an output on/off based on the temperature from BMP085 (with a little hysteresis)

The auto-release uses a hardware-timer to control a servo. If fail-safe is detected and present more than x seconds, it will turn the servo. Pretty simple at the moment, but should get the job done.

The "SHOW_FAILSAFE" will simply print "FAILSAFE" in the middle of the screen, when failsafe is detected.

//===========================
// Weather balloon add-on
//===========================
// Temperature control
#define USE_TEMPERATURE_CONTROL 0
#define DESIRED_TEMPERATURE 27
#define HEATER_OUTPUT_PIN 7

#define USE_AUTO_RELEASE 0 // on/off (Pin 3)
#define FAILSAFE_CHANNEL 3 // PPM-channel
#define FAILSAFE_LIMIT 3000 //uS * 2
#define FAILSAFE_RELEASE_TIMEOUT 10 //seconds
#define SHOW_FAILSAFE 1 // on/off
Old Apr 22, 2013, 04:01 PM
Dennis Frie is online now
Find More Posts by Dennis Frie
Just another user
Dennis Frie's Avatar
Just noticed "SHOW_FAILSAFE" was active as default
I've changed the config-file to have this disabled as default.
Last edited by Dennis Frie; Apr 23, 2013 at 05:53 AM.
Old Apr 24, 2013, 02:55 PM
Dennis Frie is online now
Find More Posts by Dennis Frie
Just another user
Dennis Frie's Avatar
Just found a little bug, in the latest version. After loading new firmware, the video-system will always start in NTSC (until changed in menu).

It's a simple fix, but quite busy atm. Will upload an updated version ASAP
Old Apr 25, 2013, 02:16 PM
Spejlo is offline
Find More Posts by Spejlo
Registered User
Finally I tested new GPS routine and it works great with NEO-6 now
but I found a little bug.. if you don't have QUIET_BOOT it never enter RmcString and GgaString routine..
quick fix.. add this on line 512
Code:
      #if (!GPS_CALC_IN_INTERRUPT)

        if (RmcStringReady) {
          RmcString();
        }
        
        if (GgaStringReady) {
          GgaString();
        }
    
      #endif
Old Apr 25, 2013, 06:07 PM
bob4432 is offline
Find More Posts by bob4432
Registered User
bob4432's Avatar
are you testing w/ the rctimer v2 gps?

Quote:
Originally Posted by Spejlo View Post
Finally I tested new GPS routine and it works great with NEO-6 now
but I found a little bug.. if you don't have QUIET_BOOT it never enter RmcString and GgaString routine..
quick fix.. add this on line 512
Code:
      #if (!GPS_CALC_IN_INTERRUPT)

        if (RmcStringReady) {
          RmcString();
        }
        
        if (GgaStringReady) {
          GgaString();
        }
    
      #endif
Old Apr 26, 2013, 12:50 AM
Spejlo is offline
Find More Posts by Spejlo
Registered User
Quote:
Originally Posted by bob4432 View Post
are you testing w/ the rctimer v2 gps?
nope.. I have one from HK.. but CN-06 v2 uses u-blox NEO-6M GPS module like mine from HK
Old Apr 26, 2013, 04:52 AM
Dennis Frie is online now
Find More Posts by Dennis Frie
Just another user
Dennis Frie's Avatar
Quote:
Originally Posted by Spejlo View Post
Finally I tested new GPS routine and it works great with NEO-6 now
but I found a little bug.. if you don't have QUIET_BOOT it never enter RmcString and GgaString routine..
quick fix.. add this on line 512
Thanks for the heads-up

It is mentioned in the config-file, that disabling QUIET_BOOT is not recommended. I haven't updated it for a while, as the normal layout (in my opinion) works pretty well.

I considered to completely remove all the code, but if anyone uses it I can fix it instead

//===========================
// boot-mode
//===========================
// 0 is outdated and should not be used
// 1 is the recommended.
#define QUIET_BOOT 1
Old Apr 26, 2013, 06:15 AM
IceWind is online now
Find More Posts by IceWind
throw new IOPilotException();
IceWind's Avatar
Quote:
Originally Posted by jalves View Post
If you want to use a daughter board with it for input/output, minimOSD pcb boards work very well for DFmaxOSD code.
@jalves, that is a interesting idea.
I imagine that some code change will be required. (just feeling lazy these days )
Old Apr 26, 2013, 07:41 AM
jeffkash is offline
Find More Posts by jeffkash
Registered User
Just received 10 boards from SeeedStudio.

Don't need all of them. Anyone in the US need a board?
Old Apr 26, 2013, 07:45 AM
Dennis Frie is online now
Find More Posts by Dennis Frie
Just another user
Dennis Frie's Avatar
Someone asked for a connection-overview in the danish forum. It should really be straight forward, but here goes anyway...
Old Apr 26, 2013, 08:44 AM
jalves is offline
Find More Posts by jalves
Registered User
jalves's Avatar
Quote:
Originally Posted by IceWind View Post
@jalves, that is a interesting idea.
I imagine that some code change will be required. (just feeling lazy these days )
IIRC, it's straight forward.
Old Apr 26, 2013, 07:47 PM
Crist Rigotti is offline
Find More Posts by Crist Rigotti
First to go over 106K feet
Crist Rigotti's Avatar
Quote:
Originally Posted by jeffkash View Post
Just received 10 boards from SeeedStudio.

Don't need all of them. Anyone in the US need a board?
Check you PM. Thanks.
Old Apr 29, 2013, 12:00 PM
Dennis Frie is online now
Find More Posts by Dennis Frie
Just another user
Dennis Frie's Avatar
I've just fixed the problem, with the video-system always being initialized as NTSC on first boot (bug in v. 0.18).

Except for that, I haven't really changed anything, so no need to upgrade, if you already use version 0.18
http://code.google.com/p/diy-osd-max7456/downloads/list

Changes:
  • Choosing PAL in config didn't work in version 0.18 (it would always start in NTSC-mode and require PPM-input to change). Now fixed
  • QUIET_BOOT disabled fixed, to work with he GPS-routine in none-interrup mode
  • A few minor changes.


Thread Tools

Similar Threads
Category Thread Thread Starter Forum Replies Last Post
Help! OSD version UNKNOWN and fail to update (error) dROb Eagle Tree Systems 9 May 16, 2012 06:12 PM
Sold EASY OSD (Version 1.2) Brand New . $75 shipped. LHTPlane FPV Equipment (FS/W) 7 Mar 20, 2012 11:45 PM
For Sale MAX7456 OSD Break out board. ziomatrixacs FPV Equipment (FS/W) 4 Jun 18, 2011 04:50 PM