Petoi AI Vision Module
Last updated
Was this helpful?
Last updated
Was this helpful?
Petoi AI Vision Module is based on the Arm Cortex-M55, and Ethos-U55 embedded vision module. The Ethos-U55 has 64 to 512 GOP/s of arithmetic power to meet the growing demand for downloading machine learning.
Fix the end connected to the camera to the robot's head (included in Bittle's / Bittle X's mouth or attached to Bittle R's robotic arm).
You can use the Firmware Uploader within the Petoi Desktop App.
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:
After uploading, open the serial monitor and use the serial command "XC" to switch to using the camera mode.
Install the library ArduinoJson
Upload the sketch(OpenCatEsp32.ino).
Use the latest OpenCatESP32 source code to finish the setup. For example, to modify the code for Bittle as shown below:
After uploading, open the serial monitor and use the serial command "XC" to switch to using the camera mode.
If the camera mode can't be activated, as following:
You can use the web debug GUI to upgrade the camera firmware and upload the Face Detection model.
To run the example code in the library Seeed_Arduino_SSCMA, you should add the library to your Arduino IDE by selecting Sketch > Include Library > Add .ZIP Library and choosing the downloaded file.
Or you can install the library in the Library Manager of the Arduino IDE as follows:
NOTE: If you want to recover (upload) the OpenCatEsp32 firmware. You need to delete this library first.