Titre

How to Build a Robot: Parts, Kits and First Steps

A first robot needs a controller board, two motors with a motor driver, a power source and a chassis, bought as a kit or as separate parts, plus a short program[1]. On Nov 26, 2026, the three kits and the Arduino Alvik robot in our price table cost USD 112–179.95[2][3] in their makers' US stores.

By Titre · Prices checked Nov 26, 2026

Key facts

Step 1: Decide what the robot should do and choose your path

Start with one clear job: a two-wheeled rover that drives, stops and turns away from an obstacle. Then choose a path. A complete kit puts the parts and the instructions in one box: Makeblock says it gives beginners a series of concrete steps for building mBot2[4]. Kits also list what you buy separately, such as the four AAA batteries and the USB-C cable for Pololu's 3pi+ 2040 kits[3]. Separate parts mean more choices and more checking. For what each part does, see robot parts.

Step 2: Gather the parts

Whichever path you take, the rover needs the same parts: a controller board, a motor driver, two motors with gearboxes and wheels, a chassis, a distance sensor, a battery holder or pack and wires. In Pololu's 3pi+ 2040, two on-board motor drivers power the robot's two gearmotors[1]. Arduino's Alvik carries a Time of Flight distance sensor next to its line-following sensors[2]. A kit puts most of these parts in one box: Pololu lists its 3pi+ 2040 kit at USD 179.95[3], without the batteries, and names proximity sensors or range finders as optional additions[1].

Step 3: Build the chassis

Mount the two motors and wheels on the chassis first, then the caster that keeps the rover level, then the places for the board and the batteries. Follow the order in your kit's guide. Pololu's 3pi+ chassis has an integrated holder for four AAA batteries and a ball caster, and its guide asks you to solder a pair of leads to each motor, paying attention to how the motor will sit in the chassis[1]. Pololu also has you test the control board before you begin[1].

Step 4: Connect the motors, the driver and the sensor

Connect each motor to the motor driver, then the driver and the distance sensor to the controller board, following the wiring diagram in your kit's manual. The motors get their power through the driver from the battery: Arduino says its Motor Shield, which drives two DC motors, must be powered only by an external power supply[5]. In the 3pi+ 2040, a regulator powers the motor drivers, so the motors can run only when the batteries are installed and the power is switched on[1].

Step 5: Connect the power

A rover like this runs on batteries or from a USB port, not on mains power: Pololu's 3pi+ 2040 takes four charged AAA batteries or a USB connection, and Pololu recommends rechargeable AAA NiMH cells[1]. Its power system keeps the motors at a constant 8 V as the batteries run down[1]. Arduino ships the Alvik with a rechargeable and replaceable 18650 lithium-ion battery[2]. Use the battery your kit's maker supplies or names: the US Consumer Product Safety Commission warns not to use loose 18650 cells separated from battery packs, because they have no protection circuits[6].

Step 6: Write the first program

Use the editor the board's maker offers. Arduino says the Alvik can be programmed with blocks, MicroPython or the Arduino language[2]. Makeblock says mBot2 is programmed with blocks first and then Python in the same software[4]. Pololu ships the 3pi+ 2040 with MicroPython preloaded, so you can start by plugging it into a USB-C port and editing the included example programs[1]. A first program needs only three moves: drive forward, stop and turn. For the exact code, follow your kit's guide.

Step 7: Test each part, then add the sensor

Test one part at a time: each motor, then both motors driving forward, then a turn, and only then the sensor. When each part works, add the behavior: the rover reads the distance sensor and stops or turns when an obstacle comes close. Kits give you tools for this: Pololu's 3pi+ 2040 has left and right bump sensors along its front, and one of its example programs continuously reads the bump and line sensors and shows the results as a bar graph[1].

Step 8: Add the next feature

Once the rover avoids obstacles, add one feature at a time. Line following is one next step: Pololu's 3pi+ 2040 has five downward-facing reflectance sensors for line following or edge detection[1], and Arduino lists a line-following array among the Alvik's sensors[2]. A second sensor or a small gripper can come after that. The 3pi+ 2040 also has an accelerometer, a gyro and a magnetometer for later projects[1]. Keep a copy of the program that worked, so you can go back to it if a new feature breaks something.

Parts of a first wheeled robot, with examples from their makers
Part or kitWhat it is forExampleSource
Controller boardRuns your program and reads the sensorsArduino Nano ESP32, the main controller of the Arduino Alvik[2]
Motor driverPowers the motors and sets their speed and direction for the boardDRV8838 motor drivers on the Pololu 3pi+ 2040[1]
Geared motors with wheelsTurn the wheelsMicro Metal Gearmotors on the Pololu 3pi+ 2040[1]
ChassisHolds the motors, wheels, board and batteries3pi+ chassis with an integrated holder for four AAA batteries and a ball caster[1]
Distance sensorTells the robot how far away an obstacle isTime of Flight distance sensor on the Arduino Alvik[2]
Battery holder or packPowers the board and the motorsRechargeable and replaceable 18650 lithium-ion battery of the Arduino Alvik[2]
Complete kitMost of the above in one box, with soldering; bump sensors, batteries not includedPololu 3pi+ 2040 Robot Kit, Standard Edition[3]
Complete kitAll of the above in one box, built from scratchMakeblock mBot2[4]

Each row links to its source.

Three kits and the Arduino Alvik robot in their makers' US stores
ItemCountryPriceWhat is includedSellerCheckedSource
Arduino AlvikUnited StatesUSD 112Programmable robot with Arduino Nano ESP32 controller; rechargeable 18650 Li-Ion battery included; sale price on the check date; tax not statedArduino Online ShopNov 26, 2026[2]
mBot2 (1 robot)United StatesUSD 149.99One mBot2 coding robot kit; sale price on the check date; tax not statedMakeblockNov 26, 2026[4]
3pi+ 2040 Robot Kit, Standard EditionUnited StatesUSD 179.95Kit with 30:1 MP motors; assembly, including soldering, required; four AAA batteries and a USB-C cable not included; tax not statedPololuNov 26, 2026[3]
3pi+ 2040 Robot Kit, Turtle EditionUnited StatesUSD 179.95Kit with 75:1 LP motors; assembly, including soldering, required; four AAA batteries and a USB-C cable not included; tax not statedPololuNov 26, 2026[7]

Each row links to its source; the date in a row is when we checked it. The Alvik and mBot2 prices were sale prices on the check date[2][4]. Arduino sells the Alvik as a programmable robot and does not call it a kit on its page[2]. Pololu's pages also offered a coupon code on the check date; the table gives the listed price[3][7]. Each price is from the maker's own store for the United States.

What are common mistakes when building a first robot?

Three mistakes are easy to avoid: a first project with too many features, a robot assembled completely before any part is tested, and motors wired to the board instead of through a driver. Pololu, for example, has you test the 3pi+ 2040 control board before assembly[1].

Power is the other trap. Arduino says its Motor Shield must be powered only by an external power supply and recommends one between 7 and 12 V to avoid damage to the board it is mounted on[5]. Another is testing the motors on USB power alone: the 3pi+ 2040's motors run only with the batteries installed and the power on[1]. Code examples are written for a particular board, so check that the guide you follow is for the same board and version as yours.

How do you build a robot safely?

Follow the battery and assembly instructions of your kit's maker. A first rover runs on batteries or USB power, not on mains power: Pololu's 3pi+ 2040, for example, takes four AAA batteries or a USB connection[1]. The US Consumer Product Safety Commission warns against loose 18650 lithium-ion cells separated from battery packs[6].

The commission also says loose cells can overheat and ignite in inappropriate chargers that charge them beyond the cell's specifications[6]. If your kit needs soldering, follow its guide: Pololu warns that holding the soldering iron against a motor lead for more than a few seconds can damage the motor brushes[1]. The commission bans children's products for children under 3 that present a choking hazard because of small parts[8], so check the age marking on your kit.

Where to go next?

Pick one direction for the next project, keep the same board and add parts one at a time, testing each as in the first build. A line-following course, a second sensor or a small gripper builds on the same rover and the same program, and the 3pi+ 2040 and the Alvik already carry line sensors[1][2].

The Alvik also has an RGB color sensor and a 6-axis gyroscope and accelerometer for later projects[2]. If the robot is for a child, see robotics for kids. If you want a robot that picks things up rather than drives, see robot arms. And a finished robot needs a name: see robot names.

Frequently asked questions

Can I build a robot on my own?

Yes, with a kit that includes the parts and the instructions. Makeblock says it gives beginners a series of concrete steps for building mBot2[4], and Pololu's guide takes you through assembling the 3pi+ 2040 kit, including the soldering[1]. Pololu also sells the 3pi+ 2040 assembled, with no soldering or assembly required[1].

What is the easiest robot to build?

There is no single answer, but all four rows of the price table above are wheeled robots, and two of their makers address beginners directly: Makeblock gives beginners concrete steps for mBot2[4], and Arduino offers block-based coding for primary school students on the Alvik[2].

How much does it cost to build a robot?

On Nov 26, 2026, the three kits and the Arduino Alvik robot in our price table cost USD 112–179.95[2][3] in their makers' US stores. Some prices leave parts out: Pololu's 3pi+ 2040 kits need four AAA batteries and a USB-C cable bought separately[3]. The Alvik and mBot2 prices were sale prices on the check date[2][4].

Do I need to know how to code to build a robot?

Not at the start. Makeblock says mBot2 can be programmed with blocks first and then Python in the same software[4], Arduino says the Alvik can be programmed with blocks, MicroPython or the Arduino language[2], and Pololu's 3pi+ 2040 comes with example programs in MicroPython that you can edit[1].

How much does it cost to build a humanoid robot?

We have no primary source for the cost of building a humanoid robot yourself, so this guide gives no figure, and the pages we checked for the price table name no cost for such a build. For ready-made humanoid robots with prices, see humanoid robots for sale.

Sources

  1. Pololu. Pololu 3pi+ 2040 User’s Guide. Checked Nov 26, 2026.
  2. Arduino Online Shop. Arduino Alvik – Programmable Robot with Sensors, LEGO® & MicroPython — Arduino Online Shop. Checked Nov 26, 2026.
  3. Pololu. Pololu - 3pi+ 2040 Robot Kit with 30:1 MP Motors (Standard Edition Kit). Checked Nov 26, 2026.
  4. Makeblock. Buy mBot2: Coding Robot Kit for STEM Learning|Makeblock. Checked Nov 26, 2026.
  5. Arduino Official Store. Arduino Motor Shield Rev3 – Dual DC & Stepper Motor Controller — Arduino Official Store. Checked Nov 26, 2026.
  6. U.S. Consumer Product Safety Commission. CPSC Issues Consumer Safety Warning: Serious Injury or Death Can Occur if Lithium-Ion Battery Cells Are Separated from Battery Packs and Used to Power Devices | CPSC.gov, Jan 8, 2021. Checked Nov 26, 2026.
  7. Pololu. Pololu - 3pi+ 2040 Robot Kit with 75:1 LP Motors (Turtle Edition Kit). Checked Nov 26, 2026.
  8. U.S. Consumer Product Safety Commission. Small Parts Ban and Choking Hazard Labeling | CPSC.gov. Checked Nov 26, 2026.

Titre is an independent reference. We do not sell, rent or ship robots and are not affiliated with the brands named on this page. Prices are as published by each source on the date shown; check the current price with the seller.

Related pages

More in Robots Explained: What They Are and What They Can Do