From the simulator to the robot
Copy the C++ from the simulator, then upload it to Ciko or Momo with the Arduino IDE.
Set up the computer
- 1
Install Arduino IDE 2 from the official Arduino website.
- 2
Add the RobotKit library that comes with the robot: Sketch, Include Library, Add .ZIP Library.
- 3
For Momo, also install the ESP32 board package from the Boards Manager.
Copy and upload
- 1
In the simulator, open the C++ code and copy all of it.
- 2
Paste it into a new sketch in the Arduino IDE.
- 3
Choose the board: Arduino Nano for Ciko, ESP32 Dev Module for Momo. Choose its USB port.
- 4
Press Upload, then unplug and test on the floor.
If the upload fails
- 1
Ciko: try the ATmega328P (Old Bootloader) processor in the Tools menu.
- 2
Try another data cable; some USB cables only charge.
- 3
Close the Serial Monitor or any other app that holds the same port.