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

Troubleshooting basic ESP8266 issues

You may run into some issues when using the ESP8266's basic functions. We will list some of the common problems that many people face and some ways of troubleshooting them.

The analog pin cannot measure high voltages

The analog pin of the ESP8266 can only measure voltages between 0V and 1V. If you have a sensor that outputs an analog signal that goes above that range, you will need to divide it. Otherwise, most of your readings from the analog pin will be 1023.

The best way of dividing the voltage is by using a voltage divider. It is easy to implement, since all you need is two resistors of the desired value and you are good to go.

Since most of the analog sensors you use with the ESP8266 board will output a signal ...

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