Rover Robot Project Using Raspberry Pi 2 Model B

Hardware components:
R8326274 01
Raspberry Pi 2 Model B
× 1
11026 02
Jumper wires (generic)
× 1
mini breadboard
× 1
robot chassis kit
× 1
L298N motor controller
× 1
HC-SR04 ultrasonic distance sensor
× 1
resistors – one 1k Ohm and one 2.2k Ohm
× 1
LM2577 DC-DC adjustable step up converter
× 1
3 x AA battery holder
× 1
Software apps and online services:
Microsoft Windows 10 IoT Core
Hand tools and fabrication machines:
#1 Phillips screwdriver
small needle nose pliers




There is something about robots that have captured my imagination as long as I can remember. They are my comfort zone whenever I embark on new Maker adventures; as soon as I get past the “blinking LED” project, a basic robot is always my go to project when learning a new platform or technology. And so, when I decided to give Windows IoT Core a try, this project was naturally my starting point. The Rover is a simple robot so it’s a good place to start but it’s also infinitely expandable.

This initial Rover project creates a little robot that runs around your living room on its own. It just drives straight ahead until it detects an object blocking its path. At which point, it turns until it can find a clear path and then its full speed ahead again. The heart of the Rover is a Raspberry Pi running Window 10 IoT Core. The two motors are driven via a dual H-bridge motor controller and an ultrasonic distance sensor is used to detect obstacles. The Rover can be built on any rolling chassis; I selected a low cost one that is readily available from a variety of retailers around the world.

This is a beginner project and no advanced software or hardware skills are required. Excluding the pre-requisites, this project can be completed in 1.5 to 2 hours if you have any Arduino or similar microcontroller experience.  If this is your very first electronics project, I recommend that you spend a couple hours watching a few introductory Arduino and Raspberry Pi videos prior to getting started.

I have a few enhancements still to make:

  • Light dependent resistor and LEDs for headlights.
  • Code to mimic a PWM signal on the digital GPIO pins to adjust the Rover’s speed.
  • 3D print a body to hide all the electronics (maybe print a chassis as well).

If you try any of these enhancements or any others you come up with, please leave a comment and let me know how it went.

Here are some online resources that I found very helpful throughout the course of this project:


  1. Get Windows 10 IoT Core running on your Raspberry Pi 2 (instructions here).
  2. Get Windows 10 and Visual Studio 2015 running on your PC (instructions here).
  3. Deploy a simple Windows app to the Raspberry Pi to ensure everything is working (instructions here).

Note: It will take 2-3 hours to complete the pre-requisites but most of that time is unattended.

What You’ll Need


  1. Raspberry Pi 2 and standard accessories: 5v 2A power supply, 8GB class 10 micro SD card, case, and network cable
  2. Jumper wires – both male/male and male/female
  3. Mini breadboard
  4. Robot car chassis kit which includes a base, motors, and wheels
  5. L298N motor controller
  6. HC-SR04 ultrasonic distance sensor
  7. 1k and 2.2k Ohm resistor
  8. LM2577 DC-DC adjustable step up power converter module
  9. 3 x 1.5v AA battery holder
  10. Optional: 4 x 1.5v AA battery holder with on/off switch and cover
  11. Optional: Double sided tape or Velcro or rubber bands


  1. Multimeter
  2. #1 Phillips head screwdriver
  3. small needle nose pliers
  4. Optional: wire stripper
  5. Optional: soldering iron
  6. Optional: electrical tape

rp2 pinout

Step 1: Assemble the robot chassis

Time: 30 minutes

Tools: #1 phillips head screwdriver; soldering iron or electrical tape; optional wire stripper

Parts: robot chassis kit; optional 4 x AA battery holder with on/off switch

There are several robot kits on the market that will work with this project. You just need a kit with two driven wheels and a third for balance. Follow the instructions which came with your robot chassis kit to assemble the base plate, motors, and wheels. I found a YouTube video showing the assembly of a robot kit very similar to the one I used.

Read More: Rover Robot Project Using Raspberry Pi 2 Model B

About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top