Book Image

ESP8266 Robotics Projects

By : Pradeeka Seneviratne
Book Image

ESP8266 Robotics Projects

By: Pradeeka Seneviratne

Overview of this book

The ESP8266 Wi-Fi module is a self-contained SOC with an integrated TCP/IP protocol stack and can give any microcontroller access to your Wi-Fi network. It has a powerful processing and storage capability and also supports application hosting and Wi-Fi networking. This book is all about robotics projects based on the original ESP8266 microcontroller board and some variants of ESP8266 boards. It starts by showing all the necessary things that you need to build your development environment with basic hardware and software components. The book uses the original ESP8266 board and some variants such as the Adafruit HUZZAH ESP8266 and the Adafruit Feather HUZZAH ESP8266 . You will learn how to use different type of chassis kits, motors, motor drivers, power supplies, distribution boards, sensors, and actuators to build robotics projects that can be controlled via Wi-Fi. In addition, you will learn how to use line sensors, the ArduiCam, Wii Remote, wheel encoders, and the Gripper kit to build more specialized robots. By the end of this book, you will have built a Wi-Fi control robot using ESP8266.
Table of Contents (15 chapters)
Title Page
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface

Software


This section only focuses on how to capture images with an ArduCAM using a web socket server. You can use any Blynk-based software implementation to control the robot through your Wi-Fi network.

Arduino libraries

You will need the following Arduino libraries to write the Arduino sketch using Arduino IDE:

  • ArduCAM
  • UTFT4ArduCAM_SPI
  • ESP8266-Websocket

You can download these Arduino libraries as a ZIP file (Figure 8.13) from https://github.com/ArduCAM/ArduCAM_ESP8266_UNO:

Figure 8.13: Arduino libraries for ArduCAM

The following steps will guide you how to include the previously mentioned libraries to your Arduino IDE and create a web socket server on Feather HUZZAH ESP8266:

  1. After downloading the ZIP file, extract it to your hard drive. You will get a folder named ArduCAM_ESP8266_UNO-master.
  2. Inside the ArduCAM_ESP8266_UNO-master folder, you can find a folder named libraries.
  3. Copy the following folders inside the libraries folder to your Arduino IDE's libraries folder:
    • ArduCAM
    • UTFT4ArduCAM_SPI
    • ESP8266...