Contents

Share for us
Share on facebook
Share on twitter
Share on pinterest
Share on whatsapp

Introduction………………………………………………………………………………. 1

Components……………………………………………………………………………… 2

i.     Acrylic Plates……………………………………………………………………… 2

ii.     Mechanical Fasteners………………………………………………………….. 3

iii.    Drive Parts…………………………………………………………………………. 4

iv.   Electrical Components…………………………………………………………… 5

v.    Self-provided Parts………………………………………………………………… 8

Assembly…………………………………………………………………………………. 9

i.     Mechanical Assembly……………………………………………………………. 9

1.    Car Assembly……………………………………………………………………… 9

2.    Mount Assembly…………………………………………………………………. 22

3.    Mount + Car………………………………………………………………………. 27

ii.     Electrical Module Assembly………………………………………………….. 29

iii.    Circuit Connecting………………………………………………………………. 30

Electrical Components Basics……………………………………………………… 40

i.     Raspberry Pi……………………………………………………………………… 40

ii.     Step-down DC-DC Converter Module……………………………………….. 41

iii.    Servo……………………………………………………………………………….. 41

iv.   DC Motor Driver …………………………………………………………………….42

v.    USB Wi-Fi Adaptor ………………………………………………………………..42

vi.   Servo Controller …………………………………………………………………….43

vii.  18650*2 Battery Holder …………………………………………………………..43

Software Related……………………………………………………………………….. 44

i.     Download and Install Raspbian on a TF Card………………………………. 44

ii.     Get Source Code………………………………………………………………… 44

iii.    Basic Software Environment ……………………………………………………45

Operation on PC………………………………………………………………………… 45

Prepare the PC for remote……………………………………………………………. 45

Operation on Raspberry Pi…………………………………………………………… 46

Install python-dev, python-smbus…………………………………………………… 46

Setup I2C port…………………………………………………………………………… 46

MJPG-streamer ………………………………………………………………………….46

iv.   Calibration…………………………………………………………………………… 49

Preparation……………………………………………………………………………….. 49

Start Calibration…………………………………………………………………………. 52

Motor Adjustment ……………………………………………………………………….52

Turning Adjustment…………………………………………………………………….. 52

Mount Adjustment ……………………………………………………………………….53

Get on the Road!………………………………………………………………………… 54

v.    Program Analysis and Explanation……………………………………………. 58

Abstract…………………………………………………………………………………… 58

Introduction of Socket …………………………………………………………………..58

1.    Server………………………………………………………………………………… 58

2.    Client ………………………………………………………………………………….60

Summary. ………………………………………………………………………………….62