RAK RAK12005 Скачать руководство пользователя страница 5

Documentation Center

 WARNING

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.

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:

WB_IO6

 for Water Sensor Input pin

Initial Test of the RAK12005 WisBlock Module

1. Install the 

RAKwireless Arduino BSP  

for WisBlock by using the 

package_rakwireless_index.json

 board

installation package. The WisBlock Core should now be available on the Arduino IDE.

2. You need to select first the WisBlock Core you have.

RAK4631 Board

Figure 8: Selecting RAK4631 as WisBlock Core

RAK11200 Board

Содержание RAK12005

Страница 1: ...oftware 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...

Страница 2: ...closure Figure 2 RAK12030 Module 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 MCP60...

Страница 3: ...on of the WisBlock module by using compatible screws Figure 4 RAK12005 mounting connection to WisBlock Base module Disassembling Procedure The procedure in disassembling any type of WisBlock modules i...

Страница 4: ...re 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...

Страница 5: ...d eventually other electronic parts Make sure the battery wires match the polarity on the WisBlock Base board Not all batteries have the same wiring Software Configuration and Example In our example y...

Страница 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...

Страница 7: ...sBlock Core 4 Then you can now select the right port and upload the code as shown in Figure 11 and Figure 12 NOTE If you are using the RAK11200 as your WisBlock Core the RAK11200 requires the Boot0 pi...

Страница 8: ...w 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 t...

Отзывы: