2
Table Of Contents
Chapter1 Introduction........................................................................................................................................1
1.1 Writing Purpose...................................................................................................................................1
1.2 Product Introduction ............................................................................................................................1
Chapter2 Preparations........................................................................................................................................3
About Arduino uno r3................................................................................................................................3
2.1 Development environment Arduino IDE.............................................................................................4
2.1.1 Install the IDE...........................................................................................................................4
Chapter3 Experiments......................................................................................................................................13
3.1 Assembly of the Car...........................................................................................................................13
3.1.1 Motor installation....................................................................................................................13
3.1.2 Wheel and drive module installation ......................................................................................16
3.1.3 Tracking module installation ..................................................................................................19
3.1.4 Lower acrylic plate copper column installation and motor wiring.........................................21
3.1.5 Keywish Uno R3 board installation.......................................................................................23
3.1.6 Battery box installation...........................................................................................................24
3.1.7 Servo installation ....................................................................................................................25
3.1.8 Infrared obstacle avoidance module installation.....................................................................27
3.1.9 Voltage display module and DC head installation..................................................................28
3.1.10 Infrared remote control receiver installation.........................................................................30
3.1.11 Overall assembly...................................................................................................................31
3.1.12 Expansion board wiring diagram..........................................................................................32
3.2 Hummer Bot Module experiment......................................................................................................34
3.2.1 Walking Principle of the Car ..................................................................................................34
3.2.2 Infrared Obstacle Avoidance ..................................................................................................41
3.2.3 Infrared Tracing ......................................................................................................................52
3.2.4 Ultrasonic Obstacle Avoidance...............................................................................................62
3.2.5 Infrared Remote Control.........................................................................................................76
3.2.6 Mobile Phone Bluetooth Control............................................................................................88
3.2.7 PS2 Handle (Optional)............................................................................................................98