Notifications
Clear all

Trouble with MPU 6050 Code

50 Posts
11 Users
14 Reactions
8,185 Views
(@azflyer)
Member
Joined: 5 years ago
Posts: 12
 

I might be 71 years old, but I still enjoy learning. That's why I enjoy learning from Mr. Bill. He's an amazing and knowlageable teacher. If you talk to him, tell him that I personaly thanked him for teaching me. After all as my electronic professor Dr. Hall said that the ocean of knowlage is so vast that you will never reach the shore.


   
Ron and Inst-Tech reacted
ReplyQuote
Inst-Tech
(@inst-tech)
Member
Joined: 3 years ago
Posts: 554
 

@azflyer "I might be 71 years old, but I still enjoy learning. That's why I enjoy learning from Mr. Bill. He's an amazing and knowlageable teacher. If you talk to him, tell him that I personaly thanked him for teaching me. After all as my electronic professor Dr. Hall said that the ocean of knowlage is so vast that you will never reach the shore."

Indeed, truer words have not been spoken...my experience as well.. after 49 years, still learning things I did not know, or forgotten!...lol

regards,

LouisR

LouisR


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 4 years ago
Posts: 8047
 

@azflyer I have still not wrapped my head around how that postage stamp sized electronic circuit board can do all those things.  I hope you will share on the forum (The Show and Tell sub forum in the Project Corner forum) when you get to the point of building something. I have a bit of an ulterior motive, I am curious about this sensor but have too many interests so when I can I like to watch andor piggy back on the work of others to save time.

I look forward to seeing you post your work at some future time hopefully in Show and Tell but maybe in Help Wanted first.

Best

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, 360, fairly knowledge in PC plus numerous MPU's & MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.


   
Inst-Tech reacted
ReplyQuote
(@smurf)
Member
Joined: 4 years ago
Posts: 7
 

Hi ALL.  Did anyone find an easy solution to this ?  Namely that the two zip files (mpu-6050-level-+DroneBot-Workshop.zip and MPU6050.zip) provided by the Dronebot Workshop RESOURCES footnote at the bottom of Bills article links to Jeff Rowberg’s I2C Dev Library – The I2C development library for Arduino, by Jeff Rowberg AND  Jeff Rowberg’s MPU-6050 Library – The MPU-6050 library for Arduino, by Jeff Rowberg DO NOT WORK.

The I2C Dev library contains NO I2C library - only a 3k zipped .INO file.

The MPU-6050 library does contain a 63k zipped file with the MPU6050 library and two example sketches which install correctly.

By going directly to Jeff Rowbergs Github page at: https://github.com/jrowberg/i2cdevlib.git

I can download the appropriate I2C library BUT it is not available as a zip file so WILL NOT INSTALL.


   
ReplyQuote
Inq
 Inq
(@inq)
Member
Joined: 3 years ago
Posts: 1929
 

Posted by: @smurf

I can download the appropriate I2C library BUT it is not available as a zip file so WILL NOT INSTALL.

 

Zip files are also available on Github:

image

But... there is nothing cosmic about a zip library.  Both Arduino IDE (1.8.x and 2.x) simply unzip them into the libraries folder.  If you create a sub-folder and drop the source code into it, restart your IDE, you will have access to that library.  Here is one of my libraries that I have not bothered to zip up, I simply have it hanging off the libraries folder.  Note - the sub folder doesn't even have to have the same name as the library, but it is good practice.

image

Inq

3 lines of code = InqPortal = Complete IoT, App, Web Server w/ GUI Admin Client, WiFi Manager, Drag & Drop File Manager, OTA, Performance Metrics, Web Socket Comms, Easy App API, All running on ESP8266...
Even usable on ESP-01S - Quickest Start Guide


   
ReplyQuote
Page 4 / 4