Firmware Uploader
This manual for Beginner. Makes it easier for you to get started with the robot(Nybble / Bittle ).
Last updated
Was this helpful?
This manual for Beginner. Makes it easier for you to get started with the robot(Nybble / Bittle ).
Last updated
Was this helpful?
Petoi Desktop App works on both Nybble and Bittle controlled by NyBoard based on ATmega328P or Bittle X controlled by based on ESP32.
You can connect the computer to the motherboard via a USB cable according to the instructions on the following sub-pages based on the mainboard model you choose.
After properly connecting the USB uploader, open the PetoiDesktopApp (for Windows: UI.exe / for Mac: Petoi Desktop App), and select your Model and Language.
If there is no serial port or more than one serial port are detected by the desktop app:
After clicking the Firmware Uploader button, there will be a message box prompt as follows:
Please follow the prompts in the message box. After clicking the Confirm button, If you complete the prompts within 10 seconds, the desktop app will automatically identify the serial port name connecting the robot to the computer. If you complete the operation of unplugging and plugging the USB interface on the computer for more than 10 seconds, the desktop application will enter the manual selection of the serial port name mode:
Click the OK button in the Warning message box first, then you can refresh the serial port list or select one of them (e.g. COM3) and click the OK button in the Manual mode window to open the Firmware Uploader interface as follows:
Once the Firmware Uploader interface is opened, you can also unplug and replug the USB cable from the COMPUTER side. The desktop app will automatically identify the serial port name connecting the robot to the computer.
If unplug the COM5 and replug it on the computer side, it will be discovered by the desktop app as follows:
The 1.0 software won't work properly with the Joint Calibrator, the Skill Composer, and other APIs. Only use it when you want to use CodeCraft (a graphical coding interface by our partner, TinkerGen).
Software version
1.0
2.0 (default)
The 1.0 version is obsolete.
Board version
NyBoard_V1_0 (default) NyBoard_V1_1 NyBoard_V1_2 BiBoard_V0_1
BiBoard_V0_2 BiBoard_V1_0
BiBoard_V0_1 or BiBoard_V0_2 is for Bittle X. BiBoard_V1_0 is for Bittle X V2 only.
Product
Bittle (default) Nybble Bittle X
Mode
Standard (default) RandomMind Voice Mind+ Camera Ultrasonic RandomMind_Ultrasonic Light Touch PIR Gesture IR distance
For NyBoard, these 12 modes can be selected. All of these modes apply to both Bittle and Nybble.
For BiBoard, You only need to upload the Standard mode firmware, and you can switch between different modes via serial port commands. [1]
Serial port
Auto detection or by manual selection.
You can find the correct one through unplug and replug the USB socket on the computer side
There's no correlation between the board (hardware) version and the code (software) version.
After the upload, the status bar will update the corresponding result, such as the success or failure of firmware uploading. If the uploading is successful, a message window of "Firmware upload complete!" will pop up simultaneously.
If the uploading fails, the following message box will pop up:
The log file is located at:
For Windows: The log file is in the same directory as UI.exe
For macOS: You can check the log file as follows:
When you contact our support@petoi.com, please attach the log file to your email.
You can use the serial commands to for BiBoard: For BiBoard, Mind+ mode is supported by default, so it doesn't require a serial command to switch on. You can learn about the function of each module through the .
For NyBoard, you can refer to .
For BiBoard, you can refer to .