I recently purchased the MU Vision sensor off ebay, but it came with a 4pin connector to 4 female jumper wires instead of the 4pin to the 4pin connector.
I have a few seeed modules that have the correct cables so I tried those but had no luck. Can anyone direct me to the correct cord so I can try out the MU Vision Sensor 3 with my bittle.
Thank you!
You need to connect the I2C or serial port to Pi, rather than NyBoard.
The ball tracking demo is at https://github.com/PetoiCamp/BallTracking
It provides an example to bind the camera data with the robot's motion for tracking.
We have ODMed camera with our logo and special pin socket for convenient setup at www.petoi.com/store. It's basically the same as the standard one.
I purchased the MU Sensor and I checked instructions at https://morpx-docs.readthedocs.io/en/latest/MUVS3/MUVS3_Arduino/MUVS3_Arduino_Guide.html#connect-to-arduino. Yet I think I will need to connect the MU sensor to RPi and through the serial port instruct Arduino for Brittle movement. If it is the case what are the MU sensor setting ?
Additionally I read in another post to check in github petoi/trackball to test it. However I cannot find the file in opencat github. I appreciate if you can indicate a link to related instructions, possibly also to software with implemented examples.
Finally I read from above comment that MU module for Bittle was order made: is my understanding correct ?
thanks
Yes, the CodeCraft team altered the I2C address of some common modules to avoid conflicts with their previous ones. Arduino IDE should always work because you have the freedom to change every bit of the program.
You may try this test code to detect the addresses of all I2C devices connected.
Oh that's good to know, probably the same reason I cannot get the OLED module to work properly on CodeCraft. Probably time to download Arduino IDE and get my feet wet. Thank you for the help!
Pay attention to the slide switch on the sensor. They have different configurations. Oh, and I'm afraid CodeCraft defined a different I2C address for their camera. You can test our Github code petoicamp/ballTracking to validate the connection.
Thank you for the suggestion, I cut both wires and rewired them in the correct order. The only problem now is when I upload code from Codecraft that includes a block for the Vision sensor, it won't get passed assigning the 1 skill when I read the serial monitor.
Hi, the MU camera has a different pin order from the standard Grove connector. We ODMed our version of the MU camera so it works with Grove. In your case, we provided the grove cable, and you should have the connector from the MU camera. You can cut the four wires and reconnect them in the correct order.