Building your own robot is a great way to teach yourself both electronics as well as computer programming. Gather your components. To build a basic robot, you'll need several simple components. You can find most, if not all, of these components at your local electronics hobby shop, or several online retailers.