LoRaWAN demo application using grove peripherals generating Cayenne LPP
radio chip selection
Radio chip driver is not included, because two options are available.
If you're using SX1272 or SX1276, then import sx127x driver into your program.
if you're using SX1261 or SX1262, then import sx126x driver into your program.
If you're using NAmote72 or Murata discovery, then you must import only sx127x driver.
Grove peripherals -> Cayenne demo
Read LoRaWAN-1.1 page for configuration instructions.
This project adds support for Murata discovery board, in addition to LoRa shields on NUCLEO boards.
Use with sx1272 shield with grove peripherals connected:
D8 D9: Button | RX TX | A3 A4: TempSense |
D6 D7: | SCL SDA : LED | A1 A2: Pot |
Button
Sends two different payload types: short press (under 1 sec)
long press: held down > 1 sec.
serial console keys
115200bps, 8N1
Enter key not used
Keys '0' to '3': cayenne channel number
'0': pot (rotary sensor)
'1': temperature
'2': digital out
'3': analog out
DevEUI configuration
For use on networks which force you to use DevEUI defined by network, comment out HardwareIDtoDevEUI()
.
HardwareIDtoDevEUI()
obtains DevEUI from the CPU unique hardware serial number. However, some networks may force you to use their DevEUI value.
Changes
Revision | Date | Who | Commit message |
---|---|---|---|
11:09556b27dbce | 2018-07-25 | Wayne Roberts |
mbed-os to branch latest |
10:4921f03a4a2e | 2018-07-25 | Wayne Roberts |
mbed-os to branch latest |
9:1a94f4a5e716 | 2018-07-23 | Wayne Roberts |
rename board.h to lorawan_board.h |
8:efe6002910df | 2018-07-23 | Wayne Roberts |
add application without VT100. Use latest lorawan library. |
7:882d2e6d3056 | 2018-05-23 | Wayne Roberts |
update to current lorawan library |
6:795461780e10 | 2018-04-11 | Wayne Roberts |
DISCO_L072CZ_LRWAN1: USER_BUTTON for sending uplinks |
5:53cd6c24a4ab | 2018-04-06 | wroberts@semtech.com | update for mbed-os-5.8 |
4:72b8fdc9878e | 2018-03-29 | Wayne Roberts |
Add sequence number to digital input channel. Jumper interrupt fired on startup if inserted. |
3:fc23bbc14475 | 2018-03-19 | Wayne Roberts |
move d8 button to ISR for deep sleep |
2:da3c8d5b3f49 | 2018-03-05 | Wayne Roberts |
update for current lorawan1v1 library |
1:3c1d13a0489e | 2018-03-01 | dudmuck | halt program if failed to initialize |
0:62e456e60083 | 2018-02-28 | Wayne Roberts |
initial commit |