Switch to the store?

Learn Robotics Programming

More Information
  • Configure a Raspberry Pi for use in a robot
  • Interface motors and sensors with a Raspberry Pi
  • Implement code to make interesting and intelligent robot behaviors
  • Understand the first steps in AI behavior like speech recognition visual processing
  • Control AI robots using Wi-Fi
  • Plan the budget for requirements of robots while choosing parts

We live in an age where the most difficult human tasks are now automated. Smart and intelligent robots, which will perform different tasks precisely and efficiently, are the requirement of the hour. A combination of Raspberry Pi and Python works perfectly when making these kinds of robots.

Learn Robotics Programming starts by introducing you to the basic structure of a robot, along with how to plan, build, and program it. As you make your way through the book, you will gradually progress to adding different outputs and sensors, learning new building skills, and writing code for interesting behaviors with sensors. You’ll also be able to update your robot, and set up web, phone, and Wi-Fi connectivity in order to control it.

By the end of the book, you will have built a clever robot that can perform basic artificial intelligence (AI) operations.

  • Get up and running with the fundamentals of robotic programming
  • Program a robot using Python and the Raspberry Pi 3
  • Learn to build a smart robot with interactive and AI-enabled behaviors
Page Count 472
Course Length 14 hours 9 minutes
Date Of Publication 29 Nov 2018
Technical requirements
How code can be broken or lost
Strategy 1 - keep the code on the PC and upload it
Strategy 2 – using Git to go back in time
Strategy 3 – making SD card backups
Further reading
Technical requirements
Choosing light versus ultrasonic sensors
Attaching and reading an ultrasonic sensor
Avoiding walls – a script to avoid obstacles
Menu modes – choosing your robot's behavior
Further reading
Online robot building communities – forums and social media
Meeting robot builders – competitions, makerspaces, and meetups
Suggestions for further skills – 3D printing, soldering, PCB, and CnC
Finding more information on computer vision
Extending into machine Learning
Further reading


Danny Staple

Danny Staple builds robots and gadgets as a hobbyist, makes videos about his work with robots, and attends community events such as PiWars and Arduino Day. He has been a professional Python programmer, later moving into DevOps, since 2009, and a software engineer since 2000. He has worked with embedded systems, including embedded Linux systems, throughout the majority of his career. He has been a mentor at a local CoderDojo, where he taught how to code with Python. He has run Lego Robotics clubs with Mindstorms. He has also developed Bounce!, a visual programming language targeted at teaching code using the NodeMCU IoT platform.

The robots he has built with his children include TankBot, SkittleBot (now the Pi Wars robot), ArmBot, and SpiderBot.