DirschedlF / ESP8266-Internet-of-Things-Cookbook

Code repository for ESP8266 Internet of Things Cookbook by Packt

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ESP8266 Internet of Things Cookbook

This is the code repository for ESP8266 Internet of Things Cookbook, published by Packt. It contains all the supporting project files necessary to work through the book from start to finish.

About the Book

This book contains practical recipes that will help you master all ESP8266 functionalities. You will start by configuring and customizing the chip in line with your requirements. Then you will focus on core topics such as on-board processing, sensors, GPIOs, programming, networking, integration with external components, and so on. We will also teach you how to leverage Arduino using the ESP8266 and you'll learn about its libraries, file system, OTA updates, and so on. The book also provide recipes on web servers, testing, connecting with the cloud, and troubleshooting techniques. Programming aspects include MicroPython and how to leverage it to get started with the ESP8266. Towards the end, we will use these concepts and create an interesting project (IOT).

Instructions and Navigation

All of the code is organized into folders. Each folder starts with a number followed by the application name. For example, Chapter02.

The code will look like the following:

// LED pin
int inputPin = 5;
int val = 0;

void setup() {
  Serial.begin(9600);
  pinMode(inputPin, INPUT);
}

void loop() {
  
  // read pin
  val = digitalRead(inputPin);
 
  // display state of input pin  
  Serial.println(val);                              
  delay(1000);             
}

To build the projects you find in this book, any experience with programming and/or electronics is appreciated, but you will be able to follow even if you have little experience in the field, as we will start from the absolute basics of ESP8266.

Related Products

Suggestions and Feedback

Click here if you have any feedback or suggestions.

About

Code repository for ESP8266 Internet of Things Cookbook by Packt

License:MIT License


Languages

Language:C++ 76.9%Language:Python 23.1%