Cargando…

Learn Robotics Programming : Build and Control Autonomous Robots Using Raspberry Pi 3 and Python.

Learn Robotics Programming covers the basics of building a robot from scratch and implementing AI in the robots. You will be able to implement different sensors and control the robot based on those sensors' output. This book will help you in constructing a robot with the combination of Python,...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Staple, Danny
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham : Packt Publishing Ltd, 2018.
Temas:
Acceso en línea:Texto completo
Tabla de Contenidos:
  • Cover; Title Page; Copyright and Credits; Dedication; Packt Upsell; Contributors; Table of Contents; Preface; Chapter 1: Introduction to Robotics; What does robot mean?; Advanced and impressive robots; Robots that look like humans and animals; The Mars rovers; Robots in the home; The washing machine; Other household robots; Robots in industry; Robot arms; Warehouse robots; Competitive, educational, and hobby robots; Summary; Questions; Further reading; Chapter 2: Exploring Robot Building Blocks
  • Code and Electronics; Technical requirements; What is inside a robot?
  • Types of motors, sensors, and actuatorsMotors and actuators; Status indicators
  • displays, lights, and sounds; Types of sensors; Controllers and IO; IO pins; Controllers; Planning components and code structure; Planning our robot; Summary; Questions; Further reading; Chapter 3: Introducing the Raspberry Pi
  • Starting with Raspbian; Technical requirements; What can the Raspberry Pi do?; Speed and power; Connectivity and networking; The recommended Raspberry Pi version; What connections will we use?; Raspberry Pi Hats; What is Raspbian?; Preparing an SD card; Flashing the card in Etcher
  • Getting EtcherUsing Etcher to write to the card; Summary; Questions; Further reading; Chapter 4: Preparing a Raspberry Pi for a Robot
  • Headless by Default; Technical requirements; What does headless mean and why?; Setting up wireless on the Raspberry Pi and enabling SSH; The wpa_supplicant.conf file; Finding your Pi on the network; Apple macOS; Microsoft Windows; Linux; Testing the setup; What if you cannot reach the Raspberry Pi?; Using PuTTY or SSH to connect to your Raspberry Pi; Configuring Raspbian; Renaming your Pi; Securing your Pi (a little bit); Reboot and reconnect
  • Updating the software on your Raspberry PiWhat is sudo?; Shutting down your Raspberry Pi; Summary; Questions; Further reading; Chapter 5: Backing Up the Code with Git and SD Card Copies; Technical requirements; How code can be broken or lost; SD card data loss and corruption; Bad changes to the code or configuration; Combinations; 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; Windows; Mac and Linux; Linux; Mac; Cloning with DD; Summary; Questions; Further reading
  • Chapter 6: Building Robot Basics
  • Wheels, Power, and WiringTechnical requirements; Choosing a chassis kit; Size; Wheel count; Wheels and motors; Simplicity; Cost; Conclusion; Choosing a motor controller; Integration level; Pin usage; Size; Soldering; Connectors; Conclusion; Powering the robot; Test fitting the robot; Assembling the base; Assembling the base, motors, and wheels; Plastic motor brackets; Metal motor brackets; Adding the castor wheel; Putting the wheels on; Bringing the cables up; Fitting the Raspberry Pi; Adding the batteries; The USB power bank; Mounting the AA battery holder