Skip to content

Latest commit

 

History

History
 
 

RAK11200

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

WisBlock Quick Start Guide

WisBlock-Assembly

Content

Introduction

WisBlock is an amazing product built by RAK company for IoT industry. It can build circuits like building blocks quickly to realize your idea, and through high-speed connectors and fasteners interconnection, it can directly compose the reliable industrial products.

WisBlock consists of WisBlock Base, WisBlock Core, WisBlock Sensor, and WisBlock IO.

RAK11200 is the WisBlock Core board which consists of ESP32 Wrover. It supports WiFi and BLE functions, and supply a rich resource MCU so that you can program it if you want.

WisBlock is not only a functional test capable product in product development verification stage, but also industrial products oriented to mass production. It uses a high-speed connector to ensure the integrity of the signal. At the same time, it is equipped with fastening screw, which can be used in vibration environment. And WisBlock can be used reliably in various civil and industrial scenarios through rigorous reliability tests.

WisBlock uses a compact stacked hardware design, which integrates various computing, connecting and sensor circuits in the size of 60*30mm. The compact size makes it easy for users to build in various customized housings to achieve complete products. RAK also have a series of housings for WisBlock modules, which can meet the requirements of various protection levels.

More details about WisBlock hardware, please have a look at the document:

https://docs.rakwireless.com/Product-Categories/WisBlock/

Safety information

Please read the following items carefully so that WisBlock can be used safely.

Hardware

  1. Please use WisBlock according to its hardware specification, including the power supply, the temperature of using, the battery, and so on.

  2. Don't submerge WisBlock in liquids, and don't place WisBlock where water can reach.

  3. Don't power WisBlock using other power sources which RAK hasn't suggested.

Software

  1. There is already a bootloader in every WisBlock core board MCU when you receive the device, so that you needn't to flash the bootloader again. Normally, you only need to use it directly or upload new code into it through Arduino IDE. If you accidentally erase the bootloader, please contact with us on RAK forum: forum.rakwireless.com.

  2. Please don't unplug any hardware connector when you are uploading code into it, otherwise WisBlock may become unresponsive.

Hardware Setup

The RAK5005-O board offers several GPIO's on solder pads or on the WisBlock Sensor or WisBlock IO modules. These GPIO's are named IO1 to IO6 and SW1. These GPIO's are connected to GPIO's of the RAK11200 module.

WisBlock Core board --- RAK11200

RAK11200 is the WisBlock Core board, because the MCU stay on this board.

RAK4631

rak4631-connectors

rak4631-connectors

RAK11200 consists of an Espressif ESP32 Wrover module. The final Arduino code will be uploaded into ESP32 actually. This core board supports BLE and WiFi features. You can connect it with RAK5005-O base board with slot, and program it through the USB interface on RAK5005-O through Arduino IDE.

https://docs.rakwireless.com/Product-Categories/WisBlock/RAK11200/Datasheet/#overview

RAK5005-connect-RAK4631

The GPIO assignments are defined in the RAK11200 variant.h file of the Arduino BSP.

RAK5005-O GPIO mapping to RAK11200 GPIO ports

  • RAK5005-O <-> ESP32
  • IO1 <-> Arduino GPIO number 14
  • IO2 <-> Arduino GPIO number 27
  • IO3 <-> Arduino GPIO number 26
  • IO4 <-> Arduino GPIO number 23
  • IO5 <-> Arduino GPIO number 13
  • IO6 <-> Arduino GPIO number 22
  • SW1 <-> Arduino GPIO number 34
  • A0 <-> Arduino GPIO number 36
  • A1 <-> Arduino GPIO number 39
  • SPI_CS <-> Arduino GPIO number 32
  • LED1 <-> Arduino GPIO number 12
  • LED2 <-> Arduino GPIO number 2

Defined names from variant.h

#define WB_IO1 14
#define WB_IO2 27
#define WB_IO3 26
#define WB_IO4 23
#define WB_IO5 13
#define WB_IO6 22
#define WB_SW1 34
#define WB_A0 36
#define WB_A1 39
#define WB_CS 32
#define WB_LED1 12   
#define WB_LED2 2

Arduino IDE BSP Installation

You can use Arduino IDE for WisBlock coding and programming.

The RAK11200 is included in the RAKwireless Arduino BSP.
You can find the installation instructions in our RAKwireless Arduino BSP repository.

Load Examples

IMPORTANT NOTE

Different to other ESP32 boards, the RAK11200 needs to be put manually into download mode. If you do not force the RAK11200 download mode, you cannot upload your sketch from Arduino IDE (or PlatformIO).

To force the RAK11200 into download mode you need to connect the pin BOOT0 on the WisBlock Base RAK5005-O to GND and push the reset button.
The BOOT0 pin is on the J10 pin header, the GND pin is next to it.

Force Download Mode

RAK has supplied many examples source code on Github for WisBlock: