Search found 27 matches

by Maine_Guy
Sun Sep 17, 2017 2:41 am
Forum: General discussions
Topic: how to setup 3 axis gimbal with multiwii? heading lock?
Replies: 10
Views: 4808

Re: how to setup 3 axis gimbal with multiwii? heading lock?

I know this thread is old... but I still found it helpful. I altered the code slightly to use the yaw to make a simple gimbal to correct for that instead of roll. Just altered this one line of code: if (rcOptions[BOXCAMSTAB]) { servo[0] += ((int32_t)conf.servoConf[0].rate * att.angle[PITCH]) /50L; /...
by Maine_Guy
Fri Dec 09, 2016 4:52 am
Forum: Getting Started - MultiWii config and setup
Topic: OLED LCD Telemetry Setup help?!
Replies: 5
Views: 1605

Re: OLED LCD Telemetry Setup help?!

Why does telemetry debug have a big warning: "do NOT fly with this activated"? Does it slow the processor?

I'd like to always display telemetry - is there a reason not to?
by Maine_Guy
Fri Dec 09, 2016 4:15 am
Forum: Shields, boards and sensors
Topic: I2C OLED thread
Replies: 62
Views: 30739

Re: I2C OLED thread

OK, if anyone else is tinkering around with a OLED board - I found the init function in LCD.cpp needed to be changed. I borrowed this from another program (GOFi2cOLED) - but it makes my screen work. In lcd.cpp find this function and replace it with the code below - not sure how this initializes diff...
by Maine_Guy
Tue Oct 20, 2015 6:04 pm
Forum: Software development
Topic: FRSKY telemetry integration into Multiwii 2.4 has started
Replies: 71
Views: 11697

Re: FRSKY telemetry integration into Multiwii 2.4 has starte

So, I've updated the code to support the opentx output. I've been hi-jacking telemetry output to give me feedback on various operational parameters - like PID settings.. etc. I've tried to output data on the GPS altitude telemetry variable - with no luck. I'm trying to output the althold variable (a...
by Maine_Guy
Fri Jun 05, 2015 6:14 pm
Forum: Software development
Topic: Sonar HC-SR04 Support now implemented in MW2.4
Replies: 101
Views: 39292

Re: Sonar HC-SR04 Support now implemented in MW2.4

Trying to piece together how this code works a bit more. When I output the SONAR altitude in my taranis display, the numbers seem off, although the altitude in MultiWiiconf seems accurate. in the code that calls the sonar I see this - this does not seem to match my understanding of turning the cycle...
by Maine_Guy
Thu Jun 04, 2015 8:04 pm
Forum: Software development
Topic: inflight ROLL + PITCH PID tuning.
Replies: 7
Views: 2040

Re: inflight ROLL + PITCH PID tuning.

Thanks for sharing, got this implemented and functioning. I added some functionality. I added a few lines of code to extract the PID levels and send them back via telemetry. The PID levels are stored in variables (like PIDtelemetryP) - then spit out via SBUS telemetry back to my radio. I used these ...
by Maine_Guy
Tue Jun 02, 2015 7:03 pm
Forum: Software development
Topic: Sonar HC-SR04 Support now implemented in MW2.4
Replies: 101
Views: 39292

Re: Sonar HC-SR04 Support now implemented in MW2.4

Finally got this working!! Had to upgrade my board to a HK version of the AIOP. I even get the SONAR readings back at the transmitter via telemetry now (thru hijacked RPM telemetry output). I had issues getting the SONAR board powered. Thru the USB port - it would not work. The only way to get it wo...
by Maine_Guy
Sun May 31, 2015 1:58 pm
Forum: Ideas
Topic: Direct Frsky telemtry data from MW FC
Replies: 359
Views: 1020797

Re: Direct Frsky telemtry data from MW FC

Got it working, updated my post above. I built a voltage divider for the output signal - reattached, no telemetry. I then tried removing the voltage divider (just raw FC power through the HK inverter) and telemetry worked! My power volatge for the FC reported voltage from a USB computer connection i...
by Maine_Guy
Fri May 29, 2015 6:03 pm
Forum: Software development
Topic: FRSKY telemetry integration into Multiwii 2.4 has started
Replies: 71
Views: 11697

Re: FRSKY telemetry integration into Multiwii 2.4 has starte

What should be changed for what purpose? Just mentioning that you need more than just the telemetry.cpp / h Which one do you mention? Do you have a link? What kind of display do you use FLD-02 or the transmitter's display? I'm (attempting to) display on my Taranis. I have the HK inverter. http://ww...
by Maine_Guy
Fri May 29, 2015 4:32 am
Forum: Ideas
Topic: Direct Frsky telemtry data from MW FC
Replies: 359
Views: 1020797

Re: Direct Frsky telemtry data from MW FC

Maine_Guy wrote:-I've attached the short side to serial 3 on my FC - which is wired to the vcc / gnd / tx


I believe this is the source of my error. Vcc does not = 4.5v

I understand the inverter a bit better now - if I power the inverter with board voltage (4.5) instead of 3.3 - I assume that will work?
by Maine_Guy
Thu May 28, 2015 6:25 pm
Forum: Software development
Topic: FRSKY telemetry integration into Multiwii 2.4 has started
Replies: 71
Views: 11697

Re: FRSKY telemetry integration into Multiwii 2.4 has starte

I got them at the 'shared' trunk. A PIA to download without additional software. https://code.google.com/p/multiwii/source/browse/#svn%2Ftrunk%2FMultiWii_shared I wound up 'viewing raw file' then saving each individually. You also need some code changes in other files - if that's not obvious. I'm st...
by Maine_Guy
Thu May 28, 2015 3:24 pm
Forum: Ideas
Topic: Direct Frsky telemtry data from MW FC
Replies: 359
Views: 1020797

Re: Direct Frsky telemtry data from MW FC

UPDATED TEXT I finally upgraded my FC to the AIO Pro board - mostly to get telemetry working. I am trying to pass the telemetry data to my Frsky D8r II plus through the HK zyx inverter cable. this one: m temp aio.jpg -I've attached the short side to serial 3 on my FC - which is wired to the vcc / g...
by Maine_Guy
Tue May 12, 2015 3:46 am
Forum: Software development
Topic: Sonar HC-SR04 Support now implemented in MW2.4
Replies: 101
Views: 39292

Re: Sonar HC-SR04 Support now implemented in MW2.4

An update - getting the Leonardo / HK (ATmega32U4) board to share an interrupt vector is not trivial. I gave up. What board do people recommend to allow for sonar use? Not sure if anyone can answer this, on the Leonardo - I am seeing a conflict in using (in def.h) #define SONAR_GEP_EchoPin_PCINT_vec...
by Maine_Guy
Mon Apr 20, 2015 3:12 am
Forum: Software development
Topic: Sonar HC-SR04 Support now implemented in MW2.4
Replies: 101
Views: 39292

Re: Sonar HC-SR04 Support now implemented in MW2.4

Not sure if anyone can answer this, on the Leonardo - I am seeing a conflict in using (in def.h) #define SONAR_GEP_EchoPin_PCINT_vect PCINT0_vect // PCINT0-7 belog PCINT0_vect PCINT0_vect is also used as an interrupt for the RX This is a bit confusing, I assume the SONAR cannot share the interrupt v...
by Maine_Guy
Mon Apr 20, 2015 12:59 am
Forum: Software development
Topic: Sonar HC-SR04 Support now implemented in MW2.4
Replies: 101
Views: 39292

Re: Sonar HC-SR04 Support now implemented in MW2.4

HK sells a nice capacitor that can fix the noise / current draw of the SONAR. Plugs into a spare port and just acts as a buffer for the the 'ping', I assume.
by Maine_Guy
Thu Apr 16, 2015 3:47 am
Forum: Software development
Topic: Off-Center Installation
Replies: 8
Views: 712

Re: Off-Center Installation

Thanks for the explanation happul3. Appreciate the detailed response and shedding light on this subject. Trying to understand the code and basis of IMU operation is pretty intimidating. The vector math and translations are not exactly simple. Impressive actually. I've read several places that stress...
by Maine_Guy
Wed Apr 15, 2015 2:08 pm
Forum: Software development
Topic: Off-Center Installation
Replies: 8
Views: 712

Re: Off-Center Installation

never mind..... :)
by Maine_Guy
Wed Apr 15, 2015 12:46 pm
Forum: Software development
Topic: Off-Center Installation
Replies: 8
Views: 712

Re: Off-Center Installation

It is vertical movement of the off-center acc resulting from tilting, isn't it? I think it is going to have even small effect on acceleration vector acc sees, so I neglected to discuss it. Nonetheless, the same arguments to why it would not matter apply: 1) It is only transitory effect, affecting t...
by Maine_Guy
Wed Apr 15, 2015 3:40 am
Forum: Software development
Topic: Off-Center Installation
Replies: 8
Views: 712

Re: Off-Center Installation

The gyros won't care about position, but the accelerometers are fooled. Take the case below: Accelerometer.jpg If the sensor were mounted on the wing tip - when the plane rolls, the sensor thinks the plane is gaining or losing altitude. The farther from center, the worse this is amplified. I believe...
by Maine_Guy
Tue Apr 14, 2015 3:18 pm
Forum: Software development
Topic: Off-Center Installation
Replies: 8
Views: 712

Off-Center Installation

Perhaps someone can steer me in the right direction to research this a bit more? Curious if anyone has attempted to apply correction values for an accelerometer that is not installed in the center of the airframe? I have an application that would put the sensing unit a fair distance from the center ...
by Maine_Guy
Wed Apr 08, 2015 5:58 pm
Forum: Software development
Topic: Sonar HC-SR04 Support now implemented in MW2.4
Replies: 101
Views: 39292

Re: Sonar HC-SR04 Support now implemented in MW2.4

deleted - misleading
by Maine_Guy
Sun Apr 05, 2015 5:07 am
Forum: Software development
Topic: Sonar HC-SR04 Support now implemented in MW2.4
Replies: 101
Views: 39292

Re: Sonar HC-SR04 Support now implemented in MW2.4

I have not had opportunity to play with the code further yet. On my board, a leonardo - pins 11 and 12 correspond (I think) to Pin 11 = MISO - (echo) Pin 12 = D11 - (trigger) I've been afraid to plug the SONAR in - in fear of letting the 'magic smoke' out. So, just because the program calls 'em 11 a...
by Maine_Guy
Sat Apr 04, 2015 3:44 am
Forum: Software development
Topic: Sonar HC-SR04 Support now implemented in MW2.4
Replies: 101
Views: 39292

Re: Sonar HC-SR04 Support now implemented in MW2.4

So very close (I think) I had corrected a few of those already. also, in types.h find: enum box { BOXARM, #if ACC BOXANGLE, BOXHORIZON, #endif add (at end?) #if SONAR BOXSONAR, #endif down to this error now, not sure how to call the external function?: MultiWii.cpp: In function 'void loop()': MultiW...
by Maine_Guy
Fri Apr 03, 2015 6:51 pm
Forum: Software development
Topic: Sonar HC-SR04 Support now implemented in MW2.4
Replies: 101
Views: 39292

Re: Sonar HC-SR04 Support now implemented in MW2.4

I worked on this a bit last night, will update with the errors I got. I took notes - but they are at home, I'm at work.. I *almost* got it to compile missing were: Variable declaration for a few of the variables - like adding the boxmode, and declaration for other variables. The last error I got was...
by Maine_Guy
Thu Apr 02, 2015 2:12 am
Forum: Software development
Topic: Sonar HC-SR04 Support now implemented in MW2.4
Replies: 101
Views: 39292

Re: Sonar HC-SR04 Support now implemented in MW2.4

So, are you using 'stock' code for those pins to work (11/12)? I can't figure out where the stock code assigns the pins.
by Maine_Guy
Thu Apr 02, 2015 1:21 am
Forum: Software development
Topic: Sonar HC-SR04 Support now implemented in MW2.4
Replies: 101
Views: 39292

Re: Sonar HC-SR04 Support now implemented in MW2.4

UPDATE: After much research - I've determined that implementing this on this particular HK board is near-impossible. I updated my base code to 2.4 - mostly hoping to use the sonar portion. Trying to connect a SFR04 board to my Multiwii_32U4_SE - which is connected like the sketch shown below. What p...
by Maine_Guy
Fri Mar 27, 2015 6:19 pm
Forum: Software development
Topic: 2.4 is finally here :)
Replies: 71
Views: 70542

Re: 2.4 is finally here :)

Looks great. I compiled it - but have not flown it yet. I've implemented this on an airplane, the flight characteristics are very nice. If I were to make a small donation, where should I send it? (knowing this is a loaded question). Not sure how this message board is funded - or who exactly is doing...