<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://w.electrodragon.com/w/index.php?action=history&amp;feed=atom&amp;title=ESP_Relay_Board_Hardware</id>
	<title>ESP Relay Board Hardware - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://w.electrodragon.com/w/index.php?action=history&amp;feed=atom&amp;title=ESP_Relay_Board_Hardware"/>
	<link rel="alternate" type="text/html" href="https://w.electrodragon.com/w/index.php?title=ESP_Relay_Board_Hardware&amp;action=history"/>
	<updated>2026-06-04T19:10:43Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.2</generator>
	<entry>
		<id>https://w.electrodragon.com/w/index.php?title=ESP_Relay_Board_Hardware&amp;diff=25667&amp;oldid=prev</id>
		<title>Chao: /* General Pin Definition */</title>
		<link rel="alternate" type="text/html" href="https://w.electrodragon.com/w/index.php?title=ESP_Relay_Board_Hardware&amp;diff=25667&amp;oldid=prev"/>
		<updated>2020-03-08T03:28:41Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;General Pin Definition&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== List of the boards ==&lt;br /&gt;
* [[ESP Relay Board SPST]] - AC in, Single status relay &lt;br /&gt;
* [[ESP Relay Board SPDT]] - AC in, Dual status relay&lt;br /&gt;
* [[ESP Relay Board IL]] -  AC in, Relay with extra protections&lt;br /&gt;
* [[ESP Relay Board VDC]] - DC in, VIN 5-28V &lt;br /&gt;
* [[ESP Light]] - 12/24V DC Vin, LED strips or WS2812 control&lt;br /&gt;
&lt;br /&gt;
== Consistent Functions ==&lt;br /&gt;
[[File:ESP-relay-DHT22.png|thumbnail]]&lt;br /&gt;
IIC: IO4 and IO5&lt;br /&gt;
* IO4 and IO5 hs pull up resistors for IIC bus to use&lt;br /&gt;
* Demo code for IIC OLED screen for LUA can be found at nodemcu github, /master/lua_examples/u8glib/ this folder, [https://github.com/nodemcu/nodemcu-firmware/tree/master/lua_examples/u8glib or click here to browse.]&lt;br /&gt;
* To remove the pull-up resistor, find the 2x two-very-close-pin on the right side of break away header pin 4 and pin 5, use knife to cut them, then 4.7K resistor will be disconnected. Also can add solder to re-connect them later.&lt;br /&gt;
DHT Sensor&lt;br /&gt;
* '''Please connect the board to sensor by wires, because the PCB and relays will generate heats!!'''&lt;br /&gt;
* DHT22 support plug on to use, feel free to use wires or socket to settle the DHT sensor, pin definition is 3V3, data, NC and GND&lt;br /&gt;
* Default firmware has DHT module enable, upload example code will work directly. [http://nodemcu.readthedocs.io/en/master/en/modules/dht/ demo code here.], or download lua sketch [[File:DHT22.zip|here]], in esplorer run DHT22.lua direct to read temperature humidity&lt;br /&gt;
&lt;br /&gt;
== General Pin Definition ==&lt;br /&gt;
* Pin Definition for standard esp relay board, relay VDC board, relay SPDT board.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! ESP8266 Pins !! Board Pins !! Note !! Function&lt;br /&gt;
|-&lt;br /&gt;
| IO12 || Relay 1 (or 2) || -  || relay 10A load max.&lt;br /&gt;
|-&lt;br /&gt;
| IO13 || Relay 2 (or 1) || - || relay 10A load max.&lt;br /&gt;
|-&lt;br /&gt;
| IO16 || Status LED || - || -&lt;br /&gt;
|-&lt;br /&gt;
| IO14 || reserved DHT22 socket  || pull-up 10K resistor || &lt;br /&gt;
|-&lt;br /&gt;
| IO4 (board silk print maybe wrong with IO5, please check) || DHT22  || pull-up 4.7K resistor, can be disconnected || &lt;br /&gt;
|-&lt;br /&gt;
| IO5 (board silk print maybe wrong with IO4, please check) || DHT22  || pull-up 4.7K resistor, can be disconnected || &lt;br /&gt;
|-&lt;br /&gt;
| IO0 || button BTN2 || pull-up 10K resistor || Hold down then power up to enter into flash mode&lt;br /&gt;
|-&lt;br /&gt;
| IO2 || button BTN1 || - || programmed for clear config from code version 1.2&lt;br /&gt;
|-&lt;br /&gt;
| IO15 || -  || - || -&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Documents ==&lt;br /&gt;
[[File:B004 box.jpg|thumbnail]]&lt;br /&gt;
* Case size see on the image.&lt;br /&gt;
Projects (if you want list please let me know)&lt;br /&gt;
* [https://www.hackster.io/naresh-krish/home-automation-using-wiscore-and-openhab-1ec6e4 Use ESP Relay Board with Wiscore and Openhab] &lt;br /&gt;
* [https://www.youtube.com/watch?v=1WVo7KWC2Ho read value and control], [http://oster.com.ua:3000/dashboard/snapshot/gSaJImA2U38y6j3m8CEcLAWH8LocoISh?orgId=0 graphic data online] (Russian)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Further Read ==&lt;br /&gt;
* Relay circuit protection - [[Relay#Circuit_Protction]]&lt;br /&gt;
&lt;br /&gt;
[[Category:ESP Relay Board]]&lt;/div&gt;</summary>
		<author><name>Chao</name></author>
	</entry>
</feed>