If You Rather Use a Arduino Then Make Your Own Pcb Follow This Guide

by PieterB25 in Circuits > Arduino

1347 Views, 0 Favorites, 0 Comments

If You Rather Use a Arduino Then Make Your Own Pcb Follow This Guide

Capture2.PNG

In this short instructable, you're shown how plan b of our project was put together.

you can find plan a (it's described/explained better) at this link:
https://www.instructables.com/id/DIY-Linefollower-PCB/

Mechanical Part

IMG_20181208_132910.jpg

Cut a thin but sturdy material (wood or some plastic) with measurements 14 x 8 cm (can eb shorter own preference ) .

Drill holes where u want to mount your motors make sure they are close enough to the side so the wheel won’t get blocked later on. Place a ball caster 4 cm from the front (u can also use a bolt if you don’t want to buy a ball caster) Drill 2 holes at the front so u can attach your sensor bar. Place the battery and Arduino on top

Connecting Everything

Connect all wires where needed

Connect the battery to your motor driver breakout board.https://www.tme.eu/nl/details/pololu-2511/modulaire-motorcontrollers/pololu/drv8835-for-arduino/ Connect the a and b connections each to a motor Connect the ports on the sensor bar to the right Arduino ports ( the names are written next to each pin on the breakout board)https://www.tme.eu/nl/details/sf-sen-13582/afstandssensoren/sparkfun-electronics-inc/sen-13582/ Connect the Bluetooth module Rx to Tx etc. (we used a HC-06 but HC-05 etc works aswell)

Upload the Code Into the Arduino