We can get the data from kinds of sensores, but it's different to get the data through internet. Now we can use LinkSprite Linker Node D1 which based on ESP8266 to push the data to cloud, then you can read the data and control our devices through internet. We develop IoT project easier.
Step 1: Material Preparation
DHT22 module applies specific digital blocks collection technology and temperature and humidity sensing technology to ensure that products with high reliability and excellent long-term stability. Sensor comprises a capacitive humidity sensing element and a high-precision temperature component, and with a high-performance 8-bit microcontroller connected. Therefore, the product has excellent quality, fast response, anti-interference ability, high cost and so on. Measurable temperature range of the module: -40-80 ℃ ± 0.5 ℃, humidity range: 20-90% RH ± 2% RH. The module is widely used in temperature and humidity regulator, weather station, and other relevant temperature and humidity detection control.
LinkNode D1 x 1
DHT22 x 1
Step 2: Login Linksprite.io
Record the “Device ID” and “API key” ( If there is no account, please sign up. )
1. My Profile -> API key
2. My device->Create DIY DeviceEnter Device Name,Device Type , Group Name , the device number is 03, device name and device grouping can be any.
Note: Device Type must be selected 03(Custom device type) .
3. Click the device you created and record the “Device ID”.
Step 3: Edit and Run the Code
Modify the “apikey” and “deviceID” with content acquired before
Compile the code and upload.
You can see the serial Monitor and LinkSprite IO