Calculation is actually: Resistance = (1024/ADC) Int ledPin = D4 // Beepitett led a wifi-n
The address is reserved in my DHCP server config.Ĭonst char* password = “top-secret-change-it” On the wifi interface the D1 mini uses my DHCP server to get IP address. I used a simple webserver code and some mathematics to calculate the temperature from AD pin read. The termistor is connected to D1 mini A0 pin with some wire in order to be able to placed to outside. It collects all measured temperature data in a RRD database and provides visualization, graph on an apache webserver.įirst step is some soldering: 10kOhm thermistor (NTC) is used as sensor. datadbase side runson my home linux server. My plan was to split the monitoring process to two separated part: temperature measuring runs on the D1 mini as, temperature sensor with web interface. One of my favorite is arduino ide, hence I will use it for the project, see It is more than enough for me to start playing with it.
Fortunately they are compatible with the original wemos D1 mini.ĭ1 mini is a mini wifi board based on ESP-8266EX.ġ1 digital input/output pins, all pins have interrupt/pwm/I2C/one-wire supported(except D0) I was real lucky to find this cheap wemos D1 mini clones on aliexpress. First of all this project is only for my fun.