Espritmodel.com Telemetry Radio
Reply
Thread Tools
Old Yesterday, 12:16 AM
Registered User
GLADUS63's Avatar
France, Limousin, Limoges
Joined Jul 2009
1,179 Posts
Quote:
Originally Posted by Vantasstic View Post
..plus a spare. Try as I might I've failed to kill the first...I wonder what the life span is of elapor type foam???
I can shorten it for you !
GLADUS63 is offline Find More Posts by GLADUS63
RCG Plus Member
Sign up now
to remove ads between posts
Old Yesterday, 04:46 AM
Just clumsy. Oh, forgetful too
MikeTheCrash's Avatar
undefined
Joined Jun 2008
3,191 Posts
Quote:
Originally Posted by Cyprusflyer View Post
A lot of bench testing going on with the Arduino Txlator, for some strange reason I had to put the baud rate back to 38400, crazy but it was outputting nonsense on the serial monitor port, that fixed it.
Now I found that the DOSD was not picking up the IMU consistently, it only does that on booting up, as the serial data was good every time, I thought that maybe the timing of the I2C join request was a bit critical so introduced a 2 second delay there that has made it a lot more consistent:

void setup()
{
Serial.begin(38400);

pinMode(2, OUTPUT); //Serial Mux
digitalWrite(2, HIGH); //Serial Mux
pinMode(LED_RED, OUTPUT); // Red LED
pinMode(LED_BLUE, OUTPUT); // Blue LED
pinMode(LED_YELLOW, OUTPUT); // Yellow LED

slave_setup();

Serial.println("FY-30A AHI for DOSD V2+ by 'gytiswb' (www.rcdreams.lt) v1.0\r\n");
delay(2000);
Wire.begin();

this doesn't work for me, I just get a static horizon. Reverting to previous FW until I find my error!
MikeTheCrash is online now Find More Posts by MikeTheCrash
Reply With Quote
Old Yesterday, 02:55 PM
Registered User
Joined Feb 2013
168 Posts
Quote:
Originally Posted by MikeTheCrash View Post
this doesn't work for me, I just get a static horizon. Reverting to previous FW until I find my error!
Mike, thats odd, static horizon means that roll and pitch is not being sent across but DOSD is picking up the I2C address for the IMU. Something really strange happened to me in that I changed the speed to the AP30 to 19200, worked fine, then a few days later I had to change it to 38400 as Virgis had it. The clue was monitoring the serial output from the Arduino. I do not have an explanation for this but my last effort uploaded and has not failed at all now, loads of bench testing and fresh boot ups done, I would say its 100% for me.
BTW monitored an AP31 for interest, on the way to reverse engineer, the format, its not as simple as there are 4 sentences in byte format that are sent out, I have found the header, sentence length byte and end of sentence marker. Just need to find out what each byte does, may reverse the problem and make a program to vary each byte and send to the Hornet OSD and watch what happens. Cant think of any RS232 analyser that can do this.

Post edit: found the speed glitch problem, I first used my desktop to program the device and selected the correct board in the Arduino environment. Then working in my shed, I switched to my Laptop and forgot to select the correct Aduino mini board, I had Duemilanove w/Atmega328P selected. Aha, so the Arduino clock divide registers will be different when compiled, this gave me the clue: http://forum.arduino.cc/index.php/topic,46458.0.html
So select the correct Arduino in the environment and the Baud rate should be 19200, thank god I wasnt going crackers then!
Cyprusflyer is online now Find More Posts by Cyprusflyer
Last edited by Cyprusflyer; Yesterday at 03:19 PM.
Reply With Quote
Reply


Thread Tools

Similar Threads
Category Thread Thread Starter Forum Replies Last Post
Discussion Dragon OSD Level Flight FPV Talk 22 Dec 31, 2013 08:08 PM
For Sale New Intelligent Flight Dragon OSD bfischer Aircraft - General - Miscellaneous (FS/W) 7 Jul 19, 2010 11:56 AM
Discussion FS Ready to fly Intelligent Flight Dragon OSD bfischer FPV Talk 0 Mar 03, 2010 05:57 AM
Discussion RV OSD or Dragon OSD djdaveq FPV Talk 1 Feb 06, 2009 12:18 AM
Discussion RV OSD and Dragon OSD - so near to being Really good! magnetman FPV Talk 8 Nov 11, 2008 05:13 AM