To get started quickly with R1BBIT NANO, you will need:
1. R1BBIT NANO board
2. DHT20 sensor (temperature and humidity)
3. Bluetooth adapter HM10 or HM11
4. R1BBIT mobile app on your smartphone
Plug the DHT20 sensor into the I2C port on the R1BBIT NANO board.
Connect the Bluetooth adapter to the UART port:
VCC → 3.3V
GND → GND
TX → RX
RX → TX
Download the R1BBIT app from Google Play
Press to REGISTER
Registration First Name / Last Name / Email / Password / Confirm Password
Press to SING UP
Verify your email and log in to the app.

VAR H // Create variable H to store humidity
VAR TC // Create variable TC to store temperature in Celsius
VAR TF // Create variable TF to store temperature in Fahrenheit
DHT_INIT(TC,H,1000) // Initialize DHT sensor: write temperature to TC and humidity to H every 1000 ms
VARS_READ(TF,H) //Send selected variable values to the server for storage
WHILE (1) // Infinite loop
TF=TC*9/4+32 // Convert Celsius to Fahrenheit (TC → TF)
PRINT “TEMPERATURE:”, TF,”°F” // Display temperature in °F
PRINT “HUMIDITY: “, H,”%” // Display humidity in %
PAUSE 1000 // Wait 1000 ms (1 second)
WEND // End of loop
Label — to show temperature or humidity as text
Graph — to plot values over time
Lamp — to indicate status (for example, turn on when humidity is high)

Label — to show temperature or humidity as text
Graph — to plot values over time
Lamp — to indicate status (for example, turn on when humidity is high)
Go to: https://gate.r1bbit.com/
Use your email and password.
And you can view temperature and humidity values from anywhere in the world.

