Apitor SuperBot Coding Examples Examples v2.0.pdf · 3. an the robot run the code offline (without...
Transcript of Apitor SuperBot Coding Examples Examples v2.0.pdf · 3. an the robot run the code offline (without...
![Page 1: Apitor SuperBot Coding Examples Examples v2.0.pdf · 3. an the robot run the code offline (without tablet or smart phone)? Yes. lick the ^Upload _ button in the ^ ode interface to](https://reader034.fdocuments.in/reader034/viewer/2022051811/601f373e422c8c417030e16d/html5/thumbnails/1.jpg)
Copyright © 2019 Apitor Technology Co., Ltd. All Rights Reserved
Apitor SuperBot
Coding Examples
![Page 2: Apitor SuperBot Coding Examples Examples v2.0.pdf · 3. an the robot run the code offline (without tablet or smart phone)? Yes. lick the ^Upload _ button in the ^ ode interface to](https://reader034.fdocuments.in/reader034/viewer/2022051811/601f373e422c8c417030e16d/html5/thumbnails/2.jpg)
1. Circling Your robot will go in circles.
Note:
(1) The coding example below applies to the models with power button on the
back.
(2) Change “clockwise” to “anticlockwise” if the power button of your model is in
the front.
(3) Recommend the models look like a car, such as Dragon Tiger Chariot, Sumo
Robot etc.
2. Move with light and sound effect Your robot will move with light and sound effect.
Note:
(1) The coding example below applies to the models with power button on the
back.
(2) Exchange “clockwise” and “anticlockwise” if the power button of your model
is in the front.
![Page 3: Apitor SuperBot Coding Examples Examples v2.0.pdf · 3. an the robot run the code offline (without tablet or smart phone)? Yes. lick the ^Upload _ button in the ^ ode interface to](https://reader034.fdocuments.in/reader034/viewer/2022051811/601f373e422c8c417030e16d/html5/thumbnails/3.jpg)
3. Angry Boy Your robot will react as an angry boy when you get close to the sensor. The sound
will stop once you are out of the sensor range.
Note:
(1) Please install sensors on the robot.
(2) Please do not mute your tablet or smart phone.
(3) You can change “sensor 1” to “sensor 2” according to the actual situation.
![Page 4: Apitor SuperBot Coding Examples Examples v2.0.pdf · 3. an the robot run the code offline (without tablet or smart phone)? Yes. lick the ^Upload _ button in the ^ ode interface to](https://reader034.fdocuments.in/reader034/viewer/2022051811/601f373e422c8c417030e16d/html5/thumbnails/4.jpg)
4. Sensor Activated Robot Car When you get close to the sensor, your robot will be activated, move forward with
LED color effect, then stop. It will stop immediately once you are out of the sensor
range.
Note:
(1) Exchange “clockwise” and “anticlockwise” if necessary.
(2) Change the speed by changing the number in the example.
5. I am SuperBot
Here comes the SuperBot!
When you get close to the sensor, your robot will be activated, move forward with
LED color effect, then stop. It will stop immediately once you are out of the sensor
range.
Meanwhile, “I am SuperBot” will appear on your device.
Note:
(1) Exchange “clockwise” and “anticlockwise” if necessary.
(2) Change the speed by changing the number in the example.
![Page 5: Apitor SuperBot Coding Examples Examples v2.0.pdf · 3. an the robot run the code offline (without tablet or smart phone)? Yes. lick the ^Upload _ button in the ^ ode interface to](https://reader034.fdocuments.in/reader034/viewer/2022051811/601f373e422c8c417030e16d/html5/thumbnails/5.jpg)
6. Obstacle Avoidance The robot will detect the obstacle in the movement and avoid it automatically.
Note:
(1) Please install sensors on the robot.
(2) Exchange “clockwise” and “anticlockwise” if necessary.
(3) Change the speed by changing the number in the example.
![Page 6: Apitor SuperBot Coding Examples Examples v2.0.pdf · 3. an the robot run the code offline (without tablet or smart phone)? Yes. lick the ^Upload _ button in the ^ ode interface to](https://reader034.fdocuments.in/reader034/viewer/2022051811/601f373e422c8c417030e16d/html5/thumbnails/6.jpg)
Q&A 1. How to install the sensors?
Install the 3-pin connector of sensor on the main control unit.
2. How can I share my code with other device?
Click the “Share” button in the “Code” interface.
Click “Share” or “Take” to continue.
Scan the QR code to complete sharing.
Note: This function requires the two devices to connect to same WIFI.
![Page 7: Apitor SuperBot Coding Examples Examples v2.0.pdf · 3. an the robot run the code offline (without tablet or smart phone)? Yes. lick the ^Upload _ button in the ^ ode interface to](https://reader034.fdocuments.in/reader034/viewer/2022051811/601f373e422c8c417030e16d/html5/thumbnails/7.jpg)
![Page 8: Apitor SuperBot Coding Examples Examples v2.0.pdf · 3. an the robot run the code offline (without tablet or smart phone)? Yes. lick the ^Upload _ button in the ^ ode interface to](https://reader034.fdocuments.in/reader034/viewer/2022051811/601f373e422c8c417030e16d/html5/thumbnails/8.jpg)
3. Can the robot run the code offline (without tablet or smart phone)?
Yes.
Click the “Upload” button in the “Code” interface to upload your code to the robot.
Turn off the power of the main control unit. Then press and hold the power button
for 5 seconds to turn it on. The robot will start offline mode and run the code
automatically according to the uploaded code.
![Page 9: Apitor SuperBot Coding Examples Examples v2.0.pdf · 3. an the robot run the code offline (without tablet or smart phone)? Yes. lick the ^Upload _ button in the ^ ode interface to](https://reader034.fdocuments.in/reader034/viewer/2022051811/601f373e422c8c417030e16d/html5/thumbnails/9.jpg)