what osd to use?

Radio, Telemetry, FTDI/USB, ESCs, Motors, etc.

Re: what osd to use?

Postby Kisssys » Thu Feb 18, 2016 3:13 pm

Simson wrote:The disadvantage with the Kisssys firmware is the Baudrate which will not working with the standard Baudrate of the Bluetooth Module.
Therefore I recommend the firmware from James.


You can compile the code to 115.2K if you would like. Search for /OSD Hardware
Code: Select all
/OSD Hardware
//#define ArduCAM328
#define MinimOSD

#define TELEMETRY_SPEED  115200  // How fast our MAVLink telemetry is coming to Serial port
Steve
Kisssys
Kisssys
 
Posts: 1340
Joined: Sat Jun 23, 2012 9:23 pm

Re: what osd to use?

Postby Patscherpofel » Fri Feb 19, 2016 8:56 am

thanks, I will try to compile this myself...need to learn some basic arduino first

and while looking at the code...
I also found the calculation for the horizon
would it be possible to invert this easily by swapping negative and positive numbers in there?
Patscherpofel
 
Posts: 91
Joined: Fri Feb 12, 2016 10:03 pm

Re: what osd to use?

Postby Patscherpofel » Fri Feb 19, 2016 10:13 am

cool, I managed to use a different baudrate...thanks for the help

maybe somebody has n idea what to do to invert the horizon?

// Calculate and show artificial horizon
// used formula: y = m * x + n <=> y = tan(a) * x + n
void showHorizon(int start_col, int start_row) {
    int col, row, pitch_line, middle, hit, subval;
    int roll;
    int line_set = LINE_SET_STRAIGHT__;
    int line_set_overflow = LINE_SET_STRAIGHT_O;
    int subval_overflow = 9;
    
    // preset the line char attributes
    roll = osd_roll;
    if ((roll >= 0 && roll < 90) || (roll >= -179 && roll < -90)) { // positive angle line chars
roll = roll < 0 ? roll + 179 : roll;
        if (abs(roll) > ANGLE_2) {
    line_set = LINE_SET_P___STAG_2;
    line_set_overflow = LINE_SET_P_O_STAG_2;
            subval_overflow = 7;
else if (abs(roll) > ANGLE_1) {
    line_set = LINE_SET_P___STAG_1;
    line_set_overflow = LINE_SET_P_O_STAG_1;
            subval_overflow = 8;
}
    } else { // negative angle line chars
roll = roll > 90 ? roll - 179 : roll;
        if (abs(roll) > ANGLE_2) {
    line_set = LINE_SET_N___STAG_2;
    line_set_overflow = LINE_SET_N_O_STAG_2;
            subval_overflow = 7;
else if (abs(roll) > ANGLE_1) {
    line_set = LINE_SET_N___STAG_1;
    line_set_overflow = LINE_SET_N_O_STAG_1;
            subval_overflow = 8;

Patscherpofel
 
Posts: 91
Joined: Fri Feb 12, 2016 10:03 pm

Re: what osd to use?

Postby Simson » Fri Feb 19, 2016 12:34 pm

@ Patscherpofel
It would be great, if you could post the hex file here with the new Baudrate.
Thanks!
Simson
 
Posts: 62
Joined: Tue Jan 20, 2015 1:07 pm

Re: what osd to use?

Postby Patscherpofel » Fri Feb 26, 2016 10:25 pm

I dont understand where to find the hex...it burns it straight to the board from arduino
but all you have to do is to change that one number in the code...really easy
Patscherpofel
 
Posts: 91
Joined: Fri Feb 12, 2016 10:03 pm

Re: what osd to use?

Postby brat002 » Mon Feb 29, 2016 10:05 pm

Why not change telemetry speed in AQ GCS? It it strongly required to change baud rate to 115200 in minimosd firmware?
brat002
 
Posts: 191
Joined: Tue Apr 21, 2015 10:35 pm

Re: what osd to use?

Postby Patscherpofel » Mon Feb 29, 2016 10:54 pm

if the build in bluetooth module is set to 115200 then you have to desolder it to change it I guess
Patscherpofel
 
Posts: 91
Joined: Fri Feb 12, 2016 10:03 pm

Re: what osd to use?

Postby brat002 » Mon Feb 29, 2016 11:21 pm

I've use bugswotsnightmware expansion board and 3dr telemetry. Baud rate set to 56000. I think, no any changes needed in this case.
I tried to use hthis firmware ttps://github.com/night-ghost/minimosd-extra with micro minimosd board. It has many improvements and fixes. But OSD does not work. See only "Not input data!" on the screen. I tried to change tx/rx wires without success. Does anyone use it?
brat002
 
Posts: 191
Joined: Tue Apr 21, 2015 10:35 pm

Re: what osd to use?

Postby Patscherpofel » Tue Mar 01, 2016 2:35 pm

no data can also mean wrong baudrate, try change it in the autoquad gcs
Patscherpofel
 
Posts: 91
Joined: Fri Feb 12, 2016 10:03 pm

Re: what osd to use?

Postby brat002 » Wed Mar 02, 2016 7:21 pm

Does any OSD firmware available that supports voltage and analog RSSI monitoring?
brat002
 
Posts: 191
Joined: Tue Apr 21, 2015 10:35 pm

PreviousNext

Return to Connections

Who is online

Users browsing this forum: No registered users and 7 guests

cron