|
1 | 1 | # Obstacle-avoider-using-Arduino |
2 | 2 | A bot which can move without collisions with walls with the help of ultrasonic sensors. |
3 | 3 |
|
4 | | -We need a chassis for the bot to put all components for working in our case something like this: |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
10 | | -After that the schematic and the connections for it can be done as shown below: |
11 | | - |
12 | | - |
13 | | -<img src="https://user-images.githubusercontent.com/128840537/233803633-dfbeffb7-e520-474f-8304-d9080072a04c.png" width="600" height="400" /> |
| 4 | +First of all get all the required parts: |
14 | 5 |
|
| 6 | +You can get all the material for the above using the following links: |
15 | 7 |
|
16 | | -If your connections look something like this: |
| 8 | +1 x Chassis --> https://a.co/d/2pmxRiq |
17 | 9 |
|
| 10 | +2 x Dc Motor --> https://a.co/d/hThEPPq |
18 | 11 |
|
19 | | -<img src="https://user-images.githubusercontent.com/128840537/233799097-931edaf3-384e-46f2-87a0-a502ccdb1c38.jpg" width="600" height="400" /> |
| 12 | +1 x L298 Motor Driver --> https://a.co/d/6bdZdHH |
20 | 13 |
|
| 14 | +1 x Arduino Uno --> https://a.co/d/2X68hMl |
21 | 15 |
|
22 | | -Don't get worried they will usually end up looking like this but if you have done everything correctly it will work for sure and you can improve the wiring while the assembling. |
| 16 | +1 x 12v rechargable battery --> https://a.co/d/3i5x2lS |
23 | 17 |
|
24 | | -Now for the coding part i will provide the code below for the functioning: |
| 18 | +1 x HC-SRO4 Ultrasonic Sensor --> https://a.co/d/3Gg9r8x |
25 | 19 |
|
| 20 | +As per need x Jumper wires --> https://a.co/d/9OpCN2D |
26 | 21 |
|
27 | | -you can download the code using the given link: |
28 | | -[Obstacle Avoider.docx](https://github.com/PandaMunda/Obstacle-avoider-using-Arduino/files/11313238/Obstacle.Avoider.docx) |
| 22 | +On the chassis for the bot put all components for working something like this: |
29 | 23 |
|
| 24 | +<img src="https://user-images.githubusercontent.com/128840537/234077353-248c4954-5da0-4b68-906f-58a6938e205b.jpg" width="400" height="600" /> |
30 | 25 |
|
| 26 | +After that the connections can be done as shown in the schematics below: |
31 | 27 |
|
32 | | -Now carefully place all the components on the chassis and assemble it carefully. |
33 | 28 |
|
34 | | -Congratulations you have built your own obstacle avoider bot using arduino uno. |
| 29 | +<img src="https://user-images.githubusercontent.com/128840537/233803633-dfbeffb7-e520-474f-8304-d9080072a04c.png" width="600" height="400" /> |
35 | 30 |
|
36 | | -You can get all the material for the above using the following links: |
37 | 31 |
|
38 | | -1 x Chassis --> https://a.co/d/2pmxRiq |
| 32 | +If your connections look something like this at first: |
39 | 33 |
|
40 | | -2 x Dc Motor --> https://a.co/d/hThEPPq |
41 | 34 |
|
42 | | -1 x L298 Motor Driver --> https://a.co/d/6bdZdHH |
| 35 | +<img src="https://user-images.githubusercontent.com/128840537/233799097-931edaf3-384e-46f2-87a0-a502ccdb1c38.jpg" width="600" height="400" /> |
43 | 36 |
|
44 | | -1 x Arduino Uno --> https://a.co/d/2X68hMl |
45 | 37 |
|
46 | | -1 x 12v rechargable battery --> https://a.co/d/3i5x2lS |
| 38 | +Don't get worried they will usually end up looking like this but if you have done everything correctly it will work for sure and you can improve the wiring while putting the components on the chassis. |
47 | 39 |
|
48 | | -1 x HC-SRO4 Ultrasonic Sensor --> https://a.co/d/3Gg9r8x |
| 40 | +Now for the coding part i will provide the code below for the functioning: |
49 | 41 |
|
50 | | -As per need x Jumper wires --> https://a.co/d/9OpCN2D |
51 | 42 |
|
52 | | -The final product will look something like this: |
| 43 | +you can download the code using the given link and put it in your arduino: |
| 44 | +[Obstacle Avoider.docx](https://github.com/PandaMunda/Obstacle-avoider-using-Arduino/files/11313238/Obstacle.Avoider.docx) |
53 | 45 |
|
54 | | -<img src="https://user-images.githubusercontent.com/128840537/234077353-248c4954-5da0-4b68-906f-58a6938e205b.jpg" width="400" height="600" /> |
| 46 | +Congratulations you have built your own obstacle avoider bot using arduino uno. |
55 | 47 |
|
56 | 48 | After attatching the battery mine was working completely fine as you can see in the video: |
57 | 49 |
|
|
0 commit comments