Skip to content
This repository has been archived by the owner on Dec 22, 2022. It is now read-only.

Firmware change to support MP65 accelerometer #26

Open
rgrbic opened this issue May 25, 2016 · 6 comments
Open

Firmware change to support MP65 accelerometer #26

rgrbic opened this issue May 25, 2016 · 6 comments

Comments

@rgrbic
Copy link

rgrbic commented May 25, 2016

The dobot arm from v1.2 comes with MP65 accelerometers. The current firmware version (0.5.0) does not properly read these accelerometers.

@maxosprojects
Copy link
Owner

maxosprojects commented May 25, 2016

Current open-dobot version is 1.1.0 https://github.com/maxosprojects/open-dobot/releases/tag/1.1.0

open-dobot simply doesn't read MP65 at all as it is unknown and didn't come with dobot v1.0

@maxosprojects
Copy link
Owner

maxosprojects commented May 26, 2016

There are three options here:

  1. Someone who has a logic analyzer (BeagleBone can be used as one) or an oscilloscope implements that.
  2. Get 2 of these http://www.amazon.com/SMAKN%C2%AE-Arduino-MPU-6050-gyroscope-accelerometer/dp/B00NH8Z6BU/ or similar, solder 5 wires (or 4 wires and 2 resistors) and mount those accelerometers on top of existing ones (hot glue would do).
  3. Switch to RAMPS v1.4 and do the same as in option 2.

Looking at the amount of contributions to this project option 1 is not likely to happen any time soon.
Support for MPU-6050 in FPGA version for option 2 can be added within two weeks once someone expresses interest in that option.
Support for MPU-6050 in RAMPS version for option 3 is coming with open-dobot v1.2 (in the next couple of days).

MP65 is most probably a clone of MPU-6050 with "who knows what implementation" and absolutely no documentation (thanks dobot team for using unknown crap). To start with, it looks like it sits on SPI bus, while MPU6050 sits on I2C - in documentation for MPU-60x0 only MPU6000 can work on SPI.
Given I don't have MP65-based accelerometer, guessing the protocol is not likely to get us anywhere.

So I highly recommend switching to MPU6050 regardless of the board version (ramps or fpga) - it is a well-known and widely used (e.g. in drones) MPU.

@rgrbic
Copy link
Author

rgrbic commented May 26, 2016

I agree.

@rgrbic rgrbic closed this as completed May 26, 2016
@maxosprojects maxosprojects reopened this Jan 7, 2017
@maxosprojects
Copy link
Owner

I'm going to look at that https://www.amazon.com/UCTRONICS-MPU-6500-6-Axis-Gyroscope-Accelerometer/dp/B01DIPU152/ . If it appears to be the same chip (MPU-6500) installed on version 1.2 then I will add it to the firmware.

@rgrbic
Copy link
Author

rgrbic commented Jan 14, 2017

Hi here is picture of mine accelerometer if it helps
wp_20170112_15_28_28_pro

@maxosprojects
Copy link
Owner

The label on the chip in the middle is not clear on your picture, but it's ok, other users have uploaded pictures before and it was clear that it is MP65.

Repository owner deleted a comment from afifswaidan Mar 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants