HardwareR1BBIT ONER1BBIT MINIR1BBIT NANOR1BBIT PICOSoftwareDocumentationNewsBlogForumsContacts

Quick start with R1BBIT


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
Step 1. Connect the Hardware

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

Step 2. Install the App

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.

Step 3. Let’s write a script to work with the sensor

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


Step 4. Let’s add a few widgets

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)


Step 5. Server

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.

close
We use cookies to make your experience better and more personalized. By continuing to browse, you agree to our Privacy Policy.
Accept