RAK19007 WisBlock Base Board 2nd Gen User Guide

June 12, 2024
RAK

Documentation Center
WisBlock Base Board 2nd Gen

RAK19007
Quick Start Guide

This guide introduces the RAK19007 WisBlock Base Board 2nd Gen and how to use it.

Prerequisite

What Do You Need?
Before going through each and every step on using the WisBlock Base Board 2nd Gen, make sure to prepare the necessary items listed below:

Hardware

Software
Based on the choice of the WisBlock Core, select a Development Environment:
Programming via Arduino IDE

In Arduino IDE, once you installed the BSP, the examples for WisBlock Core will be automatically included on the list of examples.
Programming via PlatformIO IDE:

Product Configuration

Overview
To give you a better understanding of how the WisBlock Base works, the block diagram and power supply diagram of RAK19007 are provided in this section.
Block Diagram
The block diagram shown in Figure 1 shows the internal architecture and external interfaces of the RAK19007 WisBlock Base Board 2nd Gen.

RAK19007 WisBlock Base Board 2nd Gen - Block Diagram Figure 1: RAK19007 WisBlock Base Board 2nd Gen block diagram

The MCU in the WisBlock Core module offers the I2C, UART, and SPI data buses to the sensor modules. Through these buses, the MCU can control and retrieve data from the sensors.
Some types of MCU have fewer IO pins. In such cases, not all the pins of the data bus are connected. For example, only I2C and UART are connected.
Some MCU IO pins have an alternate function. In this case, you have the option to modify the IO via software or rework the hardware to redefine the function of IO. Refer to the datasheet of WisBlock Core to get all the details.

Power Supply Diagram of RAK19007

RAK19007 WisBlock Base Board 2nd Gen - Power supply block
diagram Figure 2: Power supply block diagram

The RAK19007 is designed to be powered by a battery and provides the charger circuitry for lithium batteries.
The charger circuitry can be connected to a wall outlet charger through the Type-C USB connector, or the specific connector for a solar panel. The voltage coming from the Type-C USB port or solar panel connector goes only to a charger chip. The charger chip detects if the battery needs to be recharged. When the battery is fully charged, the charger chip will stop charging. The output of the charger chip is used to supply the WisBlock modules via a stepdown converter.
A high-efficiency step-down converter with a low quiescent current is used for generating 3.3 V. This 3.3 V power supply drives the consumption of the WisBlock Core module and the sensor modules. The max current supported by the 3.3 V LDO is 750 mA.
3V3_S is another 3.3 V power supply, it can be controlled by the MCU to disconnect the power sensors during idle periods to save power. 3V3_S is controlled by the IO2 pin on the WisBlock Core board.

  • Set IO2=1, 3V3_S is on.
  • Set IO2=0, 3V3_S is off.

Hardware Setup

RAK19007 WisBlock Base Board 2nd Gen Installation Guide
RAK19007 WisBlock Base Board 2nd Gen is the main board that allows you to attach a WisBlock Core, sensors, and IO modules through the standardized expansion connectors. These connectors provide a data bus
interconnection between the modules attached to the RAK19007 Base Board.
This guide shows the details related to the installation of modules into the RAK19007 board. The following section discusses the general concepts to manipulate the WisBlock Connector in any WisBlock Module. The installation and removal details of each type of WisBlock module: Core and Sensor are explained.

Attaching a WisBlock Connector
The WisBlock Connector is the interface between the RAK19007 board and the WisBlock Core, Sensor, and IO modules. Before connecting these modules, read the following instructions:

NOTE:
This guide uses two arrows. Refer to Figure 3 for its representation.

RAK19007 WisBlock Base Board 2nd Gen - Notation within the
guide Figure 3: Notation within the guide

  1. Align the connectors. Keep the header parallel and place it lightly in the corresponding lap joint of the socket.RAK19007 WisBlock Base Board 2nd Gen - WisBlock Connector Figure 4: Alignment of WisBlock Connector
  2. Fit the connector. Tilt one end of the connector (header) less than 20 degrees, while do not apply force during this process, gently place the other end in parallel.RAK19007 WisBlock Base Board 2nd Gen - header inside of the socket Figure 5: Fit the WisBlock Connector’s header inside of the socket
  3. After the above alignment steps, the header and socket are matched but still not buckled.RAK19007 WisBlock Base Board 2nd Gen - header matched inside of the socket Figure 6: WisBlock Connector’s header matched inside of the socket
  4. Apply forces evenly by pressing in parallel, then there will be a sound confirming the completion of the buckling.RAK19007 WisBlock Base Board 2nd Gen - buckle the heard to the socket Figure 7: Apply forces to buckle the heard to the socket
  5. In the process of buckling and applying force, avoid the application of uneven force on both sides.RAK19007 WisBlock Base Board 2nd Gen - Avoid applying uneven forces Figure 8: Avoid applying uneven forces
  6. When the buckling process is completed, check that the header and socket are kept in parallel.RAK19007 WisBlock Base Board 2nd Gen - header to the socket Figure 9: Correct way to buckle the WisBlock Connector’s header to the socket
  7. If after buckling, the header and socket are not in a parallel state (not fully assembled in one place), then press the even force on both sides of the long side to complete the correct buckling.RAK19007 WisBlock Base Board 2nd Gen - parallel to the socket Figure 10: WisBlock Connector’s header is not parallel to the socket
  8. When the aforementioned steps are not completed yet, do not apply force to buckle. Otherwise, there will be a risk to damage the connector. When the connector cannot be smoothly buckled down, repeat the alignment step.

Detaching a WisBlock Connector

  1. To disconnect the header from the socket, pull out in parallel with even forces.RAK19007 WisBlock Base Board 2nd Gen - header from the socket Figure 11: Correct way: Applying even forces to detach the header from the socket
  2. Avoid pulling out the header asymmetrically in the long-side direction.RAK19007 WisBlock Base Board 2nd Gen - Wrong way Figure 12: Wrong way: Applying uneven forces to detach the header from the socket
  3. The short-side of the connector can be pulled out asymmetrically, but apply the force vertically and avoid rotating the header.RAK19007 WisBlock Base Board 2nd Gen - Do not rotate the header
  4. Avoid applying forces in a single corner. Figure 14: Wrong way: Do not apply force in a single corner of the header

Assembling a WisBlock Module

WisBlock Core
A WisBlock Core module is designed to be installed on the CPU slot of the RAK19007 Base Board. As shown in Figure 15, the location is properly marked by silkscreen. Follow carefully the procedure defined in attaching a WisBlock Connector section in order to attach a Core module.
Once attached, fix the module with one or more pieces of M1.2 x 3 mm screws depending on the WisBlock Core.RAK19007 WisBlock Base Board 2nd Gen -
WisBlock Core silkscreen Figure 15: WisBlock Core silkscreen on the RAK19007 Base Board

WisBlock IO
A WisBlock IO module is designed to be installed on the IO slot of the RAK19007 Base Board. As shown in Figure 16, the location is properly marked by silkscreen. Follow carefully the procedure defined in attaching a WisBlock Connector section in order to attach an IO module.
Once attached, fix the module with one or more pieces of M1.2 x 3 mm screws depending on the WisBlock IO.RAK19007 WisBlock Base Board 2nd Gen - WisBlock
IO silkscreen Figure 16: WisBlock IO silkscreen on the RAK19007 Base Board

WisBlock Sensor
A WisBlock Sensor module is designed to be installed on the Sensor slots of the RAK19007 Base Board. As shown in Figure 17, the location of the slots is properly marked by silkscreen. Follow carefully the procedure of the section, attaching a WisBlock Connector, to attach a WisBlock Sensor module. Once attached, fix the module with an M1.2 x 3 mm screw.RAK19007 WisBlock Base
Board 2nd Gen - WisBlock Sensor silkscreen Figure 17: WisBlock Sensor silkscreen on the top of RAK19007 Base Board

Disassembling a WisBlock Module

  1. The procedure to disassemble any type of WisBlock modules is the same. As shown in Figure 18, first, remove the screws.RAK19007 WisBlock Base Board 2nd Gen - WisBlock module Figure 18: Removing screws from the WisBlock module
  2. Once the screws are removed, on the PCB of a WisBlock module, there is a silkscreen that shows the correct location where force can be applied. By applying even force under the marked area, the module can be detached from the Base Board. See Figure 19 and Figure 20.

RAK19007 WisBlock Base Board 2nd Gen - WisBlock module
2 Figure 19: Detaching silkscreen on the WisBlock moduleRAK19007 WisBlock Base Board 2nd Gen - Base
Board Figure 20: Applying even forces on the proper location of a WisBlock module to detach the module from the Base Board

Battery Connection

RAK19007 can be powered via the USB cable or Li-Ion/LiPo battery via the dedicated connectors, as shown in Figure 22. The matching connector for the battery wires is a JST PHR-2 2 mm pitch female  .![RAK19007 WisBlock Base Board 2nd Gen

  • Battery connector pin order](https://manuals.plus/wp- content/uploads/2023/08/RAK19007-WisBlock-Base-Board-2nd-Gen-Battery- connector-pin-order.jpg) Figure 21: Battery connector pin order
    The battery can be recharged as well via a small solar panel, as shown in Figure 22. The GND pin of Battery Connector is located on edge of the board.

⚠ WARNING

  • Battery 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.
  • Make sure the battery wires match the polarity on the RAK19007 board. Not all batteries have the same wiring.

Solar Panel Connection

RAK19007 WisBlock Base Board 2nd Gen - Solar Panel
Connection Figure 22: Solar panel connector VIN and GND

⚠ WARNING

  • 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.
  • The GND pin of the Solar Panel Connector is located on edge of the board. Make sure the Solar Panel wires are matching the polarity on the RAK19007 board.

The full specification of the Solar Panel Connection can be found on the datasheet of the RAK19007 WisBlock Base Board 2nd Gen.

Software Setup

The WisBlock Core is designed to be interfaced with other WisBlock Modules like sensors, displays, and other interfaces. To make useful devices, you need to upload a source code to the WisBlock Core. Before you continue, you should have already set up either an Arduino BSP  or PlatformIO .

WisBlock Examples Repository
To quickly build your IoT device with less hassle, example codes for WisBlock Core are provided. You can access the codes on the WisBlock Example code repository . The example codes on folder common are compatible with RAK4631, RAK11200, and RAK11310 WisBlock cores.

Last Updated: 11/9/2022, 8:19:58 AM

References

Read User Manual Online (PDF format)

Loading......

Download This Manual (PDF format)

Download this manual  >>

Related Manuals