Search found 457 matches

by mr.rc-cam
Thu Nov 06, 2014 6:17 pm
Forum: Getting Started - MultiWii config and setup
Topic: Barely any (no) vertical control on takeoff rockets off!
Replies: 6
Views: 463

Re: Barely any (no) vertical control on takeoff rockets off!

Are you sure the Z-axis sensor data is not inverted? I suggest you use the MultiwiConf and confirm your sensor values are moving in the correct directions for all axis.

- Thomas
by mr.rc-cam
Fri Oct 31, 2014 7:13 pm
Forum: Software
Topic: Baseflight aka multiwii port to stm32
Replies: 1036
Views: 2315785

Re: Baseflight aka multiwii port to stm32

Baseflight 231, Oct 24 version: I ran into an issue with using Frsky TELEMETRY && SOFTSERIAL and a current sensor. When I select telemetry_port=1 the pin on RC CH8 is accidentally set to be a output with a logic high pin state (which disables the ADC feature on that pin). This interferes wit...
by mr.rc-cam
Sun Sep 08, 2013 4:48 am
Forum: Ideas
Topic: 0.96" SSD1306 128X64 OLED Display Module
Replies: 207
Views: 170747

Re: 0.96" SSD1306 128X64 OLED Display Module

The wiki says that LCDassistant.exe is available at m. But I can't find it there. So I need some help locating a copy I can download. Edit: I found it here: m To use the .h output file with MWC you will need to change From: const unsigned char LOGO [] = { To: const uint8_t PROGMEM LOGO[] = { - Thomas
by mr.rc-cam
Mon Oct 15, 2012 8:41 pm
Forum: General discussions
Topic: Can only arm quad with aux switches!! NOT with sticks combo!
Replies: 11
Views: 8423

Re: Can only arm quad with aux switches!! NOT with sticks co

Stick arming will not occur if the ACC sensor has not been successfully calibrated or the unarmed model is tilted. Your ACC values suggest you need to check those things. Also the switch arming must be disabled (no arm box checked in GUI).
by mr.rc-cam
Thu Aug 30, 2012 6:15 am
Forum: MultiWii tweaking - flying experience
Topic: [Problem] Not taking off, just hops - SOLVED
Replies: 9
Views: 1454

Re: [Problem] Not taking off, just hops

in addition to Tovrin's comments ... 1. Check to make sure the props are on correctly. Embossed printing on top, blade orientation and rotation per the FAQ. 2. Recalibrate the ESC's per the FAQ. This is an important step. 3. In config.h, change MAXTHROTTLE to 1950. 4. Install a freshly charged 30c o...
by mr.rc-cam
Wed Aug 15, 2012 9:45 pm
Forum: Ideas
Topic: Copter does not arm when it's not upright & level
Replies: 1
Views: 429

Re: Copter does not arm when it's not upright & level

The ACC's level test is found in the main sketch as follows: if ( currentTime > calibratedAccTime ) { if (! f.SMALL_ANGLES_25) { // the multi uses ACC and is not calibrated or is too much inclinated f.ACC_CALIBRATED = 0; LEDPIN_TOGGLE; calibratedAccTime = currentTime + 500000; } else { f.ACC_CALIBRA...
by mr.rc-cam
Wed Aug 15, 2012 3:19 am
Forum: Shields, boards and sensors
Topic: XAircraft Pilot Lamp Accessory Hack
Replies: 96
Views: 16693

Re: XAircraft Pilot Lamp Accessory Hack

Sorry to hear that the Pilot Lamp died. These sort of unexpected events can really be frustrating!

- Thomas
by mr.rc-cam
Thu Aug 09, 2012 10:14 pm
Forum: Shields, boards and sensors
Topic: XAircraft Pilot Lamp Accessory Hack
Replies: 96
Views: 16693

Re: XAircraft Pilot Lamp Accessory Hack

I suggest minimizing any patterns and try to stick with static indications where possible. For example: Steady Green: Level Mode. Steady Yellow: Acro Mode. Steady Red: Failsafe or lost signal. Slow Red Blink: Disarmed. Slow Beep: Battery Low Single short beep: An AUX Switch was activated/deactivated...
by mr.rc-cam
Thu Aug 09, 2012 7:13 pm
Forum: Shields, boards and sensors
Topic: XAircraft Pilot Lamp Accessory Hack
Replies: 96
Views: 16693

Re: XAircraft Pilot Lamp Accessory Hack

The code generates a squarewave signal that is four cycles long. This was found to be the minimum required cycle count. The waveform is software bit-banged. This will require MWC cycle time. It is important to minimize the Pilot Lamp activity so that the cycle time is not inflated. For example, if y...
by mr.rc-cam
Tue Aug 07, 2012 5:40 pm
Forum: Shields, boards and sensors
Topic: XAircraft Pilot Lamp Accessory Hack
Replies: 96
Views: 16693

Re: XAircraft Pilot Lamp Accessory Hack

If you mean the LED on/off timing or beeper on/off cadence changes due to cycle-time, then the issue should not be related to this particular code. This code generates a short waveform to trigger the Pilot Lamp. It can be affected by too many hardware interrupts (which would depend on the model's co...
by mr.rc-cam
Mon Aug 06, 2012 12:16 am
Forum: Software
Topic: No response registering on the GUI
Replies: 1
Views: 642

Re: No response registering on the GUI

Before uploading the multiwii code, you need to go into the config.h file and enable the sensors that are installed on your board. If the vendor has already done this for you then maybe it would be a good idea to double-check the existing configuration (in config.h) to confirm it matches the model t...
by mr.rc-cam
Sat Aug 04, 2012 2:36 am
Forum: Ideas
Topic: Direct Frsky telemtry data from MW FC
Replies: 359
Views: 1032190

Re: Direct Frsky telemtry data from MW FC

Could you share your code on this? I plan on publishing the code by the end of the month, or so I hope. The FrSky/Multicopter Telemetry Project blog will have the technical details when they become available: m Also which tools you are going to use as (offline) map tracker and logger? I don't have ...
by mr.rc-cam
Wed Aug 01, 2012 4:33 pm
Forum: Shields, boards and sensors
Topic: XAircraft Pilot Lamp Accessory Hack
Replies: 96
Views: 16693

Re: XAircraft Pilot Lamp Accessory Hack

if you right click on the link you can download the zip file directly. I had tried that and what was downloaded was a html file instead of the zip file set. But this morning I found the solution. The trick is to click the zipped file's name (which takes you to a new page) and then click the "V...
by mr.rc-cam
Wed Aug 01, 2012 4:37 am
Forum: Shields, boards and sensors
Topic: XAircraft Pilot Lamp Accessory Hack
Replies: 96
Views: 16693

Re: XAircraft Pilot Lamp Accessory Hack

I installed the dev code and did some preliminary tests on my Pro Mini based X4 frame. I ran into two major issues that I did not have time to debug (too many other projects at the moment, so my time here is limited). 1. Cannot arm via the sticks. This is not the usual calibration or stick end point...
by mr.rc-cam
Wed Aug 01, 2012 2:19 am
Forum: Shields, boards and sensors
Topic: XAircraft Pilot Lamp Accessory Hack
Replies: 96
Views: 16693

Re: XAircraft Pilot Lamp Accessory Hack

The link is broken, but that's not a big deal. However, when I go to the SVN to download the zip I get this error: "This file is not plain text (only UTF-8 and Latin-1 text encodings are currently supported). " Rather than continue to pester you, when I have the time I will manually downlo...
by mr.rc-cam
Wed Aug 01, 2012 2:09 am
Forum: Getting Started - MultiWii config and setup
Topic: How to read the code
Replies: 6
Views: 1288

Re: How to read the code

Example #define ledPin 3 // The compiler will replace any mention of ledPin with the value 3 at compile time. Tip There is no semicolon after the #define statement. If you include one, the compiler will throw cryptic errors further down the page. In this example a semicolon is not allowed at the en...
by mr.rc-cam
Tue Jul 31, 2012 5:23 am
Forum: Shields, boards and sensors
Topic: XAircraft Pilot Lamp Accessory Hack
Replies: 96
Views: 16693

Re: XAircraft Pilot Lamp Accessory Hack

shall i zip them for u?

That would be awesome. Thanks!

- Thomas
by mr.rc-cam
Tue Jul 31, 2012 1:37 am
Forum: Shields, boards and sensors
Topic: XAircraft Pilot Lamp Accessory Hack
Replies: 96
Views: 16693

Re: XAircraft Pilot Lamp Accessory Hack

Thanks for the recommendation. But Tortoise SVN integrates into Explorer, which is something I want to avoid. I tried a standalone client and could not get it to work. So as time permits, I will use the clumsy download method and get all your files that way. I sure miss the old days when source file...
by mr.rc-cam
Mon Jul 30, 2012 7:54 pm
Forum: Shields, boards and sensors
Topic: XAircraft Pilot Lamp Accessory Hack
Replies: 96
Views: 16693

Re: XAircraft Pilot Lamp Accessory Hack

Thanks for publishing the dev code. I will try it out but I don't have a subversion client to download from the SVN. What is a trusted client utility that I can use to get your files?

- Thomas
by mr.rc-cam
Mon Jul 30, 2012 4:10 am
Forum: Ideas
Topic: Direct Frsky telemtry data from MW FC
Replies: 359
Views: 1032190

Re: Direct Frsky telemtry data from MW FC

This is where a good housekeeping (Slave Processor) would really come in handy. I agree. All my MWC models have a Pro Mini and I didn't want to give up the GUI's serial port. With that in mind, I'm finishing up my FrSky interface and it involves a slave processor that acts as a I2C bridge. That is ...
by mr.rc-cam
Thu Jul 26, 2012 3:48 pm
Forum: Shields, boards and sensors
Topic: XAircraft Pilot Lamp Accessory Hack
Replies: 96
Views: 16693

Re: XAircraft Pilot Lamp Accessory Hack

That is excellent news. I'm deep in another project at the moment so I won't be able to try your code for several days.

- Thomas
by mr.rc-cam
Wed Jul 25, 2012 3:33 pm
Forum: Software development
Topic: GPS integration
Replies: 1724
Views: 465089

Re: GPS integration

After reading the great EOSbandi wiki I was looking for #define NAV_SPEED_MAX but I'm not able to find it in the source 2.1 I'm using.

In the V2.1 that I have the NAV_SPEED_MAX is found in GPS.ino

- Thomas
by mr.rc-cam
Mon Jul 23, 2012 7:25 pm
Forum: Shields, boards and sensors
Topic: I2C Errors
Replies: 9
Views: 1873

Re: I2C Errors

Congratulations, you are welcome!

- Thomas
by mr.rc-cam
Sun Jul 22, 2012 11:40 pm
Forum: Shields, boards and sensors
Topic: I2C Errors
Replies: 9
Views: 1873

Re: I2C Errors

The schematic of your BMP085 shows that it already has a LLC. So if the posted schematic is accurate for your BMP085 board then it will not need an external LLC. Use your voltmeter and measure the voltages at these I/O wired locations and report what you find: 1. BMP085 J2 +5V pad. Should be +5V. 2....
by mr.rc-cam
Sat Jul 21, 2012 6:42 pm
Forum: Shields, boards and sensors
Topic: I2C Errors
Replies: 9
Views: 1873

Re: I2C Errors

But if this is the case then WHY is working fine when connected to my FC ?? 1. With only one sensor installed the i2c traffic is lower, so marginal i2c signals may still work. 2. With both sensors installed you are mixing 3.3V and 5V i2c logic together, which can affect reliability. Please read the...
by mr.rc-cam
Sat Jul 21, 2012 5:55 pm
Forum: Shields, boards and sensors
Topic: I2C Errors
Replies: 9
Views: 1873

Re: I2C Errors

Your BMP085 board needs an LLC. The HMC5883L has one built in, so you could connect the BMP085 directly to its LLC circuitry to achieve this. If you post the schematic to the HMC5883 board then someone here can advise where to solder the BMP085 to it. Otherwise, you will need to use an external LLC ...
by mr.rc-cam
Thu Jul 19, 2012 7:53 pm
Forum: Ideas
Topic: Sequential Init of ESCs
Replies: 1
Views: 337

Re: Sequential Init of ESCs

I think what you mean is that you like the sound of the ESC's startup tones to be staggered so you can hear each ESC come online. I agree with your suspicions that if you slightly delay the PWM generation for each ESC you may be able to achieve this musical effect. However, if the PWM signal delay i...
by mr.rc-cam
Wed Jul 18, 2012 4:03 am
Forum: Shields, boards and sensors
Topic: XAircraft Pilot Lamp Accessory Hack
Replies: 96
Views: 16693

Re: XAircraft Pilot Lamp Accessory Hack

Buzzer works fine and i only added grn led indicator after the init calibration.

Thanks for the feedback. It's good to hear the basic Pilot Lamp code works for you.

- Thomas
by mr.rc-cam
Tue Jul 17, 2012 9:13 pm
Forum: Software development
Topic: GPS integration
Replies: 1724
Views: 465089

Re: GPS integration

The GPS coordinates are stored and transfered via the i2c bus as signed long (4 bytes each) in a decimal degree format multiplied by 10e7. (1 deg = 10e7)

Thanks for the information. Every little tidbit helps. :)

- Thomas
by mr.rc-cam
Tue Jul 17, 2012 8:42 pm
Forum: Shields, boards and sensors
Topic: XAircraft Pilot Lamp Accessory Hack
Replies: 96
Views: 16693

Re: XAircraft Pilot Lamp Accessory Hack

I will put it into shared trunk as soon as I tested it Thanks for doing that. It would be a very good idea for an X-Aircraft FC owner to reverse-engineer the actual protocol (a few minutes with a digital scope or logic analyzer would be needed). My Pilot Lamp driver is a best-guess effort so verify...
by mr.rc-cam
Tue Jul 17, 2012 5:18 pm
Forum: Shields, boards and sensors
Topic: XAircraft Pilot Lamp Accessory Hack
Replies: 96
Views: 16693

Re: XAircraft Pilot Lamp Accessory Hack

Has anyone tried out the code examples I posted? If so, is it working for you?

- Thomas
by mr.rc-cam
Tue Jul 17, 2012 4:59 pm
Forum: Software development
Topic: GPS integration
Replies: 1724
Views: 465089

Re: GPS integration

I've been working on integrating FrSky's telemetry into my MWC. Things are going well and I'm at the point of interfacing it to the I2C "EOSbandi GPS" board. But unfortunately I am still waiting for the rctimer board to arrive (I ordered it several weeks ago). So that I can continue with ...
by mr.rc-cam
Tue Jul 17, 2012 3:52 am
Forum: Software development
Topic: GPS integration
Replies: 1724
Views: 465089

Re: GPS integration

I've been working on integrating FrSky's telemetry into my MWC. Things are going well and I'm at the point of interfacing it to the I2C "EOSbandi GPS" board. But unfortunately I am still waiting for the rctimer board to arrive (I ordered it several weeks ago). So that I can continue with t...
by mr.rc-cam
Sat Jul 14, 2012 6:56 pm
Forum: Software development
Topic: Debug 1-4 values shown in GUI not correct.
Replies: 2
Views: 312

Re: Debug 1-4 values shown in GUI not correct.

Thanks for checking it out. I'll stop my debugging and wait for the fix.

- Thomas
by mr.rc-cam
Sat Jul 14, 2012 1:14 am
Forum: Software development
Topic: Debug 1-4 values shown in GUI not correct.
Replies: 2
Views: 312

Debug 1-4 values shown in GUI not correct.

I have MWC pre-release candidate 2.1 r949 (couple weeks old). I was adding some features to my MWC-Frsky telemetry interface today and ran into a problem with the GUI's DEBUG1-DEBUG4 registers. I was using them to confirm the telemetry test data; After several hours of trying to resolve what I thoug...
by mr.rc-cam
Fri Jul 13, 2012 1:19 am
Forum: Software development
Topic: Why does this code lead to a reinit of my Mega 2560
Replies: 3
Views: 369

Re: Why does this code lead to a reinit of my Mega 2560

I suspect it is this: if (icnt >=3 && (buzzerLastToggleTime<millis()-patternInt[3]) ) because it can allow icnt to be > 3 and cause a corruption of ram when you do this: patternInt[icnt] = some_number; Try this: Change icnt++; to: if(icnt<3) { icnt++; } - Thomas
by mr.rc-cam
Fri Jun 29, 2012 6:25 pm
Forum: Getting Started - MultiWii config and setup
Topic: first time quad builder having headache!!
Replies: 12
Views: 1343

Re: first time quad builder having headache!!

no. i meant that when the tx throttle lever is in the up position (something i would relate to being full power) then the motors are stopped. only increasing velocity as i pull the stick towards me. That is solved at the R/C transmitter using the throttle channel's SERVO REVERSE mix feature. - Thomas
by mr.rc-cam
Fri Jun 29, 2012 5:15 pm
Forum: Getting Started - MultiWii config and setup
Topic: first time quad builder having headache!!
Replies: 12
Views: 1343

Re: first time quad builder having headache!!

i still can't work out why the ESC where configured in reverse and don't know where to alter this! If you mean that some brushless motors are turning the wrong direction then this is fixed at the ESC/MOTOR wiring. There are three MOTOR/ESC wires. Randomly pick any two of these wires, swap them, and...
by mr.rc-cam
Wed Jun 27, 2012 12:58 am
Forum: ESCs, propellers , servos and radios
Topic: MultiWii ESC values for motor are off
Replies: 19
Views: 2093

Re: MultiWii ESC values for motor are off

But what bothers me alot that when frame with board rests on the table my ESC values so different, see picture, especially REAR_L When your model is sitting on a table the PID's are running open-loop (no practical feedback to attitude corrections). This can cause motor/ESC value offsets due the acc...
by mr.rc-cam
Tue Jun 26, 2012 8:34 pm
Forum: Getting Started - MultiWii config and setup
Topic: Lost transmitter connection: what happens?
Replies: 30
Views: 2738

Re: Lost transmitter connection: what happens?

On R/C systems that have *programmable* Failsafe, you could assign a spare RX channel to change states upon a R/C link failsafe and use it to control the MWC's failsafe. This same channel could also be used to control auto RTH using a switch on the TX (just setup the travel mix differently than what...
by mr.rc-cam
Sun Jun 24, 2012 11:27 pm
Forum: Software development
Topic: dev 20120618 and dev 20129616
Replies: 26
Views: 2269

Re: dev 20120618 and dev 20129616

After, there will be some "pre" or "rc" version in order to be able to release a clean 2.1

A clean V2.1 would be fantastic. Thanks! :)
- Thomas
by mr.rc-cam
Sun Jun 24, 2012 7:28 am
Forum: Shields, boards and sensors
Topic: No real time data in Multiwiiconfig after flashing with 2.0
Replies: 8
Views: 1174

Re: No real time data in Multiwiiconfig after flashing with

Unfortunately I have little information. It did have a slip of paper with it. Unfortunately that does not help ID the MWC version they had used on the board. To install the V2 upgrade I suggest you start by using the config defines to enable only the gyro (with all other sensors disabled). If it is...
by mr.rc-cam
Sun Jun 24, 2012 5:24 am
Forum: Shields, boards and sensors
Topic: No real time data in Multiwiiconfig after flashing with 2.0
Replies: 8
Views: 1174

Re: No real time data in Multiwiiconfig after flashing with

The first time I used wiiconfig it was version 2.0. The version of wiiconfig you use must match the MWC version loaded on the board. So do you know what version was loaded on the board by the supplier? I realize the original code is erased, but this information will help determine what may be wrong...
by mr.rc-cam
Sun Jun 24, 2012 5:09 am
Forum: Shields, boards and sensors
Topic: No real time data in Multiwiiconfig after flashing with 2.0
Replies: 8
Views: 1174

Re: No real time data in Multiwiiconfig after flashing with

What version was on it that worked?

When you move the Tx sticks does the GUI show their movement?

I see that I2C errors are being reported. The I2C error register should be zero but your screenshot shows over 30K errors. Perhaps you don't have the correct sensors configured?

- Thomas
by mr.rc-cam
Sat Jun 23, 2012 6:31 pm
Forum: Software development
Topic: dev 20120618 and dev 20129616
Replies: 26
Views: 2269

Re: dev 20120618 and dev 20129616

I agree on reporting but who too and how, In the old days, when things were at a slow {and perhaps at a more controlled} pace, a MWC bug would be reported in the thread that announced the formal release. But these experimental dev releases occur often and without an announcement. So this is a quest...
by mr.rc-cam
Sat Jun 23, 2012 5:22 pm
Forum: Software development
Topic: dev 20120618 and dev 20129616
Replies: 26
Views: 2269

Re: dev 20120618 and dev 20129616

Congrats! That is the alternate I2C address for the sensor based on the how the board was designed (a pin on the chip is soldered to logic low or high to determine the address). I had thought about the alternate address, but since it was working error free in the old code it did not make sense you w...
by mr.rc-cam
Sat Jun 23, 2012 12:27 am
Forum: Software development
Topic: dev 20120618 and dev 20129616
Replies: 26
Views: 2269

Re: dev 20120618 and dev 20129616

This is the thing, it works as it should with V2 and dev 20120522, its when we move to the next devs 616, 618 and now 622 that the problem appears. This kind of observation has caused confusion many times before. An I2C buss that has a poor pullup configuration can become unreliable with improvemen...
by mr.rc-cam
Fri Jun 22, 2012 10:18 pm
Forum: Software development
Topic: dev 20120618 and dev 20129616
Replies: 26
Views: 2269

Re: dev 20120618 and dev 20129616

I don't have access to dev618 but I looked at dev606 and dev622. I can't see anything in them that would explain the L3G4200D's I2C errors. I don't have this sensor so I am not able to do much more. Some general comments: 1. Until you solve the I2C errors, troubleshoot with the stock (unmodified cod...