Search found 210 matches

by carlonb
Sun Mar 11, 2012 7:07 pm
Forum: Software development
Topic: MultiWii 2.0 serial.print error
Replies: 8
Views: 3169

Re: MultiWii 2.0 serial.print error

dongs wrote:I would suggest assigning the values you want to monitor to one of debug1/2/3/4 values and then monitoring them in GUI.

I will try now, thanks
Carlo
by carlonb
Sun Mar 11, 2012 6:54 pm
Forum: Software development
Topic: MultiWii 2.0 serial.print error
Replies: 8
Views: 3169

Re: MultiWii 2.0 serial.print error

Yes, write your own print routine. It's not an error, multiwii no longer uses arduino Serial.* class because it was bloated shite. sprintf to a buffer and output it , or better yet, stop using upload/printf/pray debugging methods. Ok,dongs, understood and i know what you mean but i've not yet tools...
by carlonb
Sun Mar 11, 2012 6:41 pm
Forum: Software development
Topic: MultiWii 2.0 serial.print error
Replies: 8
Views: 3169

MultiWii 2.0 serial.print error

Hi all,
I'm debugging my Vbat voltage on Mega1280 and MWii vers. 2.0, but I can not use "serial.print" command to see the Vbat data on Arduino 1.0 serial monitor, after compiling I have ....._vector_18 and ..._vector_19 error.
Any suggestion?
Thanks, Carlo
by carlonb
Sat Feb 04, 2012 11:08 am
Forum: Shields, boards and sensors
Topic: Nunchuck problem with MWii vers. 1.9
Replies: 6
Views: 2547

Re: Nunchuck problem with MWii vers. 1.9

@thOrsten
Ok, I'm waiting for a BMA180 and I hope will solve my issue, anyway, why with sketch vers. 1.7 all is OK and with vers. 1.8 and 1.9 from nunchack no data (or very strage data) ?
Bye, Carlo
by carlonb
Fri Feb 03, 2012 10:03 pm
Forum: Shields, boards and sensors
Topic: Nunchuck problem with MWii vers. 1.9
Replies: 6
Views: 2547

Re: Nunchuck problem with MWii vers. 1.9

@ Thorsten, @ UndCon, Thanks for reply, I think my pullups are correct as with vers. 1.7 run smooth also in stable mode, so no problem with connection I think. About 1.9 sensitivity on I2C bus, I think it's "more sensitive" because it take trace of I2C connection problems, but my issue see...
by carlonb
Thu Feb 02, 2012 10:36 pm
Forum: Shields, boards and sensors
Topic: Nunchuck problem with MWii vers. 1.9
Replies: 6
Views: 2547

Nunchuck problem with MWii vers. 1.9

Hi all, I flied very well till now with my Hexa-X (Arduino-mega) and multiwii code vers. 1.7 and nunchuck modified connected as "stand-alone" selecting #define nunchack in config file. Now, after switched to new multiwii vers. 1.9, there is no way to receive data fron acc Nunchuk, I see ma...
by carlonb
Fri Jan 06, 2012 12:27 pm
Forum: Software development
Topic: BUG: GYRO_ORIENTATION is not applied to WMP
Replies: 6
Views: 2825

Re: BUG: GYRO_ORIENTATION is not applied to WMP

Hi all, I added Gyro orientation for WMP only here, and modified the orientation in the last (as default commented) lines of "Config.h", and already done some test flight and seems run OK with quad + configuration. uint8_t WMP_getRawADC() { .... .... // Wii Motion Plus Data if ( (rawADC[5]...
by carlonb
Thu Dec 29, 2011 10:43 pm
Forum: Software development
Topic: Gyro Orientation for sensor routine WMP_getRawADC()
Replies: 0
Views: 1043

Gyro Orientation for sensor routine WMP_getRawADC()

Hi Alex, As I use a original WMP+NK and non standard gyro orientation I need to modify gyro orientation. I saw in last code in config.h file there are some commented lines to do that, but unfortunately, in file Sensor.pde in the routine WMP_getRawADC() there isn't Gyro_orientation statement, ...... ...
by carlonb
Mon Apr 04, 2011 9:35 pm
Forum: Shields, boards and sensors
Topic: WM+ with ITG3205
Replies: 84
Views: 54324

Re: WM+ with ITG3205

OK, here is my modified version of 1_preter7_nunchack I didnt move the "static uint8_t rawADC_WMP[6];" , but created a new variable "static uint8_t rawADC_nunchack[6];", seemed nicer code because the other drivers do it the same. I connected the ITG 3205 directly like described ...
by carlonb
Sun Apr 03, 2011 6:43 pm
Forum: Shields, boards and sensors
Topic: WM+ with ITG3205
Replies: 84
Views: 54324

Re: WM+ with ITG3205

So, guys...I made this fantastic mod by ziss_dm - direct connection of ITG3205 from WMP (as on my picture above, I2C lines to pullups on WMP, 3,3V from WMP regulator to supply NK) REMEMBER TO DISABLE ARDUINO INTERNAL PULLUPS in the code! - independed connection to I2C bus with Nunchuck, powered fro...