Search found 16 matches

by dpackham
Sat Jul 28, 2012 9:00 pm
Forum: Software development
Topic: calculating Magnetic Declination
Replies: 6
Views: 758

calculating Magnetic Declination

http://www.ngdc.noaa.gov/geomagmodels/s ... cPointIGRF

this is a better site as it provides all the numbers you need to plug into the software for declination.
by dpackham
Fri Apr 06, 2012 4:07 pm
Forum: Software development
Topic: Sensors orientations
Replies: 13
Views: 2437

Re: Sensors orientations

interesting quick thing. when i try to fly in headfree mode it works well... until it gets pointed nose in. then is wants to flip forward... hmmm. still need some more flight testing
by dpackham
Thu Apr 05, 2012 3:00 am
Forum: Software development
Topic: Sensors orientations
Replies: 13
Views: 2437

Re: Sensors orientations

So mounted on JussiH's mega shield the FFIMU is sideways by 90 degrees for MWC code. the signal pins are in the back and leds on the side and the board and sits lengthwise along the pitch axis on the shield. as far as I could find for MWC code the FFIMU needs to sit led's front or lengthwise along t...
by dpackham
Wed Apr 04, 2012 4:19 am
Forum: Software development
Topic: Sensors orientations
Replies: 13
Views: 2437

Re: Sensors orientations

hmmm.. then why does it want to yaw like mad and flip? ill keep looking. also i think the JussiH's Mega Shield has the FFIMU mounted so the signal pins are in the rear of the craft.
by dpackham
Wed Apr 04, 2012 1:04 am
Forum: Software development
Topic: Sensors orientations
Replies: 13
Views: 2437

Re: Sensors orientations

did this get resolved? my FFIMU 1.22 is not flying with JussiH's seeeduino mega shield and the 2.0 software. wants to flip :)
by dpackham
Wed Jul 06, 2011 4:16 am
Forum: Software development
Topic: Code support for the AeroQuad 2.x shield
Replies: 8
Views: 1178

Re: Code support for the AeroQuad 2.x shield

your code looks better. will try as soon as it stops raining #if defined(AEROQUADSHIELDv2) // to confirm #define ITG3200 #define BMA180 #define BMP085 #define HMC5843 #define ACC_ORIENTATION(X, Y, Z) {accADC[ROLL] = -Y; accADC[PITCH] = X; accADC[YAW] = Z;} #define GYRO_ORIENTATION(X, Y, Z) {gyroADC[...
by dpackham
Mon Jul 04, 2011 8:10 pm
Forum: Software development
Topic: Code support for the AeroQuad 2.x shield
Replies: 8
Views: 1178

Re: Code support for the AeroQuad 2.x shield

This might be closer. added some "-" to the roll access after swapping ROLL with PITCH and PITCH with ROLL #if defined(AEROQUADSHIELDv2) #define ITG3200 #define BMA180 #define BMP085 //#define HMC5843 #define ACC_ORIENTATION(X, Y, Z) {accADC[PITCH] = X; accADC[ROLL] = -Y; accADC[YAW] = Z;}...
by dpackham
Mon Jul 04, 2011 5:05 pm
Forum: Software development
Topic: Code support for the AeroQuad 2.x shield
Replies: 8
Views: 1178

Re: Code support for the AeroQuad 2.x shield

great. I just started looking at your new dev code and found the defines in def.h. i dont quite understand your ACC/GYRO/MAG orientations so you may want to double check them with the diff i posted before. Let me know when you want to test it and ill grad the dev code and try. Thanks #if defined(AER...
by dpackham
Sun Jul 03, 2011 5:21 am
Forum: Software development
Topic: Code support for the AeroQuad 2.x shield
Replies: 8
Views: 1178

Re: Code support for the AeroQuad 2.x shield

Thanks. I Created a patch file that maybe you guys can get into the 1.8 code maybe Its got some serial port stuff that does not need to be in there but the important parts are. the Sensors Address is different and some ROLL/PITCH swapping and orientations Here to hoping we get a #define AeroquadShie...
by dpackham
Sun Jul 03, 2011 4:47 am
Forum: Software development
Topic: Code support for the AeroQuad 2.x shield
Replies: 8
Views: 1178

Re: Code support for the AeroQuad 2.x shield

652,656c621,622 < accADC[PITCH] = - (((rawADC_BMA180[1]<<8) | (rawADC_BMA180[0]))>>2)/10; // AeroQuad Orientation < accADC[ROLL] = + (((rawADC_BMA180[3]<<8) | (rawADC_BMA180[2]))>>2)/10; // AeroQuad Orientation --- > accADC[ROLL] = - (((rawADC_BMA180[1]<<8) | (rawADC_BMA180[0]))>>2)/10; // opie sett...
by dpackham
Fri Jul 01, 2011 7:15 pm
Forum: Software development
Topic: Code support for the AeroQuad 2.x shield
Replies: 8
Views: 1178

Re: Code support for the AeroQuad 2.x shield

A few others have provided me with a copy of V1.prebis7 that works with the AQ shield. does someone have a clean copy of V1.prebis7 that I can make a diff on?
by dpackham
Fri Jul 01, 2011 7:13 pm
Forum: Software development
Topic: Code support for the AeroQuad 2.x shield
Replies: 8
Views: 1178

Code support for the AeroQuad 2.x shield

I think that the only things that need to be changed for the MultiWii software to work on the AeroQuad 2.x shields in the I2C addresses and sensor orientations. The hardware is the same basically, but the Sparkfun breakouts that AQ uses use different I2C addresses, and the orientation is (I think) 9...
by dpackham
Sun May 08, 2011 5:28 am
Forum: Software development
Topic: Android tool to modify PID settings
Replies: 65
Views: 16932

Re: Android tool to modify PID settings

check these libraries out.

http://www.circuit-blog.com/sensorgraph ... d-arduino/
http://www.amarino-toolkit.net/index.php/download.html

these can plot sensor data to get a graph like the MultiWiiConf... :)
by dpackham
Fri Apr 22, 2011 11:11 pm
Forum: Shields, boards and sensors
Topic: Serial Bluetooth RF Transceiver Module RS232
Replies: 154
Views: 82173

Re: Serial Bluetooth RF Transceiver Module RS232

i cant really pull up one leg. I have a shield that has this chip soldered onto it already like this.

http://iteadstudio.com/store/index.php? ... cts_id=307

so I need to get at it programatically sending a +++ command to get it into command mode.
by dpackham
Fri Apr 22, 2011 8:22 pm
Forum: Shields, boards and sensors
Topic: Serial Bluetooth RF Transceiver Module RS232
Replies: 154
Views: 82173

Re: Serial Bluetooth RF Transceiver Module RS232

does anyone have a working example of a sketch that can be uploaded to a Arduino that will configure this BT module from the code? I cant seem to get it to respond to the AT commands and just need to config it.

Ideas?