Bring SMARS to Life with Arduino

Bring SMARS to Life with Arduino

By Kevin McAleer, June 2021

What you’ll learn

In this lesson you will learn how to move your robot forward by writing code and uploading it to your SMARS robot.

Things’s you’ll needs

Before you begin, you’ll need to make sure you have a couple of things before you start this lesson:


  1. Connect the SMARS to the USB cable, and the USB Cable to your computer
  2. Launch the Arduino IDE on your computer
  3. Create a new Sketch, by clicking the New Sketch button

Lets code!

You can download the code below from GitHub, but its better to type it in yourself line by line, as you will get to understand what each line means.