Search found 35 matches

by TheBum
Fri May 01, 2015 8:53 pm
Forum: Ideas
Topic: HOTT Telemetry integration
Replies: 63
Views: 36261

Re: HOTT Telemetry integration

I've virtually eliminated the loop time as a factor. I'm using hardware timer interrupts to trigger each byte's transmission. The only time delay that's related to loop time is the time from receipt of the request to the next loop iteration, at which time the hardware timer for the first transmissio...
by TheBum
Tue Apr 28, 2015 10:25 pm
Forum: Ideas
Topic: HOTT Telemetry integration
Replies: 63
Views: 36261

Re: HOTT Telemetry integration

I've been sidetracked by other projects. The last time I worked on it, I was having trouble with sensor types being consistently recognized by the transmitter on its initial polls. Even when they were recognized, GPS data would be bad every few seconds. I just need to find the time to analyze the pa...
by TheBum
Wed Apr 08, 2015 11:12 pm
Forum: Software development
Topic: 2.4 is finally here :)
Replies: 71
Views: 102139

Re: 2.4 is finally here :)

Good work on 2.4 - heading is computed even with no mag What does this mean? We now have some heading hold using just a gyro and accel as an option? If so how do we activate this feature or is it on all the time? The only method I can think of without a mag sensor is GPS, and then only when the mod...
by TheBum
Fri Apr 03, 2015 3:47 pm
Forum: Software development
Topic: MultiwiiConf 2.4 Graphical Enhancements
Replies: 19
Views: 9399

Re: MultiwiiConf 2.4 Graphical Enhancements

How about truncating the selected serial port name? It's likely not a problem on a PC, but on a Mac, the name can be rather long, which causes it to overflow into the PID area.
by TheBum
Fri Apr 03, 2015 3:27 pm
Forum: Software development
Topic: MultiwiiConf 2.4 Graphical Enhancements
Replies: 19
Views: 9399

Re: MultiwiiConf 2.4 Graphical Enhancements

Is there any way to make the Aux channel assignment boxes more easily clickable? I have to click the top edge of the box to get it to register. This is on a Mac.
by TheBum
Fri Mar 27, 2015 3:54 pm
Forum: Ideas
Topic: HOTT Telemetry integration
Replies: 63
Views: 36261

Re: HOTT Telemetry integration

Update: I've implemented interrupt-driven transmission of binary telemetry data and text data using Timer0. The only sacrifices I had to make were with the Pro Mini, as follows: 1. It won't work with octocopters on a Pro Mini. 2. Hexcopters on a Pro Mini will fall back to software PWM for motors 5 a...
by TheBum
Wed Mar 25, 2015 3:10 am
Forum: Software development
Topic: 2.4 is finally here :)
Replies: 71
Views: 102139

Re: 2.4 is finally here :)

Hamburger wrote:I do not think it would justify a recall of v2.4, but I will take a closer look for v2.5. Thanks.

I don't either, but it needed to be pointed out IMO.
by TheBum
Tue Mar 24, 2015 6:36 pm
Forum: Software development
Topic: 2.4 is finally here :)
Replies: 71
Views: 102139

Re: 2.4 is finally here :)

There's a documentation typo in 2.4 that was there in 2.3 and, being the anal-retentive person I am, it's driving me nuts. In MultiWii.cpp, the comment at the end of the following line is wrong: pMeter[PMOTOR_SUM] += ((currentTime-lastRead) * (uint32_t)((uint32_t)powerValue*conf.pint2ma))/100000; //...
by TheBum
Tue Mar 24, 2015 4:36 pm
Forum: Software development
Topic: 2.4 is finally here :)
Replies: 71
Views: 102139

Re: 2.4 is finally here :)

I'll add my $0.02 to the amperage discussion. I chose to go with a 50A Hall effect sensor for my mini quad and the resolution works out to 61.25mA (80mV/A). I don't think you'll get much lower than that, and higher rated sensors will be even worse. Therefore, 100mA resolution on the display should b...
by TheBum
Thu Mar 19, 2015 4:28 pm
Forum: Ideas
Topic: Direct Frsky telemtry data from MW FC
Replies: 359
Views: 1159688

Re: Direct Frsky telemtry data from MW FC

Some possible common functions I can think of are a setup function (called from the MultiWii.cpp setup() function), an arm function, a disarm function, and a "check" function. Calls for the first three should be able to be placed in static locations in the code. The "check" funct...
by TheBum
Wed Mar 18, 2015 4:39 pm
Forum: Shields, boards and sensors
Topic: Voltage sensor with improved resolution for MultiWii
Replies: 36
Views: 18712

Re: Voltage sensor with improved resolution for MultiWii

Also, the first resistor serves as a current limiter to prevent overloading the Arduino Pin. The Arduino pin should have a very high impedance, so I don't see it getting overloaded. However, you need the first resistor after the Zener to form part of the low pass filter that removes noise (the cap ...
by TheBum
Tue Mar 17, 2015 2:04 am
Forum: Software development
Topic: 2.4 is finally here :)
Replies: 71
Views: 102139

Re: 2.4 is finally here :)

reference version to compile sketch - MultiWii sketch : windows version of Arduino IDE 1.6.1 - MultiWiiConf : processing 1.5.1 with modified verison of ControlP5 to remove blue triangles in value box Is the Mac version of Arduino 1.6.1 excluded because it's broken? I upgraded to 1.6.1 and had to go...
by TheBum
Mon Mar 16, 2015 4:20 pm
Forum: Software development
Topic: 2.4 is finally here :)
Replies: 71
Views: 102139

Re: 2.4 is finally here :)

reference version to compile sketch - MultiWii sketch : windows version of Arduino IDE 1.6.1 - MultiWiiConf : processing 1.5.1 with modified verison of ControlP5 to remove blue triangles in value box Is the Mac version of Arduino 1.6.1 excluded because it's broken? I upgraded to 1.6.1 and had to go...
by TheBum
Sun Mar 15, 2015 2:06 am
Forum: Software development
Topic: Goggle Code is Shutting down.
Replies: 16
Views: 8580

Re: Goggle Code is Shutting down.

Alexinparis wrote:I really did not expect this.

It doesn't surprise me a bit. How many popular services has Google created that they suddenly discontinued?
by TheBum
Fri Mar 13, 2015 8:45 pm
Forum: Software development
Topic: Change Motor Pin Order
Replies: 9
Views: 6092

Re: Change Motor Pin Order

Yeah, the PROMICRO code is especially convoluted because it has to make lemonade out of lemons (limited resources). The PROMINI code is a little less convoluted. That's one advantage I've seen to using a Mega: there aren't any special cases that depend on number of motors and number of servos; there...
by TheBum
Fri Mar 13, 2015 4:17 pm
Forum: Software development
Topic: FrSky S.Port Data into MultiWii, MSP & OSD (inc. cell graph)
Replies: 78
Views: 24817

Re: FrSky S.Port Data into MultiWii, MSP & OSD (inc. cell gr

Then I would suggest you add prevalent banners at the beginning and end of the S.Port code (and that suggestion applies to any other device-specific code that comes later from whomever). That way, sections of contiguous device-specific code can easily be found or skipped while doing a quick scan of ...
by TheBum
Thu Mar 12, 2015 8:48 pm
Forum: Software development
Topic: FrSky S.Port Data into MultiWii, MSP & OSD (inc. cell graph)
Replies: 78
Views: 24817

Re: FrSky S.Port Data into MultiWii, MSP & OSD (inc. cell gr

My main criticism right off the bat is adding all that code to Protocol.cpp. It adds a lot of clutter and makes the file more difficult to wade through, especially for a capability with such a small audience. I'd prefer the code of that magnitude be in its own source file with calls into it from Pro...
by TheBum
Tue Mar 10, 2015 8:00 pm
Forum: Software development
Topic: Change Motor Pin Order
Replies: 9
Views: 6092

Re: Change Motor Pin Order

I've been going through the Output.cpp code to find out if I can steal one of the timers for HoTT telemetry transmission, so I'm beginning to develop an understanding for how motor and servo output works. I can understand why someone hasn't come up with clear instructions; the code is pretty intimid...
by TheBum
Mon Mar 09, 2015 11:14 pm
Forum: Frames
Topic: help materials fabricated frame
Replies: 1
Views: 3386

Re: help materials fabricated frame

My quad frame is made out of thin plywood. If you sandwich it with side supports and gaps for electronics, it can be reasonably strong.
by TheBum
Mon Mar 09, 2015 11:05 pm
Forum: Software development
Topic: Change Motor Pin Order
Replies: 9
Views: 6092

Re: Change Motor Pin Order

You'll likely have to change PWM_PIN and writeMotors(). Do you know what Arduino board type it is?
by TheBum
Mon Mar 09, 2015 6:53 pm
Forum: Software development
Topic: Graupner SJ Hott SUMD protocol
Replies: 9
Views: 6014

Re: Graupner SJ Hott SUMD protocol

You should be able to use a Y-adapter on the SUMD output of the receiver to run the SUMD signal to both places. Communication is only one way and, fortunately, the right way to allow this.
by TheBum
Wed Mar 04, 2015 9:48 pm
Forum: Software development
Topic: pre 2.4 version r1729
Replies: 100
Views: 49576

Re: pre 2.4 version r1729

Can anyone tell me where I can read about code structure of Multiwii. I want to make small changes to the code, but I do not understand structure of the code. Can someone help me with that? You have to get an understanding of Arduino programming to really understand how the routines in MultiWii get...
by TheBum
Wed Mar 04, 2015 6:57 pm
Forum: Software development
Topic: pre 2.4 version r1729
Replies: 100
Views: 49576

Re: pre 2.4 version r1729

Can anyone tell me where I can read about code structure of Multiwii. I want to make small changes to the code, but I do not understand structure of the code. Can someone help me with that? You have to get an understanding of Arduino programming to really understand how the routines in MultiWii get...
by TheBum
Wed Mar 04, 2015 12:42 am
Forum: Ideas
Topic: Direct Frsky telemtry data from MW FC
Replies: 359
Views: 1159688

Re: Direct Frsky telemtry data from MW FC

I'm already assuming this approach with the modifications I'm making to the old HoTT telemetry code, so merging it in should be somewhat simple.

The HoTT code is pretty large, so I'd still like to keep the bulk of it in a separate source file to keep from cluttering Protocol.cpp too much.
by TheBum
Tue Mar 03, 2015 7:00 pm
Forum: Ideas
Topic: HOTT Telemetry integration
Replies: 63
Views: 36261

Re: HOTT Telemetry integration

I've been working through the 2.1 HoTTv4 code, trying to get it adapted to 2.4pre, and I don't much care for all the delays causing skipped frames. It seems to me that if the HoTT telemetry protocol requires ~2ms between bytes and can go up to 4ms (per previous posts), and the MultiWii frame period ...
by TheBum
Mon Mar 02, 2015 7:23 pm
Forum: Ideas
Topic: HOTT Telemetry integration
Replies: 63
Views: 36261

Re: HOTT Telemetry integration

Resurrecting an old thread because the issue still exists on 2.3 and, soon, on 2.4. Has anybody adapted the code to run on 2.3 or 2.4pre? I see a movement afoot to incorporate FrSky telemetry, but HoTT telemetry has been left to languish. The GitHub page apparently hasn't been updated in ages: the l...
by TheBum
Fri Feb 27, 2015 7:46 pm
Forum: Shields, boards and sensors
Topic: Multiwii pro 2.1 resets ACC after power cycle
Replies: 2
Views: 1292

Re: Multiwii pro 2.1 resets ACC after power cycle

The first question I have is why are you running 2.1? I'm fairly new to this MultiWii stuff myself, but I'm sure a lot of improvements and fixes have been made between 2.1 and 2.3.
by TheBum
Fri Feb 27, 2015 5:43 pm
Forum: Connecting elements
Topic: JST-SH connectors are flustering me
Replies: 0
Views: 1042

JST-SH connectors are flustering me

I'm attempting to build a serial cable to connect a Bluetooth 4.0 module to a RTFQ MultWii Pro Mini through the serial_0 JST-SH socket. I have a suitable crimper and can get pretty good crimps, but trying to get the contacts pushed into the housing is causing me no small amount of grief. The "w...
by TheBum
Thu Feb 26, 2015 9:11 pm
Forum: Shields, boards and sensors
Topic: Someone please help me with sonar
Replies: 6
Views: 2290

Re: Someone please help me with sonar

ajmoore0351 wrote:How do I encorporate it into altitude hold?

Based on the comment at the top of that code block, you can't. Sonar poses a lot of challenges, not the least of which is scattering when flown over grass. I'm not surprised it hasn't been incorporated in the control loop yet.
by TheBum
Thu Feb 26, 2015 12:29 am
Forum: Getting Started - MultiWii config and setup
Topic: mini mega 3.5
Replies: 3
Views: 1263

Re: mini mega 3.5

I think you mean "Flip Mega 3.5". If it's like the Flip 1.5 from a power standpoint, power comes from one or more of the ESCs. I know a few people, including myself, who have connected all four ESCs to a Flip 1.5 without removing the red wire from any of them and have had no issues.
by TheBum
Sat Feb 21, 2015 9:18 pm
Forum: Software development
Topic: MultiWii GUI on iOS
Replies: 5
Views: 2850

Re: MultiWii GUI on iOS

I have an HM-10 module on the way from China.
by TheBum
Mon Feb 16, 2015 9:03 pm
Forum: Software development
Topic: MultiWii GUI on iOS
Replies: 5
Views: 2850

Re: MultiWii GUI on iOS

What are some current BLE modules that will work with a MultiWii Mega board and this app? Most of the module information I could find was a couple of years old.
by TheBum
Mon Dec 15, 2014 11:19 pm
Forum: Software development
Topic: Graupner/SJ SUMD serial receiver addition
Replies: 20
Views: 8395

Re: Graupner/SJ SUMD serial receiver addition

Pre-2.4 r1729 does appear to have fixed the serial issue. As long as I left the USB cable disconnected for several seconds, the OLED and the channel telemetry looked good. The display would come up with what looked like a star field if USB was connected.
by TheBum
Tue Dec 09, 2014 12:23 am
Forum: Software development
Topic: pre 2.4 version r1729
Replies: 100
Views: 49576

Re: pre 2.4 version r1729

Is there any reason the serialCom() invocation code in the SPEKTRUM version of readSerial_RX() couldn't also be used in the SUMD version of that function? I'll try to give it a test this evening. It worked...sorta. The update rate in the GUI is really low, so it's far from an ideal solution. I shou...
by TheBum
Wed Dec 03, 2014 10:03 pm
Forum: Software development
Topic: pre 2.4 version r1729
Replies: 100
Views: 49576

Re: pre 2.4 version r1729

Is there any reason the serialCom() invocation code in the SPEKTRUM version of readSerial_RX() couldn't also be used in the SUMD version of that function? I'll try to give it a test this evening.