Alarm generator, transmitter side
radio chip selection
Radio chip driver is not included, allowing choice of radio device.
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 SX1280, then import sx1280 driver into your program.
If you're using NAmote72 or Murata discovery, then you must import only sx127x driver.
This is transmitter project; Receiver side is Alarm Slave project.
This project generates alarm (transmits) from grounding certain pins.
To find the actual pins used, refer to the code where pin[A-D]
is declared as DigitalIn
.
Alarm message is sent N times with future timestamp indicating when alarm is to occur. This accommodates dropped packets, resulting in alarm occurring when as few as 1 packet is received.
Changes
Revision | Date | Who | Commit message |
---|---|---|---|
7:ccb3088ce5be | 2018-07-18 | Wayne Roberts |
use sx12xx_hal |
6:59ba1113b3c6 | 2018-02-12 | Wayne Roberts |
MOTE_L152RC set pd2 high |
5:1652e04809fb | 2018-02-05 | Wayne Roberts |
add target MOTE_L152RC |
4:19056d9707ef | 2018-01-29 | dudmuck | set OCP for +20dBm out |
3:d8b57eca8c45 | 2018-01-26 | dudmuck | support DISCO-L072CZ-LRWAN |
2:0b7620bda2c9 | 2017-09-01 | dudmuck | add +20dBm option |
1:3199506bc2e5 | 2017-08-31 | dudmuck | use 4 input pins |
0:cb38da4f4b04 | 2017-08-22 | dudmuck | initial commit |