There are various types of sensors that can be connected to a RemoteSign ESP.
Note, the diagrams here represent the RemoteSign ESP in the form of a WEMOS D1 mini. The connections for NodeMCU ESP8266 use the pins with the same labels.
On/off sensors
Simply switch the sensor pin (for example D1, D2, D3) to the ground of the RemoteSign ESP
Three switches connected to pins D1, D2 and D3 |
On/off using pin A0
Pin A0 is an an analog input that senses the 3.3 Volts of the ESP device. To use this as an on/off sensor, connect it to the 3V3 pin instead of GND.Connecting a switch using A0 |
TMP36 temperature sensor
The TMP36 sensor is a TO-92 sized device with three pins: Vin, Vout and Ground
Connect the Vin to the 3V3 pin of the RemoteSign.
Connect the Vout to the AO pin of the RemoteSign.
Connect the Ground to the GND pin of the RemoteSign.
It is also recommended to add a 1 uF capacitor between the Vin and Vout pins of the TMP36 for smoother readings
TMP36 connection |
DS18B20 digital temperature sensor
The DS18B20 sensor is a TO-92 sized device with three pins: Vin, Vout and Ground
Connect the Vin to the 3V3 pin of the RemoteSign.
Connect the Vout to the one of these pins of the RemoteSign: D1, D2, D3, D5, D6, D7, RX, TX
Connect the Ground to the GND pin of the RemoteSign.
Add a 4.7K Ohm resistor between the Vin and Vout pins of the DS18B20.
DB18B20 connected to D2 |
Defining sensors
See the {DCH} command for information on how to define sensors.
Parts of the images here were constructed using Tinkercad.