Final Exam Boe Bot Sensors
![20171215_134838.jpg](/proxy/?url=https://content.instructables.com/F6P/IRVY/JCAUCFB5/F6PIRVYJCAUCFB5.jpg&filename=20171215_134838.jpg)
This project shows how to make a Boe Bot follow a black line and stay off a black line
Setting Up Sensors
![20180112_085350.jpg](/proxy/?url=https://content.instructables.com/F8D/TFPX/JCAUCDZF/F8DTFPXJCAUCDZF.jpg&filename=20180112_085350.jpg)
![20171215_134841.jpg](/proxy/?url=https://content.instructables.com/F4U/K1MI/JCAUCDO4/F4UK1MIJCAUCDO4.jpg&filename=20171215_134841.jpg)
![20171215_134838.jpg](/proxy/?url=https://content.instructables.com/F12/ZPB2/JCAUCDNS/F12ZPB2JCAUCDNS.jpg&filename=20171215_134838.jpg)
begin by adding 4 Qtis sensors on the front of the Boe bot. Will need a screw driver. use screws and columns provided with kit
Wiring
![20171215_134830.jpg](/proxy/?url=https://content.instructables.com/FTV/FKK6/JCAUCDNJ/FTVFKK6JCAUCDNJ.jpg&filename=20171215_134830.jpg)
![20180112_091223.jpg](/proxy/?url=https://content.instructables.com/FVG/DX4D/JCAUCEZC/FVGDX4DJCAUCEZC.jpg&filename=20180112_091223.jpg)
the wiring is pretty simple. The sensors must be connected to the main robot, this wiring allows you to do this
Checking Sensors
![20171215_135011.jpg](/proxy/?url=https://content.instructables.com/FJB/M6GP/JCAUCDQ7/FJBM6GPJCAUCDQ7.jpg&filename=20171215_135011.jpg)
![20171215_135024(0).jpg](/proxy/?url=https://content.instructables.com/FS6/E1AO/JCAUCDQH/FS6E1AOJCAUCDQH.jpg&filename=20171215_135024(0).jpg)
![20171215_135024.jpg](/proxy/?url=https://content.instructables.com/FK0/S1V1/JCAUCDQR/FK0S1V1JCAUCDQR.jpg&filename=20171215_135024.jpg)
![20171215_135033.jpg](/proxy/?url=https://content.instructables.com/FZ8/1JWZ/JCAUCDQY/FZ81JWZJCAUCDQY.jpg&filename=20171215_135033.jpg)
to ensure sensors are running a test code can be run to see if bumpers a correctly responding.
Downloads
Write Code to Make Robot Stay on Black Lines
this code uses the sensors to detect where on the line the sensor is then turns the robot accordingly to keep on black line.
https://youtu.be/-FaBCS0-omI black line
https://youtu.be/rE5q9oixw8g squiggle here are some links to youtube videos of the robot working
Downloads
Code Can Be Altered So Robot Stays Off Black Lines
the code can be altered to make the robot stay off black lines all that needs to be done is for the code to pretty much reversed, so before if one of the sensors saw a black line it would follow it, but now it will turn away from that line
https://youtu.be/C6pyW9LKXsM white box here is a youtube link of this code working