|
|
|
|
||
|
New Zealand, Auckland, Waitakere
Joined Jan 2012
39 Posts
|
Is there any way what you have done could be tweeked to work on spektrum?
Quote:
|
|
|
||
|
|
|||
|
|
Hi,
I finally managed to build mine. I added a voltage divider to have a 1V signal to feed the video transmitter. Here is a test with my FPV Funcub.
In the middle right datas you can follow the first on top, which is accelerometer estimated vertical velocity. Seems KK vario works down to about 500cm/sec dive and then it switches to a default tone. On the climbing side, seems to work up to about 500cm/sec. Very sensitive and usable. I will put it in an FPV glider now and maybe build another one or two for visual piloting. Thanks Kapteinkuk for a great device ! Best regards, Ric |
||
|
|||
|
|
|
|
|
I finally gave up on getting my PIC to do 64 bit math...
![]() I got my hands on an OSEPP Arduino Nano. Now we're rocking. ![]() Cut/Paste Kap's original files. It works once I changed the I2C address from 0x77 to 0x76. My module has the MS5607 and it's wired with the different address. I'd post a video, but it works exactly as Kap's video shows, except that I still have to put together the down-link RF section. Thanks Kap!! |
|
|
|
|
|
|
|
If you mean the 0x77 changed to 0x76...
0x... means Hexadecimal value of the address. 0x77 in Hex is "111 0111" in bianary and 0x76 in hex is "111 0110'. The least significant bit is an optional hardware change that affects the address. So, Kap's sensor was hardware wired for 0x77, while my somewhat different hardware (board) was wired for 0x76. The datasheet on the MS5611 and MS5607 explains this. All I knew was that it was failing to read any data from the sensor, so I checked the address options and tried the only other logical address. Thanks to Kap's 'trusted' code, I knew it couldn't be anything else... after I double checked my wiring .Part of Kap's code and places I found the 0x77 address that I changed to 0x76: ... long getData(byte command, byte del) { long result = 0; twiSendCommand(0x77, command); delay(del); twiSendCommand(0x77, 0x00); Wire.requestFrom(0x77, 3); if(Wire.available()!=3) Serial.println("Error: raw data not available"); for (int i = 0; i <= 2; i++) { result = (result<<8) | Wire.read(); } return result; } void setupSensor() { twiSendCommand(0x77, 0x1e); delay(100); for (byte i = 1; i <=6; i++) { unsigned int low, high; twiSendCommand(0x77, 0xa0 + i * 2); Wire.requestFrom(0x77, 2); if(Wire.available()!=2) Serial.println("Error: calibration data not available"); high = Wire.read(); low = Wire.read(); ... |
|
|
|
|
Joined Jul 2007
48 Posts
|
Hey Guys,
I just bought a APM 2.5 (http://diydrones.com/) which is an adruino based board that already has that sensor on it. I will use the APM as my flight controller to fly FPV (with minimOSD that reads the board) and I was wondering how hard it is to port this to the APM. It would be great to fly FPV in a thermal with a APM + OSD (maybe vario display) + the vario sound. If you add a beeper to the board on the plane, it should be possible to capture this sound through a mic and send it back together with the video that you are already transmitting anyways. Regards, Bas |
|
|
|
|
|
|
|
@BasTijs: The MininOSD-Extra firmware for the Minim osd already has Vario support built in. So I don't think you need anything added to the APM code to support it.
Link to MinimOSD-Extra project: https://code.google.com/p/minimosd-extra/ Regards, Thomas |
|
|
|
|
||
|
Joined Jul 2007
48 Posts
|
Quote:
|
|
|
||
|
|
|
|
|
Hi,
I've just build my #2 vario. This time it is equipped with 433MHz tx - rx and dedicated audio circuit, with speaker or headphones selectable. Here are some more pictures. Best regards, Ric |
|
|
|
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| New Product DIY OpenPilot based FlightControl (F4) | lilvinz | Multirotor Electronics | 266 | May 17, 2013 07:27 AM |
| Mini-HowTo DIY arduino twin video receiver diversity controller. Updates allways in post #1 | Richard_s | Video Piloting (FPV/RPV) | 131 | Apr 26, 2013 03:26 PM |
| Idea DIY Video Diversity with Arduino - Please Review! | MayMayDay | Video Piloting (FPV/RPV) | 2 | Sep 23, 2012 12:36 PM |
| Discussion Arduino based IR tag module for combat | sh4nce | Electric Combat | 34 | Sep 10, 2012 01:21 AM |
| Help! Engineering student and first arduino based build? | cad2blender | UAV - Unmanned Aerial Vehicles | 3 | May 17, 2012 07:59 AM |