RAK RAK11200 Quick Start Manual Download Page 17

Documentation Center

GPIO06 to GPIO11 are connected to the integrated SPI flash on the ESP32-WROVER chip and are not
recommended for other uses.

Input Only Pins

GPIO34-39 can only be set as input mode and do not have software pullup or pulldown functions.

PSRAM Pins

GPIO16 and 17 are used for the RAK11200 Pseudo static RAM (PSRAM).

ESP32 Basic Over The Air (OTA)

OTA stands for Over-The-Air. This feature allows uploading a new program to RAK11200 using WiFi instead of
requiring 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 RAKwireless ESP32, then the BasicOTA sketch has also been installed.

1. Open the Arduino IDE -> File -> Examples-> ArduinoOTA-> BasicOTA.

Figure 12: Arduino OTA Sketch

2. Modify the following two variables with your network credentials, so that RAK11200 can establish a WiFi

connection with the existing network. Then save and upload the BasicOTA sketch.

3. Now, upload a new sketch using over the air port.

4. Copy the blink LED sketch below to your Arduino IDE.

const

 

char

*

 ssid 

=

 

".........."

;

const

 

char

*

 password 

=

 

".........."

;

 

Summary of Contents for RAK11200

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

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

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

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

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

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

Page 7: ...Documentation Center Board Dimensions Figure 6 RAK11200 Board Dimensions WisConnector PCB Layout Figure 7 WisConnector PCB footprint and recommendations Schematic Diagram...

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Page 22: ...ormio packages framework arduinoespressif32 variants Linux Ubuntu HOME platformio packages framework arduinoespressif32 variants Mac OS Users Your_User_id platformio packages framework arduinoespressi...

Reviews: