background image

Documentation Center

RAK13005 Quick Start Guide

Prerequisite

What Do You Need?

Before going through each and every step on using the RAK13005 WisBlock module, make sure to prepare the
necessary items listed below:

Hardware

RAK13005 WisBlock LIN Module - Controller/Master Mode
RAK13005 WisBlock LIN Module - Peripheral/Slave Mode

Your choice of 

WisBlock Base

Your choice of 

WisBlock Core

USB Cable

Li-Ion/LiPo battery (optional)
Solar charger (optional)

External power source ( 5.5 V to 27 V )

Software

Arduino

Download and install 

Arduino IDE  

.

To add the RAKwireless Core boards on your Arduino Boards Manager, install the 

RAKwireless Arduino BSP

.

Product Configuration

Block Diagram
Hardware Setup

RAK13005 is a WisBlock LIN Module that extends the WisBlock system to be used on communication protocol
called Local Interconnect Network (LIN). This communication is initiated by the automotive industry for the
communication of in-vehicle devices on cars. Today, LIN is also used in other applications that require a robust
communication line. For more information about the RAK13005, refer to the 

Datasheet

.

Pin Definition

Summary of Contents for WisBlock RAK13005

Page 1: ...al power source 5 5 V to 27 V Software Arduino Download and install Arduino IDE To add the RAKwireless Core boards on your Arduino Boards Manager install the RAKwireless Arduino BSP Product Configurat...

Page 2: ...determined by an SMD resistor The resistor location is shown in Figure 2 Figure 2 RAK13005 LIN Mode Configuration Assembling and Disassembling of WisBlock Modules Assembling The RAK13005 module can be...

Page 3: ...able head into the corresponding connector s hole Once inserted correctly release the spring head and the crimping process is completed Figure 4 RAK13005 Module Connector Disassembling The procedure i...

Page 4: ...d 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...

Page 5: ...at set the mode are highlighted in a yellow box Figure 8 Two RAK13005 Interconnection for Controller and Peripheral mode 1 Select the RAK4631 WisBlock Core Install the RAKwireless Arduino BSP to find...

Page 6: ...nager Search for RAKwireless TLE7259 on the Library Manager text box Select the latest version of the library then click Install button Figure 11 Look for RAKwireless TLE7259 LIN Bus Library After suc...

Page 7: ...nstalled 3 Upload the RAK13005_linbus_master Controller sketch Connect the first WisBlock with the RAK13005 module in Controller mode and select the RAK13005_linbus_master Figure 13 Open the code for...

Page 8: ...n Center Figure 14 Select the Serial Port of RAK4631 for the RAK13005 LIN module in controller mode Now upload the RAK13005_linbus_master code to the WisBlock Core Figure 15 Uploading RAK13005_linbus_...

Page 9: ...upload you can now open the Serial Monitor and see the Serial output Figure 17 Serial Output of the RAK13005 Controller Mode 4 Upload the RAK13005_linbus_slaver Peripheral sketch Connect the second W...

Page 10: ...ditional port from the previous port for the controller You should see two ports in your Arduino IDE Figure 19 Select the Serial Port of RAK4631 for the RAK13005 LIN module in peripheral mode After en...

Page 11: ...n be found on the RAK13005 WisBlock Example Code Repository 5 Check Serial Monitor output Check the Serial Monitor on the RAK13005 Peripheral device receiving the data coming from the RAK13005 Control...

Page 12: ...at set the mode are highlighted in a yellow box Figure 22 Two RAK13005 Interconnection for Controller and Peripheral mode 1 Select the RAK11200 WisBlock Core Install RAKwireless Arduino BSP to find th...

Page 13: ...Library Manager Search for RAKwireless TLE7259 on Library Manager text box Select the latest version then click Install button Figure 25 Look for RAKwireless TLE7259 LIN Bus Library After successful i...

Page 14: ...13005_linbus_master Controller sketch Open the RAK13005_linbus_master Controller sketch Connect the first WisBlock with the RAK13005 module in Controller mode and select the RAK13005_linbus_master Fig...

Page 15: ...n Center Figure 28 Select the Serial Port of RAK11200 for the RAK13005 LIN module in controller mode Now upload the RAK13005_linbus_master code to the WisBlock Core Figure 29 Uploading RAK13005_linbus...

Page 16: ...upload you can now open the Serial Monitor and check the Serial output Figure 31 Serial Output of the RAK13005 Controller Mode 4 Upload the RAK13005_linbus_slaver Peripheral sketch Connect the second...

Page 17: ...gure 33 Select the Serial Port of RAK11200 for the RAK13005 LIN module in Peripheral mode NOTE RAK11200 requires the BOOT0 pin to be configured properly before uploading If not done properly uploading...

Page 18: ...n be found on the RAK13005 WisBlock Example Code Repository 5 Check Serial Monitor output Check the Serial Monitor on the RAK13005 Peripheral device receiving the data coming from the RAK13005 Control...

Page 19: ...at set the mode are highlighted in a yellow box Figure 36 Two RAK13005 Interconnection for Controller and Peripheral mode 1 Select the RAK11300 WisBlock Core Install the RAKwireless Arduino BSP to fin...

Page 20: ...Manager Search for RAKwireless TLE7259 on Library Manager text box Select the latest version of the library then click Install button Figure 39 Look for RAKwireless TLE7259 LIN Bus Library After succe...

Page 21: ...nstalled 3 Upload the RAK13005_linbus_master Controller sketch Connect the first WisBlock with the RAK13005 module in Controller mode and select the RAK13005_linbus_master Figure 41 Open the code for...

Page 22: ...t of RAK4631 for the RAK13005 LIN module in controller mode Now upload the RAK13005_linbus_master code to the WisBlock Core Figure 43 Successful code upload After the successful code upload you can no...

Page 23: ...laver Peripheral sketch Connect the second WisBlock with the RAK13005 in Peripheral mode then select RAK13005_linbus_slaver Figure 45 Open the code for the RAK13005 Peripheral Select the port which is...

Page 24: ...K13005_linbus_slaver code NOTE If you experience any error in compiling an example sketch check the updated code for the RAK13005 WisBlock Core Module that can be found on the RAK13005 WisBlock Exampl...

Page 25: ...umentation Center Figure 48 Serial Output of the RAK13005 Peripheral Mode To extend the use of the RAKwireless TLE7259 LIN Bus library check the TLE7259 Library methods Last Updated 7 29 2022 10 17 19...

Page 26: ...ifications Single wire LIN transceiver for transmission rates up to 20 kBaud Supports both Controller Master and Peripheral Slave modes Compliant to ISO 17987 4 and LIN Specification 2 2A Very low cur...

Page 27: ...d to this module The IO6 pin is connected to LIN Enable input pin EN The IO5 pin is connected to MCU_WK pin Figure 3 RAK13005 WisBlock LIN Module Pinout Diagram Electrical Characteristics Recommended...

Page 28: ...ector PCB Footprint and Recommendations Schematic Diagram Figure 5 shows the RAK13005 schematic J2 is the LIN bus connector J1 is the 40 pin WisConnector VS is the LIN bus power supply pin EN is the E...

Page 29: ...pin Q1 works as an inverter thus in normal operation set MCU_WK to the high level Figure 6 RAK13005 Schematic Diagram NOTE With R5 soldered the RAK13005 works as a LIN controller master With R4 solde...

Reviews: