by Danny Staple

Packt’s Black Friday sale is on, and my book, Learn Robotics Programming, Third Edition, is part of it. Until the end of November you can get:

  • 30% off the eBook - $30.79 instead of $43.99 in the US store
  • 20% off the print edition

Black Friday sale: Learn Robotics Programming, Third Edition, up to 30% off, now $30.79, before $43.99

Get Learn Robotics Programming on Packt. Prices are Packt’s US store prices as of 23 November, and may vary by region.

What you will build

The book takes you from an empty Raspberry Pi to a robot that drives, senses, sees and listens, all programmed in Python. Along the way you will:

  • Set up a headless Raspberry Pi and protect your robot code with Git.
  • Build the robot - wheels, power and wiring - then drive and turn with Python.
  • Drive the robot from your phone, and see its state on interactive dashboards.
  • Read distance sensors and use them to avoid obstacles.
  • Control servo motors, and read encoders and an IMU (the BNO055) to work out where the robot is and how it is moving.
  • Give it eyes with a Pi camera and OpenCV, and follow a line with it.
  • Talk to the robot with offline voice recognition using Vosk.
  • Automate installs and updates, so it is easy to keep your robot up to date.

Who it is for

If you are a software engineer who wants to get into hardware, a maker, a parent building with a child, or a teacher looking for a challenging project, this is for you. You need only a little Python - loops, conditionals and functions. There is no soldering, and you do not need a workshop.

Why I wrote it

I have been building robots since 2004, and sharing what I have learned along the way. Building a community of robot builders has been my goal from the start.

Right now there are four robot projects on my desk: the robot from this book, which I am still playing with and trying new ideas on, a CoderDojo robot, my armbot with some upgrades, and a Yahboom Raspberry Pi 5 robot. They are all different, but they all come back to the principles covered in this book.

If you have been meaning to start, or know someone who has, a sale is as good a nudge as any.

If you pick it up, I would love to hear what you build. Come and tell us on the Orionrobots robotics Discord server, or tag us on social.

The sale runs until the end of the month, so take a look soon.