MU Camera
Last updated
Was this helpful?
Last updated
Was this helpful?
Petoi Intelligent Vision Sensor can recognize many objects with a deep-learning algorithm. For example, it can detect color blocks, balls, the human body, and cards. Its detection result can be transmitted through the UART or I2C interface. MU is compact, has low power consumption, processes all algorithms locally, and can be widely used in intelligent toys, AI+STEAM lessons, creators, and other products or fields.
After uploading the firmware, switch the dial (left: down and up; right: down and down) on the MU Vision Sensor and connect to the mainboard with wire as shown in the following picture:
Use the latest OpenCat code to finish the setup. For example, to modify the code for Bittle as shown below:
If you have already uploaded the latest OpenCat code to make Bittle walk, you only need to uncomment #define CAMERA
At the beginning of OpenCat.ino, then upload the code.
The demo video is as follows:
Fix the end connected to the camera to the robot's head (included in Bittle's / Bittle X's mouth).
Please select the correct Product type, Borard version, and Serial port. The mode should be Standard, so press the Upgrade the Firmware button. for example, Bittle, BiBoard_V0_2, COM5 as follows:
Use the latest OpenCatESP32 source code to finish the setup. For example, to modify the code for Bittle as shown below:
While the MU Vision Sensor connects with BiBoard if the white LED on the back of the MU Vision Sensor isn't lit up.
Please plug the battery into the BiBoard and long-press the button on the battery to power the BiBoard. Then, click the camera's reset button and the main board's reset button in order.
This module also supports the following developing environment:
MicroPython APIs
Mixly IDE
MakeCode IDE
You can use the within the Petoi Desktop App. Please select the correct Product type, Borard version, and Serial port. The mode should be Camera, so press the Upgrade the Firmware button. for example, Bittle, NyBoard_V1_2, COM5 as follows:
You can use to upload and modify the source code.
First, download and install the into your Arduino IDE.
2. Use the latest code to finish the setup.
If unsure, you need to finish the (Step 1 to Step 10) to ensure everything is configured correctly, then upload the code in the camera mode.
If the camera code is uploaded correctly, Bittle maintains the rest position. Success messages are printed on the of Arduino IDE. When the MU Vision Sensor recognizes a target, the two LEDs will turn blue, and Bittle's head can follow the target and swing left and right. The demo code will auto-switch the target between a yellow tennis ball and a human body if it fails to find any object.
You can use the within the Petoi Desktop App.
After uploading, and use the serial command "XC" to switch to using the camera mode.
First, download and install the into the .
2. Use Arduino IDE to (OpenCatEsp32.ino).
After uploading, and use the serial command "XC" to switch to using the camera mode.
For more details, please refer to .