No description, website, or topics provided.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples
src
README

README

ESP8266 http io server.

Version 0.0001 - Alpha

Goal in life:
  Exposes basic wiring functions: pinMode, digitalRead, digitalWrite,
  analogRead and analogWrite via a http server. Kind of Rest like, but NOT
  fully Restful. The returned data is in json format.

Written By - Scott Beasley 2016.
Public domain. Free to use or change. Enjoy :)

To use: Load the sketch 'esp8266_http_io.ino' to your esp board with the Arduino
IDE and ESP8266 board addition. Open the serial monitor in the IDE and get the
IP returned, then add that to the DEVICE_URL in the example you run from on of
the examples included.

TODO:
   - Add some form of security (thinking stages now)
   - Add servo calls to example
   - Add mDNS query to example
   - Add Servo and pwm support to the lua code.
   - May add Board type set/query to copy with pin assignments.

Added:
   02-01-2016
   - NodeMCU Lua version of the io server. Only does pinMode, digitalRead,
     digitalWrite and analogRead for now. Again, alpha code. You will have to
     edit the examples and add the IP given to test it.
   02-02-2016
      - Added a common GPIO number system between the Ardiono C++ side and
        NodeMcu lua side. The lua server uses the Arduino pin numbers now. The
        LED pin on the mcu board is now pin 16. Other pins follow suit with the
        Arduino numbers.
   02-03-2016
      - Added Tcl Blink example