Skip to Content
ESP8266 Internet of Things Cookbook
book

ESP8266 Internet of Things Cookbook

by Marco Schwartz
April 2017
Intermediate to advanced
268 pages
5h 36m
English
Packt Publishing
Content preview from ESP8266 Internet of Things Cookbook

Basic local machine to machine interactions

In this recipe, we are going to demonstrate Basic local machine to machine interactions. To do that, we will build a simple project that demonstrates machine to machine interaction between two ESP8266 boards. This will enable you to create simple networks using your ESP8266 boards, with no Internet connection.

Getting ready

You will need the following hardware components for this project:

  • Two ESP8266 boards
  • Two USB cables
  • 220 Ω resistor
  • LED
  • Momentary Push button
  • 10 kΩ resistor

Connect a Push button and a 10 kΩ pull up resistor to the GPIO2 pin. The Push button will be used as an input. This ESP8266 board will be configured as the client. The setup is shown in the following figure:

For the second ESP8266, connect ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Internet of Things with ESP8266

Internet of Things with ESP8266

Marco Schwartz
ESP8266 Robotics Projects

ESP8266 Robotics Projects

Pradeeka Seneviratne

Publisher Resources

ISBN: 9781787288102Supplemental Content