WM+ BMA020 on Mega not working with 1.9

Post Reply
User avatar
Th0rsten
Posts: 65
Joined: Mon Oct 31, 2011 10:28 am

WM+ BMA020 on Mega not working with 1.9

Post by Th0rsten »

Hello!

I just build my Mega-FC with parts from flyduino.com
The problem: In 1.8.2 everything works fine and fast with about 4200 cycle time.
In 1.9 there are no readings from the gyro and ACC is very slow - there are errors on the i2c.
Yes, I'm aware of the i2c-error posting here in the forum but as you can see on the picture - it's hard to mess up wiring.
Internal pull-ups are enabled.

Update1: Commented the BMA020 in the 1.9 and now I get readings (with no i2c errors) from the gyro.
It's like here: viewtopic.php?p=6063#p6063

Update2: Switched from 3V3 to 5V for the WM+. Same bad results.

Update3: Connected 2k2 external pull-ups from SDA and SCL to 5V and disabled internal pull-ups. WM+ still on 5V.
GYRO AND ACC ARE WORKING with no errors on i2c!!!

Update4: viewtopic.php?f=8&p=7456#p7456

It's sad that buying a plug'n'play solution wasn't so plug'n'play.
Despite the problem with the pull-ups the Flyduino MEGA and the Flydusense V1.2 are build very well.
Attachments
Foto.JPG
Last edited by Th0rsten on Thu Jan 05, 2012 7:12 pm, edited 2 times in total.

jessestr
Posts: 86
Joined: Tue Dec 27, 2011 8:49 pm

Re: WM+ BMA020 on Mega not working with 1.9

Post by jessestr »

Indeed, found out that you have to add 2k2 pullups to the sda & scl. It works now. Congrats ! I ordered also a Drotek 6DOF IMU to have a better flying experience. Will use the WM+ and BMA anyways!

By the way, why did you buy a flyduino MEGA? Well, what advantages did you have with it. Thanks for sharing!

User avatar
Th0rsten
Posts: 65
Joined: Mon Oct 31, 2011 10:28 am

Re: WM+ BMA020 on Mega not working with 1.9

Post by Th0rsten »

Wanted something looking a bit more professional than my first quad with homemade FC and DIY OSD. :)
And I want to be ready for GPS.
Attachments
quads.JPG

jessestr
Posts: 86
Joined: Tue Dec 27, 2011 8:49 pm

Re: WM+ BMA020 on Mega not working with 1.9

Post by jessestr »

It is already looking good! By the way, do you come from Belgium or the Netherlands? Because your name is dutch (Thorsten), could be wrong.

Nice GoPro HD too :)!

User avatar
Th0rsten
Posts: 65
Joined: Mon Oct 31, 2011 10:28 am

Re: WM+ BMA020 on Mega not working with 1.9

Post by Th0rsten »

I'm from CH.
You can see the homemade quad flying here: http://vimeo.com/32731076

jessestr
Posts: 86
Joined: Tue Dec 27, 2011 8:49 pm

Re: WM+ BMA020 on Mega not working with 1.9

Post by jessestr »

Very nice ! I love it, also love the place where you fly, the lightning is cool! Is it difficult to fly with gyro & accel?

Post Reply