Jump to content
Electronics-Lab.com Community

How to deliver data of sensor to the cloud platform(LinkNode D1)


Recommended Posts

linspriteio5.jpg

 

Summary

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.

Material preparation

  • LinkNode D1 x 1
  • DHT22 x 1
  • DuPont line
  • Arduino IDE

Steps

1. Login  linksprite.io ,record the “Device ID” and “API key” ( If there is no account, please sign up. )

  • 1. My Profile -> API key

linkspriteio5-1024x396

  • 2. My device->Create DIY Device

Enter Device Name,Device Type , Group Name , the device number is 03, device name and device grouping can be any.

linspriteio

Note: Device Type must be selected 03(Custom device type) .

Click the device you created and record the “Device ID”.

linspriteio1

2. Edit and run the code

Modify the “apikey” and “deviceID”  with content acquired before

1

Compile the code and upload.

3.  Results

  1. Serial Monitor

 

linspriteio3     2. LinkSprite IO

linspriteio4

Link to comment
Share on other sites


Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
  • Create New...