Source code for Minoposd
« on: January 04, 2016, 10:44:24 am »
Hi, i am trying to get my Revo with micro minimosd to work. Voltage, current, horizon works, but rssi from my ezuhf still keep at 100%. (also the RAW data i can not switch trough the Config tool)
Did anyone get real RSSI signal on osd? On witch channel the "LP_All_From_Revo1312.hex" was programmed to get the RSSI signal? The best it will be to get the source code to build my own Minoposd and start with the "LP_All_From_Revo1312.hex"   any idee from where i can get it ?    Many thanks......

f5soh

  • *****
  • 4572
    • LibrePilot
Re: Source code for Minoposd
« Reply #1 on: January 04, 2016, 01:13:46 pm »
All_from_revo assumes the Rssi comes from the ReceiverQuality object.
If you want analog Rssi:

remove #define RSSI_ON_FC

add #define ANALOG_RSSI_ON_MINIMOSD

Sources are here: https://bitbucket.org/f5soh/minoposd

Welcome,
Laurent

Re: Source code for Minoposd
« Reply #2 on: January 04, 2016, 01:45:15 pm »
Hi Laurent,   thanks for your fast reply..... ;D

Re: Source code for Minoposd
« Reply #3 on: January 04, 2016, 08:07:09 pm »
I got it.
i replaced both "AnalogRssi.h" and "AnalogRssi.ino" with my old one with i used for RSSI trought raw channel 7. Also i changed your recommended changes in "OSD_Config.h" below....
(My receiver is a ezUhf and send RSSI through PPM channel 7.)

#OSD_Config.h#
remove #define RSSI_ON_FC
add #define ANALOG_RSSI_ON_MINIMOSD

Thanks for your hint....

Re: Source code for Minoposd
« Reply #4 on: January 04, 2016, 10:33:47 pm »
Wow.  My bookmarks are overflowing with just the questions that Laurent has answered that I know I may want to know in the future.

:)

Re: Source code for Minoposd
« Reply #5 on: March 06, 2016, 12:57:48 pm »
I Laurent,  I found the source code.  I am trying to modify the offset of amperage reading to use it an cc3d.  I am compiling the code source but i got some error.  I am not a C++ programmer and i may be wrong but the code have some compiling issue at osd area.  I got error in this area:

class OSD : public BetterStream {
public:
    OSD(void);
    void init(v 

 Can you verify if the code source is ok .  I use arduino compiler.   Maybe i am not use the correct engine.    Excuse my english.  I am a guy from Québec. 

Re: Source code for Minoposd
« Reply #6 on: March 06, 2016, 01:05:54 pm »
I Laurent,  I found the source code.  I am trying to modify the offset of amperage reading to use it an cc3d.  I am compiling the code source but i got some error.  I am not a C++ programmer and i may be wrong but the code have some compiling issue at osd area.  I got error in this area:

class OSD : public BetterStream {
public:
    OSD(void);
    void init(v 

 Can you verify if the code source is ok .  I use arduino compiler.   Maybe i am not use the correct engine.    Excuse my english.  I am a guy from Québec.


I will use joystick to adjust the voltage and current setting.  it is perfect. i found we can go in setup mode when in the osd is in start up mode.  Regards to everybody of he team of librepilot.

f5soh

  • *****
  • 4572
    • LibrePilot
Re: Source code for Minoposd
« Reply #7 on: March 06, 2016, 01:17:40 pm »
yes, offset and scale can be set in setup screen.

Current source should compile using 1.0.4 or 1.0.5 old Arduino versions

Re: Source code for Minoposd
« Reply #8 on: March 06, 2016, 03:33:28 pm »
Back in time when I had Ezuhf the RSSI never worked with minimosd/minposd. I tried converters and anything. Same with some models of FrSky.
I think the signal frequency is just too fast for Ardu.

kennyevo

  • ***
  • 101
Re: Source code for Minoposd
« Reply #9 on: March 21, 2016, 07:22:49 pm »
Hi!
I can't compile the code with arduino 1.0.4:

Quote
In file included from ArduCam_Max7456.cpp:2:
ArduCam_Max7456.h:86: error: expected class-name before '{' token
ArduCam_Max7456.h:92: error: 'uint8_t' has not been declared
ArduCam_Max7456.h:92: error: 'uint8_t' has not been declared
ArduCam_Max7456.h:95: error: 'uint8_t' has not been declared
ArduCam_Max7456.h:98: error: 'uint8_t' has not been declared
ArduCam_Max7456.h:98: error: 'uint8_t' has not been declared
ArduCam_Max7456.h:105: error: 'size_t' does not name a type
ArduCam_Max7456.h:106: error: 'uint8_t' has not been declared
ArduCam_Max7456.h:107: error: 'BetterStream' has not been declared
ArduCam_Max7456.h:109: error: 'uint8_t' does not name a type
ArduCam_Max7456.cpp: In member function 'void OSD::init()':
ArduCam_Max7456.cpp:35: error: 'video_mode' was not declared in this scope
ArduCam_Max7456.cpp: In member function 'void OSD::setMode(int)':
ArduCam_Max7456.cpp:87: error: 'video_mode' was not declared in this scope
ArduCam_Max7456.cpp:88: error: 'video_center' was not declared in this scope
ArduCam_Max7456.cpp: In member function 'int OSD::getMode()':
ArduCam_Max7456.cpp:101: error: 'video_mode' was not declared in this scope
ArduCam_Max7456.cpp: In member function 'int OSD::getCenter()':
ArduCam_Max7456.cpp:118: error: 'video_center' was not declared in this scope
ArduCam_Max7456.cpp: At global scope:
ArduCam_Max7456.cpp:141: error: prototype for 'void OSD::setPanel(uint8_t, uint8_t)' does not match any in class 'OSD'
ArduCam_Max7456.h:92: error: candidate is: void OSD::setPanel(int, int)
ArduCam_Max7456.cpp: In member function 'void OSD::openPanel()':
ArduCam_Max7456.cpp:157: error: 'row' was not declared in this scope
ArduCam_Max7456.cpp:157: error: 'col' was not declared in this scope
ArduCam_Max7456.cpp: In member function 'void OSD::closePanel()':
ArduCam_Max7456.cpp:186: error: 'row' was not declared in this scope
ArduCam_Max7456.cpp: At global scope:
ArduCam_Max7456.cpp:191: error: prototype for 'void OSD::openSingle(uint8_t, uint8_t)' does not match any in class 'OSD'
ArduCam_Max7456.h:98: error: candidate is: void OSD::openSingle(int, int)
ArduCam_Max7456.cpp:215: error: no 'size_t OSD::write(uint8_t)' member function declared in class 'OSD'
ArduCam_Max7456.cpp:229: error: prototype for 'void OSD::control(uint8_t)' does not match any in class 'OSD'
ArduCam_Max7456.h:95: error: candidate is: void OSD::control(int)
ArduCam_Max7456.cpp:246: error: prototype for 'void OSD::write_NVM(int, uint8_t*)' does not match any in class 'OSD'
ArduCam_Max7456.h:106: error: candidate is: void OSD::write_NVM(int, int*)

EDIT:
Nevermind, found out that I have to copy the libraries from the minimosd source folder to the arduino libraries folder
« Last Edit: March 21, 2016, 07:38:10 pm by kennyevo »

Karver

  • *
  • 6
Re: Source code for Minoposd
« Reply #10 on: April 07, 2016, 07:17:52 pm »
Is there a chance you could post your AnalogRssi.h and .ino files. I am having similar trouble getting OSD to read from a function channel as well.