LoRa Quick Start Guide

Similar documents
Arduino STEAM Academy Arduino STEM Academy Art without Engineering is dreaming. Engineering without Art is calculating. - Steven K.

Training Schedule. Robotic System Design using Arduino Platform

Product Specifications. Wireless Communication Module

INTRODUCTION. What is the LSN50

Lesson 3: Arduino. Goals

SNIOT702 Specification. Version number:v 1.0.1

Ground Loops and other Buzz

Product Specifications

DASL 120 Introduction to Microcontrollers

Introduction to the Arduino Kit

Frequency 434=434MHz 868=868MHz 915=915MHz

EE-110 Introduction to Engineering & Laboratory Experience Saeid Rahimi, Ph.D. Labs Introduction to Arduino

RFBee User Manual v1.0

nrf24l01+ Transceiver Hookup Guide

Lab 2: Blinkie Lab. Objectives. Materials. Theory

Catalog

Catalog

RN-21. Class 1 Bluetooth Module. Applications. Features. Description. Block Diagram. DS-RN21-V2 3/25/2010

G3P-R232. User Manual. Release. 2.06

RM24100A. Introduction. 1 Features. 2.4GHz 100mW RS232 / RS485 / RS422 DSSS Radio Modem (IEEE compliant) Operating Manual English 1.

HC-12 Wireless Serial Port Communication Module

On the front of the board there are a number of components that are pretty visible right off the bat!

Application Note. Communication between arduino and IMU Software capturing the data

BlinkRC User Manual. 21 December Hardware Version 1.1. Manual Version 2.0. Copyright 2010, Blink Gear LLC. All rights reserved.

WifiBotics. An Arduino Based Robotics Workshop

FABO ACADEMY X ELECTRONIC DESIGN

DR-TRC105-EV Evaluation Kit. User s Guide

RF Wireless Serial Device Server

RM24100D. Introduction. 1 Features. 2.4GHz 100mW RS232 / RS485 / RS422 DSSS Radio Modem (IEEE compliant) Operating Manual English 1.

RS232-B1 User Manual V1.2 05/10/2017

Advanced RTK GPS / Compass module with 100x100 mm ground plane and 32-bit MCU

TWEAK THE ARDUINO LOGO

VT-CC2530-Z1 Wireless Module. User Guide

RF4432 wireless transceiver module

LoRa/LRSC. Wireless Long Range Network for M2M Communication

Multi-Channel RS-232 Serial RF Transceiver

RN-41. Class 1 Bluetooth Module. Features. Applications. Description. Block Diagram. DS-RN41-V3.

SV613 USB Interface Wireless Module SV613

Arduino Uno Pinout Book

TRC EV DR TRC EV DR TRC EV

Datasheet DS0011 AM093 Wireless Meter-Bus Dual Band 169/868MHz Narrowband Modem Advance Information Production Status Production

Objectives: Learn what an Arduino is and what it can do Learn what an LED is and how to use it Be able to wire and program an LED to blink

Catalog

Ocean Controls KT-5221 Modbus IO Module

smraza Getting Start Guide Contents Arduino IDE (Integrated Development Environment)... 1 Introduction... 1 Install the Arduino Software (IDE)...

Multi-Channel USB RF Transceiver

Module: Arduino as Signal Generator

Catalog

Trademarks & Copyright

For this exercise, you will need a partner, an Arduino kit (in the plastic tub), and a laptop with the Arduino programming environment.

J. La Favre Using Arduino with Raspberry Pi February 7, 2018

Arduino Lesson 1. Blink. Created by Simon Monk

HF-Z100A ZigBee Module Datasheet

Revision History. Rev. No Issued Date Page Description Summary. V Initial Release

Catalogue

SynthNV - Signal Generator / Power Detector Combo

(DC)TR-76D. Data Sheet. Transceiver Module MICRORISC s.r.o. Datasheet_TR-76D_ Page 1

RFID Door Unlocking System

Catalogue

SV-MESH Mesh network series Catalogue

PC Tune PC Tune Test Procedures for 5100 Series Portable Radios

V 1.1 TABLE OF CONTENTS LIST OF FIGURES... 2 LIST OF TABLES... 2 HISTORY... 2

APDS-9960 RGB and Gesture Sensor Hookup Guide

Self-Powered Wireless Sensor Module. Submitted by Eu Jin Ooi on 9 September Supervised by Ridha Ben Mrad

RigExpert AA-30.Zero DIY HF Antenna Analyzer A M AT EUR EXTRA, CHEROKEE A M AT EUR R A DIO SOCIETY

BLE 4.0 Module ZBModule User Manual 1 / 15

High Frequency Ceramic Solutions

Object Detection for Collision Avoidance in ITS

Electronic Prototyping

Getting Started with the micro:bit

Tel: Fax: OMESH Networks Inc. 2011

Ardweeny 1.60" 0.54" Simple construction - only 7 parts plus pins & PCB! Ideal for breadboard applications

Skill Level: Beginner

CMU232 User Manual Last Revised October 21, 2002

AO-1505-THM ZigBee Temperature and Humidity Sensor

LoRa1278 Wireless Transceiver Module

AT-XTR-7020A-4. Multi-Channel Micro Embedded Transceiver Module. Features. Typical Applications

LoRa1276 Catalogue

Coding with Arduino to operate the prosthetic arm

HF-Z100C ZigBeeModule Datasheet

Revision WI.232FHSS-25-FCC-R and RK-WI.232FHSS-25-FCC-R USER S MANUAL

USER MANUAL SERIAL IR SENSOR ARRAY5

Arduino

Guardian and DL3282 Modem Interface Technical Service Application Note

QK-A022 Dual Channel AIS Receiver

Lecture 4: Basic Electronics. Lecture 4 Brief Introduction to Electronics and the Arduino

The wiring is relatively simple. You should put the module on one of the compatible Arduinos. The following are compatible:

HAW-Arduino. Sensors and Arduino F. Schubert HAW - Arduino 1

Touch Potentiometer Hookup Guide

(DC)TR-72D. Data Sheet. Transceiver Module MICRORISC s.r.o. Datasheet_TR-72D_ Page 1

LESSONS Lesson 1. Microcontrollers and SBCs. The Big Idea: Lesson 1: Microcontrollers and SBCs. Background: What, precisely, is computer science?

RN-42. Class 2 Bluetooth Module. Features. Description. Applications. Block Diagram. DS-RN42-V1.1 1/12/2010.

HM-LW-M200 Specification HW-LW -M200. Product Specification V HOPERF All Rights Reserved 1

ADVANCED EMBEDDED MONITORING SYSTEM FOR ELECTROMAGNETIC RADIATION

USB-B1 User Manual V1.1

HF-Z100A ZigBee Module Datasheet

User s Guide SX SKA ADVANCED COMMUNICATIONS & SENSING SX SKA. User s Guide: Advanced Mode. Revision 0.1 March Semtech Corp.

DNT2400. Low Cost 2.4 GHz FHSS Transceiver Module with I/O

SMARTALPHA RF TRANSCEIVER

Characteristic Sym Notes Minimum Typical Maximum Units Operating Frequency Range MHz Operating Frequency Tolerance khz

Transcription:

LoRa Quick Start Guide The Things Uno Tweetonig Rotterdam (English) v1.0 - written for Things Uno v4

Index LoRa Quick Start Guide 1 The Things Uno 1 Index 2 Specifications 3 CPU: ATmega32u4 3 Pin layout 4 Schematics 5 Configuration 6 Arduino 6 Baud rate 6 LoRa setup 7 DevUEI (MAC-address) 7 DevAddr (Device Address) 7 NwkSKey (Network Session Key) 7 AppSKey (Application Session Key) 8 External antenna 9!2

Specifications CPU: ATmega32u4 Digital I/O channels 20 PWM channels 7 Analog input channels 12 DC current per I/O 40 ma DC current 3.3V pin 50 ma Flash memory 32 KB (- reserved bootloader space) SRAM (static RAM) 2.5 KB EEPROM 1 KB Clock Speed 16 MHz Wireless Communication Module: RN2483 / Microchip Low-Power Long Range Transceiver Module Operating Frequencies: Receiving sensitivity: Transmitting power: Modulation: Range: 433 MHz en 868 MHz up to -148 dbm adjustable to +14 dbm LoRa WAN 10 km coverage at suburban 5 km coverage at urban area Development Board: Things Uno Operating voltage: 5V (behind voltage regulator) Input voltage power connector: 7-12V Programming voltage (USB): 5V Length: 68.6 mm Width: 53.3 mm!3

Pin layout!4

Schematics!5

Configuration Download Arduino test sketch + LoRa library over here: http://bit.ly/1w2j3zs Arduino When plugging the Things Network Uno in your computer you must select the Arduino Leonardo board from the tools > board selection. Test the blink example code to test communication. Baud rate To communicate with the RN2483 the baud rate needs to be set to 57600 bps. Do this with Serial1.begin(57600); in your code. Now the hardware is ready to configure the next important setups:!6

LoRa setup DevUEI (MAC-address) The MAC-address is expressed in DevUEI. This because LoRa uses MAC EUI-64 standard. The address is build up with 16 hexadecimal characters and can be picked up from the RN2483 by writing sys get hweu over serial TX. For the full syntax use the example below. It s important that the MAC-address is coming back from the RN2483. Wait 1 second and listen to the RX serial bus to receive the MAC-address. Example: Serial1.write("sys get hweui\r\n"); delay(1000); while(serial1.available()) Serial.write(Serial1.read()); DevAddr (Device Address) The assigned device address specifies a unique number in the Lora network. This address must be assigned to the RN2483. DevAddr is also the network address is the Lora network. When the RN2483 receives no DevAddr, it must be configured by "Serial1.write ("mac set devaddr assigned address \ r \ n ");". After processing the data, the RN2483 sends feedback if the communication process was successful. There can then be listened to the RX of the ATmega in order to recover the status value. Example: Serial1.write("mac set devaddr network address\r\n"); delay(1000); while(serial1.available()) Serial.write(Serial1.read()); IMPORTANT: After a correct setup you should receive ok. NwkSKey (Network Session Key) A device-specific network session key, which is used to compute the data integrity MIC code (Market Identifier Codes), and encryption/decryption of payload field between the Backend and the device. To set and write the NwkSKey to the RN2483 we need to repeat the description above this paragraph. To Set the NwkSKey it s important to use Serial1.write("mac set Nwkskey????????????????????????????????\r\n");. The NwkSKey always contains 32 characters. Again to receive the right feedback from the RN2483, wait for one second to receive ok. For example:!7

Serial1.write("mac set nwkskey????????????????????????????????? \r\n"); delay(1000); while(serial1.available()) Serial.write(Serial1.read()); AppSKey (Application Session Key) One or more device-specific application session keys used for end encryption of the payload field for certain application ports. If this AppSKey is not provided to the Backend, then the network cannot access the payload information. To Set the AppSKey it s important to use Serial1.write("mac set appskey????????????????????????????????\r\n");. The AppSKey always contains 32 characters. Again to receive the right feedback from the RN2483, wait for one second to receive ok. For example: Serial1.write("mac set appskey????????????????????????????????? \r\n"); delay(1000); while(serial1.available()) Serial.write(Serial1.read());!8

External antenna The Things Uno has an onboard smd antenna. In order to expand the range it is possible to add an external antenna. To do this you will need three things: 1. The Things UNO 2. A 1.6 mm spaced side SMA connector (like Mouser: 712CONREVSMA003.062) 3. An antenna. (like Mouser: 712-ANT-868-CWHWRRPS) Step 1 - Cutting the connection with the on board antenna. Find the white stripe mark on the PCB and cut the trace with a sharp knife. (please do this with care)!9

Step 2 - Solder the connector onto the pads. Step 3 - Solder the jumper to lead the circuit to the new antenna. Left without the jumper, right with jumper in place. That s it! Enjoy your TTN Uno.!10