Close

Sadness today

A project log for Pi Zero 2 Robot Navigation Head

(it's a gimbal) with OpenCV/range scanning and IMU for navigating wireless robot platforms by API

jacob-david-c-cunninghamJacob David C Cunningham 08/07/2022 at 22:260 Comments

For some reason the MPU6050 is not performing well with my setup. I keep getting I/O error. Unfortunately the Pi Zero 2 W only has 1 hardware serial port. So... what I'm trying to do is have another board (Seeeduino) run the MPU6050 and then by some comm method (ideal serial but now SPI) I will send the data to the Pi...

Using the Seeeduino I can just keep the IMU running perpetually. But I've never used SPI before so it's slow to get it to work... there's hardly any examples for the Seeeduino SAMD21.

I'll get it to work though because I need the IMU to be running.

I also worked on the buggy today regarding how much it moves by some command. It's still not 100% so I'm mostly working with ratios eg. it moved 1" by this command so turn that into a fraction/function.

I also think I killed an MPU6050 by connecting it to an Arduino Nano RIP.

Discussions