Tonight I am proud to announce that available to buy in most online bookshops is my new book, Learn Robotics Programming.
In this book, aimed at enthusiasts who have done a little coding, I show them how to start building a robot step by step, creating plans and designs, understanding what parts are chosen and why, looking at the tradeoffs for building a robot.
I then take thre reader through creating code, looking at how to build and think in blocks for libraries we will use to build behaviors. Sensors are introduced, connected mechanically and electronically to the Raspberry Pi, with code written to interact with the sensors, and then interesting interactive smart uses of those sensors are built on top of this. Servo motors and a camera are added so they can be used to experiment too.
Smart behaviors built include:
- line following.
- avoiding collisions using distance sensors.
- correcting for motor differences using encoders.
- making turns and driving specific distances using encoders.
- Using a camera to detect and drive to coloured objects.
- Using a camera with servo motors to look at faces.
- Using the MyCroft voice assistant to send voice commands to the Robot.
- Using a WiFi/Web browser menu to start behaviours on the robot.
- Viewing the camera output on a phone or web browser.
- Using a phone/touch screen device to manually drive the robot.
The book also shows experience while working with robotics, like ensuring the code is backed up and versioned, taking time to design and plan a little (measure twice, cut once), building incrementally on working systems, and where to go next to continue a robot building journey.