Android Robocar

Build your own small autonomous car with Android Things.

View the Project on GitHub and on Hackster, we're part of the Android Things community

Build your Robocar

Alright, things are getting fun now. Ready?

Set up your frame

If you chose one from Servocity, they come with nice video instructions. For example, this video shows how to set up the Junior Runt Rover.


Attach your board

The simplest way is to use the snap mounts that come with the Servocity kit:


If you bought the frame from another store, or prefer a different set up, some good old velcro between the components will do the trick too:


Optionally, attach your camera cable

You want to this now so that the camera cable gets properly inserted through the motor hat opening:



Attach your motor hat

Next is to stack the motor hat on your board:


Note that if you used a stacking header (like this one), you could stack multiple hats together. Some people like adding a sense hat, or a GPS hat.

Connect the motors to the hat

The Servocity frame comes with all the required cables. You attach them to the hat like in the picture. Although you can change this in the software, the order that we follow is: 1) front-left wheel, 2) back-left wheel, 3) front-right wheel, and 4) back-right wheel:


Connect the hat and the board to the power source

Use a regular USB cable for the board, and the serial cable for the motor hat.

Optionally, set up the camera

If you want to use your car as a platform to test autonomous driving (computer vision and/or TensorFlow-powered machine learning) you need a camera. You want it high enough to have a good view of the tracks.

One option is using a regular camera clamp or a small tripod:



Next: Install the software

Continue reading.

Questions? Please open a ticket.