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

Documentation Center

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

Safety Information

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

Hardware

Use WisBlock according to its hardware specification, including the power supply, the temperature of use, the
battery, and so on.
Don't submerge WisBlock in liquids, and don't place WisBlock where water can reach.
Don't power WisBlock using other power sources which RAK hasn't suggested.
Some WisBlock modules require higher current that can't be provided by USB port alone. In this case, it is
recommended to connect a 

battery

 to WisBlock Base 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.x
Make sure the battery wires match the polarity on the RAK WisBlock Base Board. Not all batteries have
the same wiring.
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.

There is already a bootloader in every WisBlock core board MCU when you receive the device so that you don't
need 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, contact 

RAK forum

.

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 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.

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

Содержание RAK11200

Страница 1: ...er communication solution RAK11200 can be comfortably programmed with the Arduino IDE or PlatformIO Features Two low power Xtensa 32 bit LX6 microprocessors Up to 240 MHz CPU clock Built in PCB antenn...

Страница 2: ...mode If you do not force the RAK11200 into download mode you cannot upload your sketch from Arduino IDE or PlatformIO to the board To force the RAK11200 into download mode you need to connect the pin...

Страница 3: ...e phase CPHA of the SPI clock An internal FIFO buffer of 64 byte I2C Interface The RAK11200 module provides two I2C bus interfaces The module allows you to access directly the registers to control I2C...

Страница 4: ...GND GND 1 15 38 5 3V3 3V3 2 6 3V3 3V3 2 7 USB_DP USB_DP 8 USB_DN USB_DN 9 NC NC 10 SW1 GPIO34 6 11 UART0_TX GPIO1 35 12 UART0_RX GPIO3 34 13 EN EN 3 14 LED1 GPIO12 14 15 LED2 GPIO2 24 16 NC NC 17 3V3...

Страница 5: ...25 10 29 IO1 GPIO14 13 30 IO2 GPIO27 12 31 IO3 GPIO26 11 32 IO4 GPIO23 37 33 UART1_TX GPIO21 33 34 UART1_RX GPIO19 31 35 I2C2_SDA GPIO15 23 36 I2C2_SCL GPIO18 30 37 IO5 GPIO13 16 38 IO6 GPIO22 36 39 G...

Страница 6: ...z Parameter Condition Min Typ Max Unit Operating frequency range 2412 2484 MHz TX power 11b mode 17 5 18 5 20 dBm TX power 11n MCS7 12 13 14 dBm Sensitivity 11b 1 Mbps 97 dBm Symbol Description Min Ty...

Страница 7: ...Documentation Center Board Dimensions Figure 6 RAK11200 Board Dimensions WisConnector PCB Layout Figure 7 WisConnector PCB footprint and recommendations Schematic Diagram...

Страница 8: ...e variety of applications There are two CPU cores that can be individually controlled and the CPU clock frequency is adjustable from 80 MHz to 240 MHz The low power deep sleep current consumption of t...

Страница 9: ...d provides direct data bus interconnection WisBlock Base module also integrates the power supply circuit to realize low power battery power supply In order to facilitate users WisBlock Base has reserv...

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

Страница 11: ...nvironment We have made detailed tutorials on how to set up Arduino IDE and the PlatformIO extension to be ready to use the WisBlock 11200 Arduino IDE BSP Installation Install RAKWireless ESP32 BSP on...

Страница 12: ...ps raw githubusercontent com RAKwireless RAKwireless Arduino BSP Index main package_rakwireless_index json and paste it into the new window If there is already an URL from another manufacturer in that...

Страница 13: ...n the window Figure 6 Arduino Tools Boards Manager 6 Select RAKwireless ESP32 Boards and click on Install button Depending on your connection speed the installation can take some time Just be patient...

Страница 14: ...one compiling Figure 8 Arduino Done compiling Now you can connect your WisBlock hardware with your PC and upload the code into it Uploading to WisBlock Make sure that your WisBlock hardware has been c...

Страница 15: ...Figure 10 Force ESP32 Download mode 2 After uploading successfully push the reset button Then you can see some information as shown in Figure 11 in the output message area That means you ve uploaded...

Страница 16: ...n is used as a bootstrapping pin and should be low to enter UART download mode Make sure it is not pulled high by a peripheral device during boot or you will not be able to flash a firmware to the mod...

Страница 17: ...uiring the user to connect the RAK11200 to a computer via USB to perform the update See the detailed instructions on the link below ESP32 Basic OTA in Arduino IDE If you already installed the RAKwirel...

Страница 18: ...seconds the new sketch will be uploaded using over the air port ESP32 Deep Sleep unsigned long previousMillis 0 will store last time LED was updated const long interval 1000 interval at which to blin...

Страница 19: ...ode which is a great and open source tool Visual Studio Code After installing the Visual Studio Code you can search for PlatformIO and install it in the Extensions item Install Espressif 32 Arduino Fr...

Страница 20: ...click Espressif 32 item and then Install Figure 16 Espressif Framework 4 Before running the first RAK11200 project on the PlatformIO you need to ensure that the framework arduinoespressif32 is instal...

Страница 21: ...repository 2 Copy the file wiscore_rak11200 json located on folder cloned_dir WisBlock PlatformIO RAK11200 to espressif32 platform folder The platform folder path is similar to the following Windows u...

Страница 22: ...ormio packages framework arduinoespressif32 variants Linux Ubuntu HOME platformio packages framework arduinoespressif32 variants Mac OS Users Your_User_id platformio packages framework arduinoespressi...

Отзывы: