AiStarter User Guide Contents
IssueV1.0.3(2018-09-01) AiStarter User Guide Copyright © Yuejiang Technology Co., Ltd
iii
Contents
1. Safety Precautions .................................................................................................... 1
1.1 Service Security ................................................................................................................ 1
1.2 After-sales Service Terms ................................................................................................. 1
1.2.1 Warranty Regulation ............................................................................................ 1
2. Introduction .............................................................................................................. 3
2.1 Features ............................................................................................................................. 3
2.2 Parts List ........................................................................................................................... 3
2.3 Technical Parameters ........................................................................................................ 4
3. Feature Description ................................................................................................. 6
3.1 Aistarter Controller ........................................................................................................... 6
3.1.1 Overview ............................................................................................................. 6
3.1.2 AT Mega2560 Processor ...................................................................................... 6
3.1.3 Button .................................................................................................................. 6
3.1.4 LED ..................................................................................................................... 7
3.1.5 USB ..................................................................................................................... 7
3.1.6 Interface Description ........................................................................................... 8
3.2 Infrared Sensor .................................................................................................................. 9
3.3 Ultrasonic Sensor .............................................................................................................. 9
3.4 Color Sensor ..................................................................................................................... 9
4. Installation .............................................................................................................. 10
4.1 Mixly Installation ............................................................................................................ 10
4.2 Arduino IDE ................................................................................................................... 10
5. User Operation ....................................................................................................... 11
5.1 Mixly Introduction .......................................................................................................... 11
5.2 Arduino IDE Introduction ............................................................................................... 11
5.3 Blockly Description ........................................................................................................ 12
5.3.1 Setting Direction and Speed .............................................................................. 12
5.3.2 Setting Direction\Speed\Time ........................................................................... 13
5.3.3 Setting Motor Speed .......................................................................................... 13
5.3.4 Starting AiStarter Sonar ..................................................................................... 13
5.3.5 Detecting Barrier ............................................................................................... 14
5.3.6 Getting The Detection Distance of Sonar .......................................................... 14
5.3.7 Detecting AiStarter Track .................................................................................. 15
5.3.8 Getting Infrared Sensor Data ............................................................................. 15
5.3.9 Getting Geomagnetic Angle .............................................................................. 16
5.3.10 Setting White Balance ....................................................................................... 16
5.3.11 Setting Color Sensor Status ............................................................................... 16
5.3.12 Getting RGB Value ............................................................................................ 16
5.3.13 Detecting Color ................................................................................................. 17
5.3.14 Getting Switch Status ........................................................................................ 17
5.3.15 Detecting Switch Status ..................................................................................... 17
5.3.16 Getting Photosensitive Value ............................................................................. 18