Search found 63 matches

by Nicksdesign
Sat Aug 10, 2013 2:15 am
Forum: Connecting elements
Topic: Powering the Video Transmitter
Replies: 11
Views: 4923

Re: Powering the Video Transmitter

I came across a Fatshark support post where the Fatshark guy stated that the transmit power is the same regardless a 2S or 3S battery is used to supply the power.

Nick
by Nicksdesign
Sun Aug 04, 2013 3:21 am
Forum: MultiWii tweaking - flying experience
Topic: Need help for BARO tuning
Replies: 5
Views: 3276

Re: Need help for BARO tuning

I have a similar issue. Flying with Dev R1349. With Baro on and auto level, it will hold a nice stable altitude. If I fly horizontally, not even very fast, my multi will slowly descend until I return it to level (auto level on) and then it climbs rapidly to set altitude. If I fly far enough, it will...
by Nicksdesign
Sat Jul 27, 2013 2:51 am
Forum: Software development
Topic: Multiwii 2.2 Vbat on pin A15 problem
Replies: 3
Views: 1747

Re: Multiwii 2.2 Vbat on pin A15 problem

Thanks for the response. I posted in this forum because it looked like a software problem: failing to set the ADC in single ended mode. The problem just went away, without explanation. My Mega2560's ADC seemed to be operating in differential mode. Grounding A9 cured the problem, thus indicating the ...
by Nicksdesign
Sun Jul 21, 2013 3:23 am
Forum: Connecting elements
Topic: Powering the Video Transmitter
Replies: 11
Views: 4923

Re: Powering the Video Transmitter

How certain is it that the Fatshark Predator V2 transmitter is producing reduced power if run on a 2S source? There is nothing in my user manual to that effect.

Nick
by Nicksdesign
Sun Jul 21, 2013 3:02 am
Forum: Software development
Topic: why more flight modes in GUI 2.1 than 2.2.
Replies: 6
Views: 3126

Re: why more flight modes in GUI 2.1 than 2.2.

reexon wrote:Thanks.

I was wondering why GUI 2.2 does not have an ACRO mode.


In 2.2, Acro mode is kind of a 'none of the above' definition. Since Acro mode means only using the gyros, if Angle/Horizon, Baro, Mag, PH, RTH, etc., are not enabled, it's in Acro mode.

Nick
by Nicksdesign
Sun Jul 21, 2013 2:20 am
Forum: Software development
Topic: [mod] Increasing accuracy of VBAT via VBATSCALE
Replies: 15
Views: 5945

Re: [A] Increasing accuracy of VBAT via VBATSCALE

I agree that there are good uses for bit shifting. However, the choice of constructing a binary number via a sequence of bit shifted 1's and 'and's/'or's instead of a binary constant is a question of personal style and not an indication of professional qualifications.

Nick
by Nicksdesign
Sat Jul 20, 2013 6:15 am
Forum: Software development
Topic: [mod] Increasing accuracy of VBAT via VBATSCALE
Replies: 15
Views: 5945

Re: [A] Increasing accuracy of VBAT via VBATSCALE

Common and useful generally means: that's the way it's always been done because that's the way it's always been done because that's the way it's always been done, etc.. The thing that makes it better is because doing things the way they have always been done avoids being ridiculed/punished for darin...
by Nicksdesign
Sat Jul 13, 2013 11:11 pm
Forum: Software development
Topic: VBAT Problem with R1512 on 2560 based FC
Replies: 17
Views: 6026

Re: VBAT Problem with R1512 on 2560 based FC

Sebbi, thanks for being kind to me. Every time you told me that 'ADMUX && B11100111' was wrong, I went back to the language reference and checked to verify the meaning. Each time I reached the same wrong conclusion. You are correct that I used the wrong operator. I should have used 'ADMUX &a...
by Nicksdesign
Sat Jul 13, 2013 2:57 am
Forum: Software development
Topic: VBAT Problem with R1512 on 2560 based FC
Replies: 17
Views: 6026

Re: VBAT Problem with R1512 on 2560 based FC

Sebbi, It'll take me some time to fully analyze the code you posted. First you will have to tell me where that code is because IT IS NOT part of the MultiWii sourc. Actually, don't bother. That is clearly a place regular Arduino users are not supposed to go. And I DEFINITELY don't want to go there. ...
by Nicksdesign
Sat Jul 13, 2013 12:05 am
Forum: Software development
Topic: VBAT Problem with R1512 on 2560 based FC
Replies: 17
Views: 6026

Re: VBAT Problem with R1512 on 2560 based FC

DAMMIT! Now I really screwed up. I did have it right! I DID want &&!! Now to change it back to the way I had it.

Nick
by Nicksdesign
Fri Jul 12, 2013 11:12 pm
Forum: Software development
Topic: VBAT Problem with R1512 on 2560 based FC
Replies: 17
Views: 6026

Re: VBAT Problem with R1512 on 2560 based FC

Sebbi, your post arrived while I was composing mine. The && resulted on only the bits 3 & 4 being affected. All analog inputs can be used in differential mode. Take a better look at Table 26-4! analogRead() does not affect the input status of the pin. I believe one can analogRead() the p...
by Nicksdesign
Fri Jul 12, 2013 10:53 pm
Forum: Software development
Topic: VBAT Problem with R1512 on 2560 based FC
Replies: 17
Views: 6026

Re: VBAT Problem with R1512 on 2560 based FC

Documentation is always nice. All my information ADMUX comes from the Mega2560 data sheet. You can get a copy here: m The ADC is described in section 26, starting on page 275. The part relative to ADMUX starts on page 289. In particular, refer to Table 26-4 starting on page 290. ADMUX, with bit 3 of...
by Nicksdesign
Thu Jul 11, 2013 8:26 pm
Forum: Software development
Topic: VBAT Problem with R1512 on 2560 based FC
Replies: 17
Views: 6026

Re: VBAT Problem with R1512 on 2560 based FC

Hamburger, thanks for commenting. I was hoping that someone with a more experience with 2560 based FC's would weigh in. The question then is why is mine different? As far as I can tell, the ADC mode is only software controlled within the 2560. While my board is a Hobby King one, that shouldn't affec...
by Nicksdesign
Thu Jul 11, 2013 4:35 am
Forum: Software development
Topic: [mod] Increasing accuracy of VBAT via VBATSCALE
Replies: 15
Views: 5945

Re: [A] Increasing accuracy of VBAT via VBATSCALE

To understand the operators, like '<<', try going to the Arduino site and looking in the language reference. There's a lot of useful information there.

http://arduino.cc/en/Reference/HomePage ... e.Extended

Nick
by Nicksdesign
Wed Jul 10, 2013 10:57 pm
Forum: Software development
Topic: [mod] Increasing accuracy of VBAT via VBATSCALE
Replies: 15
Views: 5945

Re: [A] Increasing accuracy of VBAT via VBATSCALE

what does << mean It means 'bit shift left' . Bit-shifting is a quick way to multiply/divide by powers of two. Experienced C coders seem to love bit-shifting. Unfortunately, they also like to use it when a binary number would be much more clear. For example, 1<<3 takes 1, or 00000001 for a 8 bit nu...
by Nicksdesign
Wed Jul 10, 2013 12:57 am
Forum: Software development
Topic: VBAT Problem with R1512 on 2560 based FC
Replies: 17
Views: 6026

Re: VBAT Problem with R1512 on 2560 based FC

Post edited on 7-12 to correct error! I think I have found a solution for reading the analog inputs on a Mega2560 based FC. At least, it works for mine. I'm running development version R1512. The Problem: For my HK Pro Mega2560 FC, the ADC is configured as differential at 1X amplification. I suspect...
by Nicksdesign
Sun Jul 07, 2013 3:00 am
Forum: Software development
Topic: VBAT Problem with R1512 on 2560 based FC
Replies: 17
Views: 6026

Re: VBAT Problem with R1512 on 2560 based FC

PROBLEM SOLVED!!! I tend to be a bit stubborn so I kept reading the 2560 data sheet. The ADC can measure single ended inputs as well as DIFERENTIAL inputs! So I decided to see if the ADC was configured for differential inputs. I grounded A9 (the negative pin for differential inputs in PORTK. Now the...
by Nicksdesign
Sun Jul 07, 2013 2:31 am
Forum: Software development
Topic: VBAT Problem with R1512 on 2560 based FC
Replies: 17
Views: 6026

Re: VBAT Problem with R1512 on 2560 based FC

After some more testing, I've decided that there is clearly nothing wrong with the MultWii code and my Mega2560 is useless for measuring any voltage on any of the analog inputs. I guess I'll just have to buy something else to be able to use VBAT.

Nick
by Nicksdesign
Sun Jul 07, 2013 12:48 am
Forum: Software development
Topic: VBAT Problem with R1512 on 2560 based FC
Replies: 17
Views: 6026

Re: VBAT Problem with R1512 on 2560 based FC

I have been using the ESC's to supply power to the FC. The Vref measured at 3.9v. That was a surprise to me. After some investigation, I determined that the ESC's were supplying 5v to the V+ pins for all ESC and servo (A8 - A15) connections. The uC is powered via a 5v LDO regulator which gets its po...
by Nicksdesign
Sat Jul 06, 2013 2:28 am
Forum: Software development
Topic: VBAT Problem with R1512 on 2560 based FC
Replies: 17
Views: 6026

VBAT Problem with R1512 on 2560 based FC

I've encountered a confusing problem with the VBAT function when running R1512 on a 2560 type FC. Logically, it acts like a hardware problem, but since software is the only option for dealing with it, and since it would be a very strange hardware issue, I'm putting this in this forum. Some more deta...
by Nicksdesign
Sat Jul 06, 2013 2:05 am
Forum: Software development
Topic: S.Bus is broken again in r1449
Replies: 22
Views: 7067

Re: S.Bus is broken again in r1449

With the generous help, I have been successful in using SBUS with R1512. I still have a problem with VBAT, but that's for another thread.

Nick
by Nicksdesign
Sat Jul 06, 2013 1:04 am
Forum: Connecting elements
Topic: VBAT on A15 instead of AUX4
Replies: 1
Views: 1033

Re: VBAT on A15 instead of AUX4

I now know more even though the result is still not what it should be. The Vbat reassignment works and it does not appear that there is a pullup resister enabled. There is just another problem of some sort. Since this may be a software issue, I'm going to start another thread in the software section...
by Nicksdesign
Sat Jul 06, 2013 1:00 am
Forum: Getting Started - MultiWii config and setup
Topic: Compile MultiWiiConf-Basic HowTo
Replies: 16
Views: 21256

Re: Compile MultiWiiConf-Basic HowTo

When I installed Processing, I found the advice on where put the controlP5 library confusing. I just couldn't get it to work. (If anyone can be confused, it's me.) With the new version 2.0.1, it was easy to let Processing itself import the library. Just go to Tools/import Library/, select conrolP5 (...
by Nicksdesign
Thu Jul 04, 2013 11:42 pm
Forum: Software development
Topic: S.Bus is broken again in r1449
Replies: 22
Views: 7067

Re: S.Bus is broken again in r1449

Scrat, and Ralf, I do appreciate your help. I'd be pretty stumped without. Please know that I am trying to get by on my own. I had determined that I would need to compile the GUI source. I just didn't know how and was fearing that I would need to buy 'tools' that I couldn't afford. I did, however, i...
by Nicksdesign
Thu Jul 04, 2013 3:01 am
Forum: Software development
Topic: S.Bus is broken again in r1449
Replies: 22
Views: 7067

Re: S.Bus is broken again in r1449

R1512 seems to be running ok, BUT it is clear it is meant to use a different config GUI. I see that there is a MultiWiiConf.pde file here: m But I, of course, don't know what to do with it. I suspect some of the unexplained behavior I'm getting is because I need the config GUI to configure the progr...
by Nicksdesign
Thu Jul 04, 2013 12:49 am
Forum: Software development
Topic: S.Bus is broken again in r1449
Replies: 22
Views: 7067

Re: S.Bus is broken again in r1449

Ralf, I really appreciate your willingness to help. You asked, so here is the latest. Output.ino: In function 'void writeServos()': Output:159: error: 'atomicServo' was not declared in this scope This is the section of code where the error is flagged. #else for(uint8_t i = (SEC_SERVO_FROM-1); i < SE...
by Nicksdesign
Wed Jul 03, 2013 8:57 pm
Forum: Software development
Topic: S.Bus is broken again in r1449
Replies: 22
Views: 7067

Re: S.Bus is broken again in r1449

Ralf, thank you very much for your help. Unfortunately, I didn't achieve success. Either I'm severely cut/copy/past challenged, or I am just confused and challenged in every possible way. I went to m and created a new sketch by replacing every file in an existing sketch with each of the files in tha...
by Nicksdesign
Wed Jul 03, 2013 7:24 pm
Forum: Connecting elements
Topic: Connect Sensor via I2C in MultiWii 328P Flight Controller
Replies: 2
Views: 1879

Re: Connect Sensor via I2C in MultiWii 328P Flight Controlle

Hardware wise, I would think the FC board would already have the proper pullup resistors as the onboard I2C devices would need it. Software wise: You might need to remove the existing Mag sensor. If the new sensor has a different I2C address, you may be able to modify the code to read the new addres...
by Nicksdesign
Wed Jul 03, 2013 3:31 am
Forum: Software development
Topic: S.Bus is broken again in r1449
Replies: 22
Views: 7067

Re: S.Bus is broken again in r1449

I've been trying to get SBUS working for several days now. The link in the previoius post, leads to new config.h and serial files. Is there a way to get a full set of files?

Nick
by Nicksdesign
Mon Jul 01, 2013 4:07 am
Forum: Connecting elements
Topic: VBAT on A15 instead of AUX4
Replies: 1
Views: 1033

VBAT on A15 instead of AUX4

I have a 2560 board that doesn't have A0 brought out. I'm not using AUX4 on A15 and would like to us A15 for VBAT. I've been able to connect a voltage divider to A15 and assigned the VBAT function to it: #define OVERRIDE_V_BATPIN A15. I've adjusted the VBATSCALE up and down, and around again. Every ...
by Nicksdesign
Wed May 15, 2013 11:01 pm
Forum: Getting Started - MultiWii config and setup
Topic: How to use Serial Ports 1, 2, 3
Replies: 7
Views: 3664

Re: How to use Serial Ports 1, 2, 3

Thanks for that. I wondered if that was the case. Now I know.

Nick
by Nicksdesign
Wed May 15, 2013 9:15 am
Forum: Getting Started - MultiWii config and setup
Topic: How to use Serial Ports 1, 2, 3
Replies: 7
Views: 3664

How to use Serial Ports 1, 2, 3

I have a 2560 based FC and would like to be able to have a bluetooth module connected to serial 1, GPS to serial 2, and an OSD connected to serial 3. The release notes for 2.2 say that it is possible to use all serial ports for a GUI connection. I've went through config.h and I can see how to define...
by Nicksdesign
Wed May 15, 2013 9:13 am
Forum: Connecting elements
Topic: How to use Serial Ports 1, 2, 3
Replies: 1
Views: 1166

Re: How to use Serial Ports 1, 2, 3

I see there is a better place for this question. I'm going to move this to the Getting Started, Config, and Setup forum.

Nick
by Nicksdesign
Wed May 15, 2013 9:04 am
Forum: Connecting elements
Topic: How to use Serial Ports 1, 2, 3
Replies: 1
Views: 1166

How to use Serial Ports 1, 2, 3

I have a 2560 based FC and would like to be able to have a bluetooth module connected to serial 1, GPS to serial 2, and an OSD connected to serial 3. The release notes for 2.2 say that it is possible to use all serial ports for a GUI connection. I've went through config.h and I can see how to define...
by Nicksdesign
Wed Apr 24, 2013 10:36 pm
Forum: Software development
Topic: Frequent FC Malfunction
Replies: 13
Views: 3144

Re: Frequent FC Malfunction

Timecop, I did not insist it was software. I know, and knew all along that it is a result of an unusual hardware performance variation. That is a 'Duh'! But, there is also no proof that it is defective hardware. To prove that, it would have to be known how the problem is getting into the result and ...
by Nicksdesign
Wed Apr 24, 2013 8:14 am
Forum: Software development
Topic: Frequent FC Malfunction
Replies: 13
Views: 3144

Re: Frequent FC Malfunction

I think if I try to take this any farther, I'll be crossing into 'dead horse' area. So, unless someone would like to help me figure out where and how the 'hardware defect' is creating the erroneous result, I'm done with this thread. I want to thank those who took the time to read and respond to this...
by Nicksdesign
Wed Apr 24, 2013 1:54 am
Forum: Software development
Topic: Frequent FC Malfunction
Replies: 13
Views: 3144

Re: Frequent FC Malfunction

I appreciate all help. The easiest and least expensive way for me to solve this problem is to just remember to check for it. When it shows up, cycle the power and the problem is gone. I can cycle power for hours and the problem doesn't show up. It only shows up when the power has been off for a long...
by Nicksdesign
Tue Apr 23, 2013 7:32 am
Forum: Software development
Topic: Frequent FC Malfunction
Replies: 13
Views: 3144

Re: Frequent FC Malfunction

The problem may be unusual. But that combined with inexpensive hardware doesn't prove that it's a hardware problem any more than it proves that it's a software problem.

Nick
by Nicksdesign
Tue Apr 23, 2013 3:08 am
Forum: Software development
Topic: Frequent FC Malfunction
Replies: 13
Views: 3144

Re: Frequent FC Malfunction

No, this is the one: m I know this FC is not necessarily the product of the highest quality factory, but I don't see this as a quality issue other than the possibility that my board is more prone to the problem. The fact that a recalibration of the accelerometer does not clear the error in offset te...
by Nicksdesign
Tue Apr 23, 2013 2:39 am
Forum: Software development
Topic: Frequent FC Malfunction
Replies: 13
Views: 3144

Frequent FC Malfunction

After over 40 years of flying RC stuff, I'm used to occasionally 'dumb thumbing' one into the ground. But, I darned tired of my FC trying to commit suicide. Especially since it usually starts by trying to run me down immediately after leaving the ground. The problem is that, perhaps as often as half...
by Nicksdesign
Sat Apr 06, 2013 7:49 pm
Forum: Connecting elements
Topic: multiwii pro board - how connect the gps?
Replies: 2
Views: 1598

Re: multiwii pro board - how connect the gps?

Assuming that you are referring to the Hobby King board, or similar: I have this board, but have not yet used it. I would connect the center four wires from the MTK GPS to the like named pins on one of the FC's serial ports. You may, or may not, need to connect tx/rx to tx/rx or tx/rx to rx/tx. Whic...
by Nicksdesign
Sat Apr 06, 2013 7:33 pm
Forum: Connecting elements
Topic: Ublox NEO i2c GPS question
Replies: 1
Views: 1128

Re: Ublox NEO i2c GPS question

If your Ublox GPS module is like mine, you can't direct connect via I2C. The Ublox serial is FTDI. That is why the 328p boards need the NAV board to interface to the ublox GPS.

Nick
by Nicksdesign
Thu Apr 04, 2013 9:16 am
Forum: Shields, boards and sensors
Topic: I2C error
Replies: 13
Views: 12411

Re: I2C error

When the FC quit working, had you added a NAV-GPS combo? If so, check the cable between the FC I2C header and the NAV board. On one of mine the data and clk lines were reversed. It drove the I2C bus nuts! It took me several days to figure it out.

Nick
by Nicksdesign
Thu Apr 04, 2013 9:01 am
Forum: Shields, boards and sensors
Topic: Crius I2C Nav and Ublox Neo6m Dilemma
Replies: 19
Views: 29428

Re: Crius I2C Nav and Ublox Neo6m Dilemma

When connecting the GPS module to computer to use Uconnect program to check the UBLOX, do not use the NAV board. Connect the FTDI directly to the GPS module. The NAV board is only used to interface the GPS to the Mulitwii FC.

Nick
by Nicksdesign
Thu Apr 04, 2013 8:50 am
Forum: Shields, boards and sensors
Topic: Crius I2C Nav and Ublox Neo6m Dilemma
Replies: 19
Views: 29428

Re: Crius I2C Nav and Ublox Neo6m Dilemma

Is this a new Nav board? Never worked? If so, check the cable from the NAV to the FC I2C header. Mine had the cable built wrong and the Data &Clk pins were reversed at the FC end. Until I corrected it, it would cause all sensors connected via the I2C bus to go grazy when pluged in. Sensors were ...
by Nicksdesign
Fri Mar 29, 2013 3:37 am
Forum: Software development
Topic: MultiWii EZ-GUI
Replies: 1434
Views: 682137

Re: MultiWii EZ-GUI

Ezio, my apologies for my bad information in my last post. I have re-looked, today, at both dashboard screens and both are consistent and appear correct. But, I think the reason I was reading the display wrong is because that data labels are closer to the wrong value than they are to the correct val...
by Nicksdesign
Wed Mar 27, 2013 7:31 am
Forum: Software development
Topic: MultiWii EZ-GUI
Replies: 1434
Views: 682137

Re: MultiWii EZ-GUI

I tried the new dashboard 2 this afternoon. The display showed the artificial horizon 'instrument' face on the left and the usual text on the right. The other three instrument displays were absent. However, please check the pitch data handling. Dashboard 1 showed -17* and Dashboard 2 showed -1*. My ...
by Nicksdesign
Fri Mar 15, 2013 5:04 am
Forum: Shields, boards and sensors
Topic: GLB MWC 2012 FC Board SKU:89220
Replies: 14
Views: 4659

Re: GLB MWC 2012 FC Board SKU:89220

Yes, that's right. Note that if you look at a lot of MultWii boards, you will find other photos of the same board layout.
by Nicksdesign
Wed Mar 13, 2013 5:42 pm
Forum: Shields, boards and sensors
Topic: GLB MWC 2012 FC Board SKU:89220
Replies: 14
Views: 4659

Re: GLB MWC 2012 FC Board SKU:89220

The lack of labels on the FC board is the one negative I have for this quad. The FC board is laid out just like others. Use the linked file to get the pin labels. The receiver=>FC cables are common: one 3-3 (normal) cable is used on one channel to connect gnd-pwr-sig to the FC, The others with the s...
by Nicksdesign
Thu Feb 28, 2013 10:51 pm
Forum: Connecting elements
Topic: Help Implementing AUX2 & AUX3
Replies: 2
Views: 1540

Re: Help Implementing AUX2 & AUX3

Thanks for the help. The Crius SE is a 328p based board. AUX2 & AUX1 are enough for now.