RAK1901 WisBlock Temperature and Humidity Sensor User Guide
- June 5, 2024
- RAK
Table of Contents
- Hardware
- Software
- Product Configuration
- Assembling and Disassembling of WisBlock Modules Assembling
- Disassembling
- Software Configuration and Example
- RAK1901 in RAK4631 WisBlock Core Guide
- RAK1901 in RAK11200 WisBlock Core Guide
- RAK1901 in RAK11310 WisBlock Core Guide
- LoRaWAN Weather Monitoring with RAK1901
- Documents / Resources
RAK1901 Quick Start Guide
Prerequisite
What Do You Need?
Before going through each and every step on using the RAK1901 WisBlock module, make sure to prepare the necessary items listed below:
Hardware
- Temperature and Humidity Sensor | Temperature Sensor | SHTC3 Sensor – RAKwireless Store
- Your choice of The plug-and-play WisBlock Base is now available on RAK – RAKwireless Store
- Your choice of The super-compact and durable RAK WisBlock Core now available – RAKwireless Store
- USB Cable
- Battery Connector Cable/5 pcs battery wires – RAKwireless Store
- Solar Panel Connector Cable/5 pcs solar wires – RAKwireless Store
Software
Arduino
Download and install ArduinoIDE.
To add the RAKwireless Core boards to your Arduino Boards Manager, install the
RAKwireless Arduino BSP
Product Configuration
Hardware Setup
WisBlock can integrate this module which makes it easy to build up an
environmental temperature and humidity data acquisition system.
For more information about the RAK1901, refer to the Datasheet.
The RAK1901 module gives information about:
- Environment Temperature
- Environment Humidity
RAK1901 module can be connected to any slot of WisBlock Base to communicate with the WisBlock Core. It will work on SLOT A to D. Also, always secure the connection of the WisBlock module by using compatible screws.
Figure 1: RAK1901 connection to WisBlock Base
Assembling and Disassembling of WisBlock Modules Assembling
As shown in Figure 2, the location for Slots A, B, C, and D are properly
marked by silkscreen. Follow carefully the procedure defined in RAK5005-O
module assembly/disassembly instructions to attach a WisBlock module.
Once attached, carefully fix the module with one or more pieces of M1.2 x 3 mm
screws depending on the module.
Figure 2: RAK1901 connection to WisBlock Base
Disassembling
The procedure in disassembling any type of WisBlock module is the same.
First, remove the screws.
Figure 3: Removing screws from the WisBlock module
2. Once the screws are removed, check the silkscreen of the module to find the correct location where force can be applied.
Figure 4: Detaching silkscreen on the WisBlock module
3. Apply force to the module at the position of the connector, as shown in Figure 5, to detach the module from the baseboard.
Figure 5: Applying even forces on the proper location of a WisBlock module
NOTE
If you will connect other modules to the remaining WisBlock Base slots, check
on the WisBlock Pin
Mapper tool for possible conflicts. RAK1901 uses I2C communication lines, and
it can cause possible conflict especially on some IO modules.
After all this setup, you can now connect the battery and USB cable to start
programming your WisBlock Core.
Software Configuration and Example
The RAK1901 is a Temperature & Humidity sensor board that contains the SHTC3
chip. The SHTC3 is a digital temperature and humidity sensor designed
especially for battery-driven high-volume consumer electronics applications.
The device comprises a sensing element and an IC interface that communicates
through I2C from the sensing element to the application.
These are the quick links that go directly to the software guide for the
specific WisBlock Core module you use:
- RAK1901 in RAK4631 WisBlock Core Guide
- RAK1901 in RAK11200 WisBlock Core Guide
- RAK1901 in RAK11310 WisBlock Core Guide
- LoRaWAN Weather Monitoring with RAK1901
RAK1901 in RAK4631 WisBlock Core Guide
If you already installed the RAKwireless Arduino BSP , the WisBlock Core and example code should now be available on the Arduino IDE.
- First, you need to select the RAK4631 WisBlock Core.
- The Basic Sample Code for RAK1901 in Github will work on all WisBlock Core. You can open the example codes depending on your WisBlock Core, as shown in Figure 7.Figure 7: Opening RAK1901 example code for RAK4631 WisBlock Core
- Once the example code is open, install the SparkFun SHTC3 library by clicking the yellow highlighted link, as shown in Figure 8.
- Figure 8: Accessing the library used for RAK1901 Module Figure 9: Installing the compatible library for RAK1901 Module****
- After successful installation of the library, you can now select the right serial port and upload the code, as shown in Figure 10 and Figure 11. Figure 10: Selecting the correct Serial Port
- When you successfully uploaded the example sketch, open the Serial Monitor of the Arduino IDE to see the sensor’s reading logs. If you see the logs, as shown in Figure 12, then your RAK1901 is properly communicating to the WisBlock core Figure 12: RAK1901 temperature and humidity data logs
RAK1901 in RAK11200 WisBlock Core Guide
If you already installed the RAKwireless Arduino BSP, the WisBlock Core and example code should now be available on the Arduino IDE.
-
First, you need to select the RAK11200 WisBlock Core.
-
The Basic Sample Code for RAK1901 in Github will work on all WisBlock Core. You can open the example codes depending on your WisBlock Core, as shown in Figure 14. Figure 14: Opening RAK1901 example code for RAK11200 WisBlock Core
-
Once the example code is open, install the SparkFun SHTC3 library by clicking the yellow highlighted link, as shown in Figure 15. Figure 15: Accessing the library used for the RAK1901 Module Figure 16: Installing the compatible library for the RAK1901 Module****
-
After successful installation of the library, you can now select the right serial port and upload the code, as shown in Figure 17 and Figure 18.
NOTE
RAK11200 requires the Boot0 pin to be configured properly first before uploading. If not done properly, uploading the source code to RAK11200 will fail. Check the full details on the RAK11200 Quick Start Guide. Figure 17: Selecting the correct Serial Port Figure 18: Uploading the RAK1901 example code**** -
When you successfully uploaded the example sketch, open the Serial Monitor of the Arduino IDE to see the sensor’s reading logs. If you see the logs, as shown in Figure 19, then your RAK1901 is properly communicating to the WisBlock core. Figure 19: RAK1901 temperature and humidity data logs
RAK1901 in RAK11310 WisBlock Core Guide
If you already installed the RAKwireless Arduino BSP, the WisBlock Core and example code should now be available on the Arduino IDE.
- First, you need to select the RAK11310 WisBlock Core. Figure 20: Selecting RAK11310 as WisBlock Core
- The WisBlock/examples/common/sensors/RAK1901_Temperature_Humidity_SHTC3 at master · RAKWireless/WisBlock · GitHub in Github will work on all WisBlock Core. You can open the example codes depending on your WisBlock Core, as shown in Figure 21.
Figure 21: Opening RAK1901 example code for RAK11310 WisBlock Core
3. Once the example code is open, install the SparkFun SHTC3 library by clicking the yellow highlighted link, as shown in Figure 22.
Figure 22: Accessing the library used for RAK1901 Module
Figure 23: Installing the compatible library for the RAK1901 Module
4. After successful installation of the library, you can now select the right serial port and upload the code, as shown in Figure 24 and Figure 25.
Figure 24: Selecting the correct Serial Port
Figure 25: Uploading the RAK1901 example code
When you successfully uploaded the example sketch, open the Serial Monitor of the Arduino IDE to see the sensor’s reading logs. If you see the logs, as shown in Figure 26, then your RAK1901 is properly communicating to the WisBlock core.
Figure 26: RAK1901 temperature and humidity data logs
LoRaWAN Weather Monitoring with RAK1901
For WisBlock Core RAK4630, it has an example for LoRaWAN Weather Monitoring with RAK1901 Temperature & Humidity Module.
Figure 27: LoRaWAN Weather Monitoring example
Documents / Resources
| RAK
RAK1901 WisBlock Temperature and Humidity
Sensor
[pdf] User Guide
RAK1901, WisBlock Temperature and Humidity Sensor, RAK1901 WisBlock
Temperature and Humidity Sensor, Temperature and Humidity Sensor Sensirion
SHTC3
---|---
References
- RAK5005-O Baseboard Installation Guide | RAKwireless Documentation Center
- How to Use the Pin Mapper | RAKwireless Documentation Center
- RAK11200 Quick Start Guide | RAKwireless Documentation Center
- RAK1901 WisBlock Temperature and Humidity Sensor Datasheet | RAKwireless Documentation Center
- GitHub - RAKWireless/RAKwireless-Arduino-BSP-Index: RAKwireless BSP Support for the Arduino Board Manager
- WisBlock/examples/common/sensors/RAK1901_Temperature_Humidity_SHTC3 at master · RAKWireless/WisBlock · GitHub
- WisBlock/examples/RAK4630/solutions/Weather_Monitoring at master · RAKWireless/WisBlock · GitHub
- GitHub - sparkfun/SparkFun_SHTC3_Arduino_Library: An Arduino library to take Humidity and Temperature readings using the SHTC3 sensor from Sensirion
- Battery Connector Cable/5 pcs battery wires – RAKwireless Store
- Solar Panel Connector Cable/5 pcs solar wires – RAKwireless Store
- The plug-and-play WisBlock Base is now available on RAK – RAKwireless Store
- WisBlock Core: LoRaWAN Module for LoRa, Wi-Fi, BLE and/or Bluetooth.
- Temperature and Humidity Sensor | Temperature Sensor | SHTC3 Sensor – RAKwireless Store
- Software | Arduino
Read User Manual Online (PDF format)
Read User Manual Online (PDF format) >>