Contents

Share for us

Introduction……………………………………………………………………………………………….. 2

1.1   Overview…………………………………………………………………………………………….. 2

Components List …………………………………………………………………………………………3

2.1.  Mechanical Fasteners…………………………………………………………………………… 3

2.2.  Electronic Components. …………………………………………………………………………4

2.3.  Tools………………………………………………………………………………………………… 7

Software Operation……………………………………………………………………………………… 8

3.1   Get the Code………………………………………………………………………………………. 8

3.1.1 Install Arduino IDE……………………………………………………………………………….. 8

3.1.2 Connecting Rollbot to Your Computer……………………………………………………….. 8

3.2   Add Libraries………………………………………………………………………………………. 9

Assembly………………………………………………………………………………………………… 11

4.1   Main Board + N20 Gear Motors. ……………………………………………………………..12

4.2   N20 Gear Motors + Wheels…………………………………………………………………… 13

4.3   Main Board + Universal Wheel ………………………………………………………………..14

4.4   Main Board + Battery. …………………………………………………………………………..15

4.5   Main Board + Infrared Sensor…………………………………………………………………. 17

4.6   Main Board + OLED Screen. ………………………………………………………………….17

4.7   Rollbot + Covers…………………………………………………………………………………. 17

4.8   DIY Covers………………………………………………………………………………………… 18

Gameplay………………………………………………………………………………………………… 20

5.1   Singing…………………………………………………………………………………………….. 21

5.2   Display the Sensor Signal Intensity on OLED…………………………………………….. 23

5.3   Motor Testing…………………………………………………………………………………….. 24

5.4   Line Following……………………………………………………………………………………. 25

5.4.1 Magic Forest…………………………………………………………………………………….. 25

5.4.2 DIY Map………………………………………………………………………………………….. 27

5.5   Bluetooth App Controls the Robot ……………………………………………………………28

5.6   Dice Game……………………………………………………………………………………….. 31

Hardware Introduction. ………………………………………………………………………………..35

6.1   Overview…………………………………………………………………………………………… 35

6.2   Main Control Module…………………………………………………………………………… 35

6.3   USB Interface Module…………………………………………………………………………. 37

6.4   LED Indicator Module………………………………………………………………………….. 37

6.5   OLED Display Module…………………………………………………………………………. 38

6.6   Bluetooth Module………………………………………………………………………………. 38

Program Explanation…………………………………………………………………………………. 39

7.1   Singing with Buzzer……………………………………………………………………………. 39

7.2   Smiling Face with LEDs………………………………………………………………………. 42

7.3   Sensor Signal Intensity on OLED Screen…………………………………………………. 43

7.4   The Bluetooth Control Program……………………………………………………………… 43

7.5   Line Following.. ………………………………………………………………………………….46

Appendix: FAQ………………………………………………………………………………………….48

Afterword………………………………………………………………………………………………… 49