RAK12005 WisBlock Rain Sensor Module 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 with IO slot
- 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 Arduino IDE.
- To add the RAKwireless Core boards on your Arduino Boards Manager, install the RAKwireless Arduino BSP.
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.

RAK12030 Sensing Pad
The sensor contains a sensing pad that you can place the sensor exposed under the open sky where it can be affected by rainfall and keep your WisBlock solution in a dry place or inside a waterproof enclosure.

RAK12005 Sensor Module
The RAK12005 module produces an output voltage depending on the resistance of the sensing pad. The signal from the sensing pad is fed to an MCP606 Comparator to digitize it then the comparator output is tied to the IO pin on the 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.

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.

Disassembling Procedure
The procedure in disassembling any type of WisBlock modules is the same.
- First, remove the screws.

- Once the screws are removed, check the silkscreen of the module to find the correct location where force can be applied.

- Apply force to the module at the position of the connector, as shown in Figure 7, to detach the module from the baseboard.

If you will connect other modules to the remaining WisBlock Base slots, check on the WisBlock Pin Mapper tool for possible conflicts.
Now, you can connect the battery (optional) and USB cable to start programming your WisBlock Core.
- Batteries can cause harm if not handled properly.
- Only 3.7-4.2 V Rechargeable LiPo batteries are supported. It is highly recommended not to use other types of batteries with the system unless you know what you are doing.
- If a non-rechargeable battery is used, it has to be unplugged first before connecting the USB cable to the USB port of the board to configure the device. Not doing so might damage the battery or cause a fire.
- Only 5 V solar panels are supported. Do not use 12 V solar panels. It will destroy the charging unit and eventually other electronic parts.
- Make sure the battery wires match the polarity on the WisBlock Base board. Not all batteries have the same wiring.