flo199213 / Hoverboard-Firmware-Hack-Gen2

Hoverboard Hack Firmware Generation 2 for the Hoverboard with the two Mainboards instead of the Sensorboards (See Readme.md).
GNU General Public License v3.0
143 stars 112 forks source link

The IMU appears to be a BMI120, not an MPU6050 like the schematic says #20

Open qwandor opened 2 years ago

qwandor commented 2 years ago

The schematic here says that there's an MPU6050 connected to I2C2 on PB8/PB9, but this seems not to be accurate. For a start PB8/PB9 is I2C0 not I2C2, but more importantly there doesn't seem to be any MPU6050 on the board.

There are however two chips that I haven't been able to identify: U2 and U5. I'm struggling to read the markings on them, but U2 is marked something like "ATG BS." while U5 is marked "TP09. 1828 H1" or something similar. Has anyone been able to figure out what these chips are, and whether one of them is the sensors?

qwandor commented 2 years ago

To confuse matters, looking at another board, the chips are different: on this one U2 is "BOP BS." and U5 is "TP09. 1822 H1".

qwandor commented 2 years ago

Answering my own question, with some help from the Telegram group, it looks like it's a BMI120, or more likely a clone of it. It has I2C slave address 0x68, and reading register 0x00 gives the chip ID 0xd3 which matches the BMI120 datasheet.

So I guess the schematic should be corrected, to say there's a BMI120 connected to I2C0.

Candas1 commented 2 years ago

Hi,

It could be there are different versions of the board with different IMUs also.