Download Print this page

Advertisement

Quick Links

Documentation Center
RAK12005 Quick Start Guide
Prerequisite
What Do You Need?
Before going through each and every step on using the RAK12005 WisBlock module, make sure to prepare the
necessary items listed below:
Hardware
RAK12005 & RAK12030 WisBlock Rain Sensor Module
Your choice of
WisBlock Base
Your choice of
WisBlock Core
USB Cable
RAK19008 WisBlock IO Extension Cable (optional)
Li-Ion/LiPo battery (optional)
Solar charger (optional)
Software
Arduino
You need to download and install
To add the RAKwireless Core boards on your Arduino Boards Manager, install the
.
Product Configuration
Hardware Setup
The RAK12005 is an electroconductive-liquid detect module used for detecting water and other electroconductive
liquids. WisBlock can integrate this module, which makes it easy to build up a data acquisition system to help
protect your assets from rain or fog damage.
For more information about RAK12005, refer to the Datasheet.
The RAK12005 module gives information about:
Rain/Water Detect - measures resistance changes caused by water or condensed fog.
with IO slot
Arduino IDE
.
RAKwireless Arduino BSP

Advertisement

loading

Summary of Contents for RAK RAK12005

  • Page 1 Documentation Center RAK12005 Quick Start Guide Prerequisite What Do You Need? Before going through each and every step on using the RAK12005 WisBlock module, make sure to prepare the necessary items listed below: Hardware RAK12005 & RAK12030 WisBlock Rain Sensor Module...
  • Page 2 WisConnector. The module also has a built-in potentiometer for sensitivity adjustment of the digital output. Keep the RAK12005 in a dry place or inside a waterproof enclosure, just make sure not to wet this part of the module.
  • Page 3: Disassembling Procedure

    Figure 3: RAK12005 Module Installation Mounting Mechanism The RAK12005 module can be mounted on the IO slot of the WisBlock Base board, as shown in Figure 4. Also, always secure the connection of the WisBlock module by using compatible screws.
  • Page 4 Documentation Center Figure 6: Detaching silkscreen on the WisBlock module 3. Apply force to the module at the position of the connector, as shown in Figure 7, to detach the module from the baseboard. Figure 7: 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...
  • Page 5 Software Configuration and Example In our example, you will be using the RAK12005 and RAK12030 sensors for detecting water or rain. For RAK12005, the accessible pin assignments are defined as follows in the Arduino IDE: for Water Sensor Input pin...
  • Page 6 Documentation Center Figure 9: Selecting RAK11200 as WisBlock Core RAK11310 Board Figure 10: Selecting RAK11310 as WisBlock Core 3. Next, copy the following sample code into your Arduino IDE.
  • Page 7 If you experience any error in compiling the example sketch, check the updated code for your WisBlock Core Module that can be found on the RAK12005 WisBlock Example Code Repository . This sample code in Github will work on all WisBlock Core.
  • Page 8 Figure 12: Uploading the RAK12005 Sample code 5. When you successfully uploaded the example sketch, you'll now be able to test the RAK12005 Rain Sensor module. Try pouring water on the copper traces of the RAK12030 and you'll be able to see that the blue and green LED of the WisBlock solution lights up when there is a presence of water, and then switched off when there is no presence of water or dry.

This manual is also suitable for:

Rak12030