+ All Categories
Home > Documents > Easy LoRa Workshop 1 - Duy Tan University

Easy LoRa Workshop 1 - Duy Tan University

Date post: 11-Mar-2022
Category:
Upload: others
View: 2 times
Download: 0 times
Share this document with a friend
33
Easy LoRa Workshop 1 Configure, Compile and Code
Transcript

Easy LoRa Workshop 1 Configure, Compile and Code

Agenda

1. Easy LoRa group

2. LoRa and our opportunities

3. Easy LoRa hardware

4. Easy LoRa source code

5. Hand-on lab

2

Easy LoRa gateway = EASY + Open source

3

1. Easy LoRa group

4

Easy LoRa group

• Founded on 27 April 2018

• Founders – Kevin Le:

• HCMC University of Technology (MT00)

• National University of Singapore (2005, 2008): Master / Bachelor of Computing

• RHCE, VMware VCI

• Optimum .vn

– Cuong Bui • HCMC University of Technology

• CloudFERMI.com

5

Roadmap – To be finalized

• June 2018: Easy LoRa gateway – Developer edition

– Combo of Easy LoRa gateway and node. 3D cases are included.

• July 2018: Get funding

– Crowd funding? Angels?

• Aug 2018: Finalized the requirement

– Functionalities, LoRa stack…

• Dec 2018: Easy LoRa gateway – Standard edition

– For SME and home-users

6

Easy LoRa group

• Initial “registered” contributors: 17 people

– Industry advisors, engineers, students and lecturers.

– Vietnam and USA

• 840 Facebook group members

– https://www.facebook.com/groups/iotthinks

• Events:

– Meetup 1: 19/05/2018

– Workshop 1: 02/06/2018

7

2. LoRa and our opportunities

8

What is LoRa?

• LoRa is Long Range

– By Semtech 2012

– 169 Mhz, 433 Mhz and 868 Mhz

9

Why LoRa?

• It’s just a technology!

10

Why LoRa?

• We could choose again?

11

LoRa vs. LoRaWAN

• LoRaWAN is built on top of LoRa

– For country-wide network for IoTs

12

Opportunities

• Business: Commercialize combo of long range IoTs

– Home users, residential houses, buildings and firms and farming areas.

• Technical: The gateway is to communicate with IoTs within 1-10km.

– Control all IoTs in long ranges

13

Very huge market

14

And huge money

15

Easy LoRa group

• Easy LoRa Gateway is an OPEN SOURCE and easy-to-use LoRa Gateway to connect all types of sensors within 1-10km for home and small business users.

16

Why join us?

• No company could win this battle alone.

– Vietnam?

• A community “may” help

– To spin off many startups to join the eco-system.

– To create the market

• We want a small portion of a bigger cake.

• YOU can sell your own gateway with the source code, too.

17

3. Easy LoRa hardware

18

Easy LoRa gateway

• CloudFermi SOM-ESP32-3

– ESP32, LAN, WiFi, SD, LoRa SX1278

19

Main features

• Ability to receive and transmit Lora packets (single channel)

• Ability to forward Lora messages to a MQTT centralized servers

• Ability to trigger HTTP requests via Ethernet.

• Ability to save information to SD Card.

• Ability to be cloud managed

• Ability to display a local web server for basic configuration of all the above.

20

Easy LoRa node

• Heltec WiFi LoRa 32

– ESP32, WiFi, BLE, LoRa SX1278, GPIO, battery…

– Sensors?

– Send messages to LoRa gateway

21

4. Easy LoRa source code

22

Source code

• Easy in Arduino’s style

– Why Arduino? EASY

– May be different in Enterprise edition

• Open source

– https://github.com/IoTThinks/EasyLoraGateway

23

Code structure for gateway

24

Sample code for Easy LoRa node

• You can use node as sensors

• Not main focus of the project

25

5. Hand-on lab

26

Lab resources

• Everything is in github

– https://github.com/IoTThinks/EasyLoraGateway/wiki

• Need help?

– https://www.facebook.com/groups/iotthinks

27

Labs – Easy LoRa gateway

• Lab 1: Connect all hardwares https://github.com/IoTThinks/EasyLoraGateway/wiki/Connecting-to-Easy-LoRa-Gateway

• Lab 2: Setup Arduino IDE and ESP32 https://github.com/IoTThinks/EasyLoraGateway/wiki/Setup-Arduino-IDE-and-ESP32

• Lab 3: Compile Easy LoRa Gateway https://github.com/IoTThinks/EasyLoraGateway/wiki/Compile-Easy-LoRa-Gateway

28

Demo

• Easy LoRa node

– To broadcast “Hello” message.

• Easy LoRa gateway

– To forward messages to MQTT servers https://shiftr.io/vinhdat82/easyloragateway

29

Demo - MQTT

30

Demo – Web server

31

Easy LoRa gateway = EASY + Open source

32

Join US at IoTThinks

https://www.facebook.com/groups/iotthinks

33


Recommended