LoRa IL-LORA1272
iFrogLab IL-LORA1272 LoRa Ultra Long Range Transceiver 15 Km
iFrogLab Lora 868/900/915 MHz SX1272 module compatible
Features:
- Frequency Range: 868/900/915MHz
- Modulation: FSK/GFSK/MSK/LoRa
- SPI Data Interface Sensitivity: -137dBm
- Output Power: +20dBm Data Rate: <300 kbps 127dB dynamic Range RSSI Excellent blocking immunity Preamble detection Automatic RF sense and CAD monitor Built-in bit synchronizer for clock recovery Packet engine up to 256 bytes with CRC
- Working Temperature: -40°C ~+80°C Build-in temperature sensor
- Standby current: ≤ 1uA
- Supply voltage: 1.8~3.6V
iL-LORA1272 is a type of low cost RF front-end transceiver module based on SX1272 from Semtech Corporation. It keeps the advantages of RFIC SX1272 but simplifies the circuit design. The high sensitivity (-137dBm) in LoRa modulation and 20dBm high power output make the module suitable for low range and low data rate applications.
iL-LORA1272 module consists of RFIC SX1272 and include powerful MCU, thin SMD crystal and antenna matching circuit. The antenna port is well matched to standard 50 Ohm impedance. Users don’t need to spend time in RF circuit design and choose suitable antennas for different applications. iL-LORA1272 operates at 1.8~3.6V with extra low standby current which makes it suitable for battery powered-up applications. Because iL-LORA1272 is purely hardware module and it adopts ±10ppm crystal which the resolution of it places a important role in calculating spreading factor, bandwidth, etc.
In addition, We’er add powerful MCU to help Users that don’t needs to read the datasheet of SX1272, you just go through UART to control this module and will easy to use the module in the best performance.
Document
PPT download here
UART data spec PDF here
Application Note Here
Source Code
github download
Demo and tutorial:
LoRa on PC
LoRa on Arduino
Document
PPT download here
Data sheet Here.
iFrogLab | IL-LORA1272 | |||||||||||||||||
Headr Code : | SX1272 0xC1 |
SX1276 0xC2 |
115200 | 8,n,1 | ||||||||||||||
BYTE-1 | BYTE-2 | BYTE-3 | BYTE-4 | BYTE-5 | BYTE-6 | BYTE-7 | BYTE-8 | BYTE-9 | BYTE-10 | BYTE-11 | BYTE-12 | … … | BYTE-19 | BYTE-20 | ||||
Headr Code | Command | len | Data-1 | Data-2 | Data-3 | Data-4 | Data-5 | Data-6 | Data-7 | Data-8 | Data-9 | … … | Data-16 | Data-17 | ||||
Read firmware version and Chip ID | ||||||||||||||||||
PC -> MCU | 0x80 | 0x00 | 0x00 | CRC (option) | SW Version。 | |||||||||||||
PC <- MCU | 0x80 | 0x80 | 0x02 | Chip | Version | CRC | C1:Sx1272。 | |||||||||||
Restart & initial | ||||||||||||||||||
PC -> MCU | 0xC1 0xC2 |
0x01 | 0x00 | CRC (option) | Reset (Lora Mode Default)。 | |||||||||||||
PC <- MCU | 0xC1 0xC2 |
0xAA | 0x01 | 0x55 | CRC | MCU get data, return ACK。 | ||||||||||||
Get current LoRa setting | ||||||||||||||||||
PC -> MCU | 0xC1 0xC2 |
0x02 | 0x00 | CRC (option) | RF Chip setup vaule。 | |||||||||||||
PC <- MCU | 0xC1 0xC2 |
0x82 | 0x08 | Mode | FreqH | FreqM | FreqL | Power | BW | CR | SF | CRC | Mod2 : Sleep(0x00)、StandBy(0x01)、Tx(0x02)、Rx(0x03)。 Freq : FreqH&M&L * 61.035156。 Power : 2(0x00) ~ 17(0x0F)dBm。 BW:125k(0x01)、250k(0x2)、500k(0x3)。 CR:4/5(0x1)、4/6(0x2)、4/7(0x3)、4/8(0x4)。 SF:6(0x1)、7(0x2)、8(0x3)、9(0x4)、10(0x5)、11(0x6)、12(0x7)。 |
|||||
set send/receive mode and frequence | ||||||||||||||||||
PC -> MCU | 0xC1 0xC2 |
0x03 | 0x05 | Mode | FreqH | FreqM | FreqL | Power | CRC (option) | Mod2 : Sleep(0x00)、StandBy(0x01)、Tx(0x02)、Rx(0x03)。 Freq : 860.00 ~ 1020.00MHz ; Default 915.00MHz(Sx1272)。 Power : 2(0x00) ~ 17(0x0F)dBm ; Default 2dBm。 |
||||||||
PC <- MCU | 0xC1 0xC2 |
0xAA | 0x01 | 0x55 | CRC | MCU get data, return ACK。 | ||||||||||||
Setup Lora 設定Lora參數 | ||||||||||||||||||
PC -> MCU | 0xC1 0xC2 |
0x04 | 0x03 | BW | CR | SF | CRC (option) | BW:125k(0x01)、250k(0x2)、500k(0x3) ; Default 500K CR:4/5(0x1)、4/6(0x2)、4/7(0x3)、4/8(0x4) ; Default 4/5 SF:6(0x1)、7(0x2)、8(0x3)、9(0x4)、10(0x5)、11(0x6)、12(0x7) ; Default 9 |
||||||||||
PC <- MCU | 0xC1 0xC2 |
0xAA | 0x01 | 0x55 | CRC | MCU收到資料回ACK。 | ||||||||||||
Send Data | ||||||||||||||||||
PC -> MCU | 0xC1 0xC2 |
0x05 | 0x01 ~ 0x10 | Data0 | Data1 | Data2 | Data3 | Data4 | Data5 | Data6 | Data7 | Data8 | … … | Data15 | CRC (option) | Write data。 | ||
PC <- MCU | 0xC1 0xC2 |
0xAA | 0x01 | 0x55 | CRC | MCU收到資料回ACK。 | ||||||||||||
receive Data | ||||||||||||||||||
PC -> MCU | 0xC1 0xC2 |
0x06 | 0x00 | CRC | read data | |||||||||||||
PC <- MCU | 0xC1 0xC2 |
0x86 | 0x01 ~ 0x10 | Data0 | Data1 | Data2 | Data3 | Data4 | Data5 | Data6 | Data7 | Data8 | … … | Data15 | CRC (option) | |||
Get Rssi | ||||||||||||||||||
PC -> MCU | 0xC1 0xC2 |
0x07 | 0x00 | CRC (option) | ||||||||||||||
PC <- MCU | 0xC1 0xC2 |
0x87 | 0x02 | RssiH | RssiL | CRC | Signed number。 | |||||||||||
Other | ||||||||||||||||||
PC <- MCU | 0xC1 0xC2 |
0xFF | 0x02 | num | Non | CRC | num:0 ~ 255 Error Message number。 01:Data error , 02:CRC error , 03:Dev error , 04:Mode error , 05:Busy , 06:Data Over Non:Test Fun |
|||||||||||
CRC:All Byte XOR。 Ex : Read Version command (CRC)0x80 = (0x80)XOR(0x00)XOR(0x00) ; setup 0x80 0x00 0x00 0x80 Freq : for example, if user input 915.00MHz, please convert to 915000000Hz, division 61.035156, and convert to 16 Hex 915000000 / 61.035156 = 14991360(Rounded) -> 0xE4 0xC0 0x00 |
||||||||||||||||||
iFrogLab LoRa AT Command API :
AT_lora_reset
AT_lora_rx data
AT_lora_tx data
AT_lora_freq (860-1020)
AT_lora_pwr (2-17)
AT_lora_bw (1-3)=>125,250,500K
AT_lora_cr (1-4) (6-9)
AT_lora_sf (1-7)(6-12)
AT_lora_sleep
AT_lora_standby
No Comments