Posted on April 11, 2020
Autonomous Human Following Car
This is my second autonomous project using arduino(the first one was trash)
First I made a very basic car chasis using LEGO bricks and 2 LEGO motors and interfaced them with an arduino using adafruit motor shield v1. After some testing and debugging the car was able to move forward/backward, left/right and stop.
Next thing I had to do was add my android phone to the project, using which the arduino will get information through bluetooth about what the phone is seeing through the camera.
After installing an app from the playstore and connecting it to HC-05 on the arduino, it was able to retrieve info from the app. After adding more code to process the “strings” sent through bluetooth I could get the objects name its x and y position on the screen and its width and height.
Almost everything was done. I set the app to track humans only and added some more code to move in an appropriate direction according to the position of a tracked human on the screen.
Finally it was time to put the robot to the test.