Pages: [1]   Go Down
Author Topic: MPU6050 library and Arduino Due  (Read 2510 times)
0 Members and 1 Guest are viewing this topic.
Rome, IT
Offline Offline
Newbie
*
Karma: 0
Posts: 24
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi all,

I need more pin than Uno has to build my project: for this reason I thought to buy an Arduino Due board.
I would prefer the Due instead the Mega in order to have a powerfull board.

Before buy it I would check that I will have no problem to make my components works on Due so would be nice
if you can help me to understand this.

MPU6050 from Sparkfun (https://www.sparkfun.com/products/11028). From datasheet it seems no problem
to work at 3.3V, right? I want to use it with the Jeff Rowberg's library: they will work on Due?

For other component (like PING))) sensor) that works at 5V I was suggested to use this logic level converter (https://www.sparkfun.com/products/8745): is it ok for this goal?
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 14
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

There are two aspect you need to take into account:

1. Hardware compatibility (voltage level): here there is no problem. MPU6050 work with DUE. Just connect the VDD and VIO to 3.3V.
2. Software (CPU) compatibility. I had to copy this code: http://arduino.cc/forum/index.php/topic,129407.msg976225.html#msg976225 to MPU6050.h to get the library working with DUE.
Logged

Rome, IT
Offline Offline
Newbie
*
Karma: 0
Posts: 24
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi whitewater,

thanks for your reply: my Due board is arriving, I will try it!

Thanks
Alessandro
Logged

Pages: [1]   Go Up
Jump to: