Skip to content

Latest commit

 

History

History
41 lines (33 loc) · 1.39 KB

README.md

File metadata and controls

41 lines (33 loc) · 1.39 KB

ESP8266-arduino-demos

Batch of demo code for the ESP8266 chip with arduino IDE

Needed material and librairies

Tested on adafruit HUZZAH : https://learn.adafruit.com/adafruit-feather-huzzah-esp8266/pinouts With ARDUINO 1.6.6 with esp8266 1.6.5 package. I actually have issue with version 2.0.0 (warning: espcomm_sync failed, error: espcomm_open failed)

Naming convention

  • espXX - Base number
  • wr - Include a web request to get data from a website
  • ws - Include a web server
  • ts - use thingspeak.com
  • dht - read temperature and humidity on a DHT sensor
  • tds - read temperature on a DS18B20 sensor
  • tm - use of os_timer capability
  • ee - use of EEPROM

Possibles bugs

IF you encounter an error with __ieee754_sqrt : The issue is known here:

serial link issue

The use of the pin 15 apparently block the programmation of the firmware. The pin 15 have to be grounded or not used for programmation.

Libraries

For DHT sensors, need :

For dallas DS18B20 *OneWire *DallasTemperature