Arduino-Pro-Mini-LoRa-Sensor-Node icon indicating copy to clipboard operation
Arduino-Pro-Mini-LoRa-Sensor-Node copied to clipboard

Feature Request: Interrupt DoorSwitch (Alarm System) --> Fire a LoRa Package immediatly

Open CK1-CK opened this issue 2 years ago • 0 comments

Servus,

Ich möchte deinen Code benutzen um eine Tür Alarmanlage zu bauen. Der Türschalter soll an Pin 3 (Interrupt Pin) ausgelesen werden. Ich bin mir allerdings unsicher, wie ich das planen der Lora Pakete machen soll bzw. den PowerDown umgehe. Stromverbrauch ist bei mir nicht wichtig, da ich an einem 5V Netzeil hänge.

  • Ich möchte alle 5 min einen Watchdog senden.
  • Sobald der Türschalter auslöst, soll sofort ein TTN Lora Paket verschickt werden.

Wie kann man das am Besten umsetzen.

Vielen Dank schon im Voraus. CK1


Hi,

I would like to use your code to build a door alarm system. The door switch is to be read out at pin 3 (interrupt pin). However, I am unsure how to plan the Lora packages and how to avoid the PowerDown. Power consumption is not important for me, as I am connected to a 5V power supply.

  • I would like to send a watchdog every 5 minutes.
  • As soon as the door switch is triggered, a TTN Lora packet should be sent immediately.

What is the best way to implement this?

Many thanks in advance. CK1

CK1-CK avatar Mar 25 '22 09:03 CK1-CK