Dangerous Prototypes

In development => Project logs => Topic started by: renze on April 16, 2015, 12:02:51 pm

Title: ESP8266 relay board
Post by: renze on April 16, 2015, 12:02:51 pm


Hello everyone,

I want to share my latest project with you: an ESP8266 based relay-switch board.
It's designed in eagle and uses firmware based on esphttpd (by Sprite_tm). I put the design files on Github under CC BY-SA 3.0 license.



Main webpage:
rnplus.nl/wp-content/uploads/2014/11/smartswitch_home.png
(The current version of the firmware also shows the temperature and humidity, this is an old screenshot)

Wifi settings (allows you to connect to a wifi network without reprogramming the ESP8266):



Something that I should have done differently is the way the board is programmed:
My next board will have a  reset circuit that allows automatic reset before programming and to allow for the RTC to wake the esp from deep-sleep), including a transistor to pull GPIO0 down from a usb-serial board. This board requires me to hold down the button that is connected to GPIO0 and remove and reapply power before programming. Since the software (esptool) I use to upload the firmware is bugged I need to do this 3 times in a row to upload the (3 parts of the) firmware...

My website:
http://http://www.rnplus.nl/domotics/esp8266-relay-board/

Github link:
http://http://www.github.com/rnplus/ESP8266-relay-board-hardware

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.00902049912session_write_close ( )...(null):0
20.00932181504ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.00932182280Database_MySQL->query( ).../DatabaseHandler.php:119
40.05342321016Database_MySQL->error( ).../Db-mysql.class.php:273