
75/78
Principle:
1.Ultrasonic detecting distance: one port emits high level more than 10 US. Once it outputting level, open potentiometer to time. When the port
becomes low level, read out current value. Use the time of detecting distance to calculate distance.
2.Use ultrasonic to detect the distance between obstacle and car, so that control the motion of the car according to the data.
3.If the distance between the car and obstacle is less than 35 cm, the car goes backward; if the distance is no less than 10 cm, the car goes
forwards; if the distance is less than 60 cm , the motor turns to detect the distance between car and left obstacle or right obstacle; if the distance
between car and left obstacle, the distance between car and right obstacle are less than 35 cm, the car goes backward; if the distance between car
and left obstacle is larger , the car turns left; if the distance between car and left obstacle is less than or equal to the distance between car and
right obstacle, the car turns right.
Содержание Obstacle Avoidance Smart Car Kit
Страница 1: ...Obstacle Avoidance Smart Car Kit...
Страница 2: ......
Страница 6: ...4 78 Packing list...
Страница 9: ...7 78 Click Windows Installer Click JUST DOWNLOAD...
Страница 11: ...9 78 Click I Agree to see the following interface...
Страница 12: ...10 78 Click Next You can press Browse to choose an installation path or directly type in the directory you want...
Страница 14: ...12 78 Next the following icon appears on the desktop Double click to enter the desired development environment...
Страница 16: ...14 78...
Страница 18: ...16 78 Right click on the device and select the top menu option Update Driver Software...
Страница 26: ...24 78...
Страница 31: ...29 78 Once open you should see something like this...
Страница 36: ...34 78 When the sketch window opens enlarge it so that you can see the entire sketch in the window...
Страница 45: ...43 78 Lesson 4 Installation Method...
Страница 46: ...44 78...
Страница 47: ...45 78...
Страница 48: ...46 78...
Страница 49: ...47 78...
Страница 50: ...48 78...
Страница 51: ...49 78...
Страница 52: ...50 78...
Страница 53: ...51 78...
Страница 54: ...52 78...
Страница 55: ...53 78...
Страница 57: ...55 78 Connection diagram...
Страница 61: ...59 78 Wiring diagram...
Страница 65: ...63 78 Wiring diagram...
Страница 67: ...65 78 Remote control code...
Страница 70: ...68 78 Wiring diagram...
Страница 73: ...71 78 Connection Schematic...
Страница 74: ...72 78 Wiring diagram...
Страница 78: ...76 78 Connection Schematic...
Страница 79: ...77 78 Wiring diagram...