O'Reilly logo

Internet of Things with Arduino Cookbook by Marco Schwartz

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Basic robot control

In this recipe, we are finally going to dive into the core of this chapter: making our robot move around! We'll learn how to configure it so it can receive commands via Wi-Fi, and then we'll learn how to control it using a simple interface running inside your browser.

Getting ready

For this recipe, just make sure that you followed all the recipes so far in the chapter. Also, it is recommended to leave the robot in a position where the wheels or track are not touching the ground, at least till you are sure it is working correctly.

How to do it...

We are now going to program the robot so it accepts commands via Wi-Fi. For that, we'll use the aREST framework that we have already used several times in this book.

The sketch starts by ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required