Comments on: ESP32 with MPU-6050 Accelerometer, Gyroscope and Temperature Sensor (Arduino) https://randomnerdtutorials.com/esp32-mpu-6050-accelerometer-gyroscope-arduino/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Mon, 02 Feb 2026 21:12:53 +0000 hourly 1 https://wordpress.org/?v=6.8.5 By: zeeshan hyder https://randomnerdtutorials.com/esp32-mpu-6050-accelerometer-gyroscope-arduino/#comment-1158154 Mon, 02 Feb 2026 21:12:53 +0000 https://randomnerdtutorials.com/?p=100986#comment-1158154 I am trying to use an MPU6050 with an ESP32 (SDA = GPIO21, SCL = GPIO22, VCC = 3.3V, GND = GND).
When I run the I2C Scanner, it detects the sensor at 0x68, but when I try to use the Adafruit_MPU6050 library, mpu.begin() fails with ‘Failed to find MPU6050 chip!’
I also tried a minimal Wire test and got ‘Error code 5’.

]]>
By: Anu https://randomnerdtutorials.com/esp32-mpu-6050-accelerometer-gyroscope-arduino/#comment-1126909 Sun, 23 Nov 2025 16:18:37 +0000 https://randomnerdtutorials.com/?p=100986#comment-1126909 How to take care of the calibration error, I couldn’t understand that from the tutorial..Did I miss that part? pls guide where and how to adjust the calibration errors

]]>
By: claudio https://randomnerdtutorials.com/esp32-mpu-6050-accelerometer-gyroscope-arduino/#comment-1010713 Mon, 24 Feb 2025 21:43:24 +0000 https://randomnerdtutorials.com/?p=100986#comment-1010713 Un bellissimo progetto, inoltre spiegato molto molto bene.
Un informazione vorrei legare questo ad un servo, impiego giroscopio per aereo RC.
Magari qualcuno lo ha gia fatto, ma uno spunto per un controllo posizione con esp.

]]>
By: Alan Dixon https://randomnerdtutorials.com/esp32-mpu-6050-accelerometer-gyroscope-arduino/#comment-869862 Sat, 04 Nov 2023 09:02:49 +0000 https://randomnerdtutorials.com/?p=100986#comment-869862 In reply to sirous.

I had this problem. In the end it had nothing to do with the address. I forgot I was using a Nodemcu 32 board and the pinouts are different than the esp32 board shown in the circuit shown here. Once I connected up correctly it worked Just fine.

]]>
By: Gianmarco https://randomnerdtutorials.com/esp32-mpu-6050-accelerometer-gyroscope-arduino/#comment-861130 Sun, 17 Sep 2023 07:43:24 +0000 https://randomnerdtutorials.com/?p=100986#comment-861130 Beautiful project! Do you think it can be the basis for building a system that calculates the bend angle of the moving bike while riding through a curve? Thanks

]]>
By: mari https://randomnerdtutorials.com/esp32-mpu-6050-accelerometer-gyroscope-arduino/#comment-854575 Fri, 11 Aug 2023 07:24:51 +0000 https://randomnerdtutorials.com/?p=100986#comment-854575 Hello and thank you for this perfect tutorial!
I have a question. How can I receive the plot related to MPU-6050 data on the webserver page that this project brought numeric data and the 3D movement of the sensor?
I would be glad if someone could answer this for me causze I’m a new learner.
Thanks a lot in advance.

]]>
By: hex00 https://randomnerdtutorials.com/esp32-mpu-6050-accelerometer-gyroscope-arduino/#comment-832183 Thu, 27 Apr 2023 02:42:26 +0000 https://randomnerdtutorials.com/?p=100986#comment-832183 Failed to find MPU6050 chip – I have the same error with THIS (adafruit) library

With MPU6050 lib by Electronic Cats – I can run example sketch in 1 click

device ID from i2c scanner is the same 0x68

Could you or somebody else make this sketch based on Electronic Cats MPU6050 lib?

]]>
By: Pixelwolf https://randomnerdtutorials.com/esp32-mpu-6050-accelerometer-gyroscope-arduino/#comment-815972 Tue, 07 Feb 2023 07:09:09 +0000 https://randomnerdtutorials.com/?p=100986#comment-815972 Adafruit_MPU6050 mpu;
Adafruit_SSD1306 display = Adafruit_SSD1306(128, 32, &Wire);

Change your Code for this Line. It will look as you like it.

]]>
By: Shen https://randomnerdtutorials.com/esp32-mpu-6050-accelerometer-gyroscope-arduino/#comment-814104 Tue, 31 Jan 2023 06:23:39 +0000 https://randomnerdtutorials.com/?p=100986#comment-814104 Hello, tutorial is very informative and each and every step you explained verywell.
Wanted to know in above 1)How I can get MPU6050 readings on mobile2) How I can connect ESP32 remotely with the PC/mobile app and MPU 6050 remotely with ESP32. Can you please let me know.

]]>
By: gurudeep https://randomnerdtutorials.com/esp32-mpu-6050-accelerometer-gyroscope-arduino/#comment-806086 Wed, 28 Dec 2022 11:38:17 +0000 https://randomnerdtutorials.com/?p=100986#comment-806086 i am getting this kind of error in serial monitor soo it would be if someone could help me.

16:54:10.060 -> ets Jun 8 2016 00:22:57
16:54:10.060 ->
16:54:10.060 -> rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
16:54:10.060 -> configsip: 0, SPIWP:0xee
16:54:10.060 -> clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
16:54:10.060 -> mode:DIO, clock div:1
16:54:10.060 -> load:0x3fff0030,len:1344
16:54:10.117 -> load:0x40078000,len:13864
16:54:10.117 -> load:0x40080400,len:3608
16:54:10.117 -> entry 0x400805f0
16:54:10.210 -> Adafruit MPU6050 test!
16:54:10.257 -> Failed to find MPU6050 chip

]]>