A Things-Of-Internet firmware for the Arduino and the ESP8266 module
Opposed to the popular Internet-of-things movement, where all sorts of devices post their status to the net, here is the Things-Of-Internet firmware:
It turns an Arduino into a tiny integrated web server within its own wifi network, or within an existing one.
"I don't want internet for all my things, look what it did to the children ..."
TOI is IoT seen from the other side.
While the Internet-of-Things is the back end with analytics, intelligence and presentation, the Things-Of-Internet are the nerves and muscles.
TOI! also because it sounds like Toy. It wants to be played with.
The firmware supports Arduino MEGA, UNO, Mini, Nano (and more) boards, with
an ESP8266 module connected to the Serial1 port (I/O 18,19), I/O pin
10 and 11 for SoftwareSerial.
To compile and build this, the Arduino 1.0.6 IDE (or higher version) is
recommended (but no longer required).
These are the default connections required to connect the ESP to Arduino.
ESP 8266 --> Arduino
VCC --> 3.3V
GND --> ground
CH_PD --> 3.3V
RST --> RESET
TXD --> RXD (Pin depends on configuration)
RXD --> TX (Pin depends on configuration)
GPIO0 --> Leave unconnected (Used for firmware updating)
After powering on, the device will become an Access Point with the SSID
"TOI_Default" and no encryption/passcode enabled.
Once connected browse to "https://192.168.4.1/arduino.html".
Using the configuration page you may add the device to your existing
network, or create a new AP SSID. If you change the encryption settings
in AP mode you may need to reset the board.
The sketch now includes a primitive clock, accessible via the 'cdate.html'
URL and settable via the config page.
TOI firmware allows you to program your own web pages and services into the device, much like a servlet. Please consult the included example code for the documentation included within.
You can reset the board to default settings if you restart the board with IO pin 12 connected to GND.
Currently, the beta code for the cactus micro is the most advanced, with the backport to the standard version still outstanding.
2016/02/01 no version - update ESP8266 functions
- fix to make the ESP8266 become more stable
- added watchdog functions
2015/02/02 no version - rewrite handler functions
- fix to make the ESP8266 become more stable
- added lots of ESP8266 functions
2015/01/28 no version - more clean-up
- seperate service and user application web pages
- add stream type http response (no doc-size given)
- continue work on http get function
2015/01/13 no version - clean up license statements, add license file
- remove day 7 (blernsday) of the week now back to 0-6
- save clock micros per second value to eeprom
- start work on real http-get function
2015/01/08 no version - big rework, all static docs now in progmem
- removed all use of String class
- also works with Uno, Nano, and Mini (needs 3.3V supply)
- added clock. More comments
2015/01/05 no version yet - first commit of alpha