# Arduino nano + MPU 6050 error

**URL:** <https://klipper.discourse.group/t/arduino-nano-mpu-6050-error/11427>\
**Category:** General Discussion\
**Created:** [November 7, 2023, 3:57am UTC](https://klipper.discourse.group/t/arduino-nano-mpu-6050-error/11427 "2023-11-07T03:57:10Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![alissonrey](https://avatars.discourse-cdn.com/v4/letter/a/b5a626/32.png) [@alissonrey](https://klipper.discourse.group/u/alissonrey)\
**Post date:** [November 7, 2023, 3:57am UTC](https://klipper.discourse.group/t/arduino-nano-mpu-6050-error/11427/1 "2023-11-07T03:57:10Z")

</div>

### Basic Information:

Printer Model: Sovol Sv01  
 MCU / Printerboard: Fystec Cheetah v2.0  
 [klippy (6).log](https://klipper.discourse.group/uploads/short-url/n0YMi6kxG6j3ZTxJjXg4DIk684h.log) (453.9 KB)

i’m trying to use Arduino nano + MPU 6050 to calibrate inpute shape, but i’m getting this error when i put the mpu6050 config below

[mcu nano]

serial: /dev/serial/by-path/pci-0000:00:1a.0-usb-0:1.5:1.0-port0

[mpu9250]  
i2c\_mcu: nano

i got this error then restat firmware

MCU Protocol error

This is frequently caused by running an older version of the  
firmware on the MCU(s). Fix by recompiling and flashing the  
firmware.

Your Klipper version is: v0.11.0-311-g9e765dae-dirty  
MCU(s) which should be updated:  
mcu: Current version v0.11.0-311-g9e765dae-dirty-20231106\_172016-klipper-To-be-filled-by-O-E-M  
nano: Current version v0.11.0-311-g9e765dae-dirty-20231107\_004816-klipper-To-be-filled-by-O-E-M  
Up-to-date MCU(s):

Once the underlying issue is corrected, use the “RESTART”  
command to reload the config and restart the host software.

mcu ‘nano’: Unknown command: i2c\_write

u guys know how to solve this problem ?

---

<div class="post-metadata">

**Author:** ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)\
**Post date:** [November 7, 2023, 7:30am UTC](https://klipper.discourse.group/t/arduino-nano-mpu-6050-error/11427/2 "2023-11-07T07:30:06Z")

</div>

See [MCU Protocol error caused by running an older version of the firmware](https://klipper.discourse.group/t/mcu-protocol-error-caused-by-running-an-older-version-of-the-firmware/10371)

---

<div class="post-metadata">

**Author:** ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)\
**Post date:** [November 7, 2023, 7:31am UTC](https://klipper.discourse.group/t/arduino-nano-mpu-6050-error/11427/3 "2023-11-07T07:31:19Z")

</div>

And please refrain from posting the same topic twice. I deleted the duplicate

---

<div class="post-metadata">

**Author:** ![alissonrey](https://avatars.discourse-cdn.com/v4/letter/a/b5a626/32.png) [@alissonrey](https://klipper.discourse.group/u/alissonrey)\
**Post date:** [November 7, 2023, 1:04pm UTC](https://klipper.discourse.group/t/arduino-nano-mpu-6050-error/11427/4 "2023-11-07T13:04:44Z")

</div>

Sorry about duplicate post, did not see it. About the problem, dont think the problem is older version of the firmware, cause they are the same version the diferrence between then is the time i flashed it.

---

<div class="post-metadata">

**Author:** ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)\
**Post date:** [November 8, 2023, 11:30am UTC](https://klipper.discourse.group/t/arduino-nano-mpu-6050-error/11427/5 "2023-11-08T11:30:07Z")

</div>

You are probably right, the error message is misleading in this case.

Likely you modified the make files in a way that is now causing this error.

```auto
Git version: 'v0.11.0-311-g9e765dae-dirty'
Modified files: src/Makefile
Branch: master
Remote: origin

```

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/klipper/original/1X/64419bf2aac6639e6ef5cef200dcd456b0a01ac3.png) [@system](https://klipper.discourse.group/u/system)\
**Post date:** [January 7, 2024, 11:31am UTC](https://klipper.discourse.group/t/arduino-nano-mpu-6050-error/11427/6 "2024-01-07T11:31:01Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
