Search found 2 matches
- Thu Dec 07, 2023 9:34 am
- Forum: General Discussion
- Topic: Heltec Lora32 V2 - Sending LoRa message is making my pin HIGH ?!
- Replies: 1
- Views: 3152
Re: Heltec Lora32 V2 - Sending LoRa message is making my pin HIGH ?!
Here is my code with Lora transmissions commented out: #include <SPI.h> #include <LoRa.h> int counter = 0; #define SS 18 #define RST 14 #define DI0 26 #define BAND 433E6 #define PIR_PIN 2 //logic config #define SECONDS_DELAY_BETWEEN_DETECTIONS 10 #define SECONDS_DELAY_BETWEEN_KEEP_ALIVE 10 //60 void...
- Wed Dec 06, 2023 6:06 pm
- Forum: General Discussion
- Topic: Heltec Lora32 V2 - Sending LoRa message is making my pin HIGH ?!
- Replies: 1
- Views: 3152
Heltec Lora32 V2 - Sending LoRa message is making my pin HIGH ?!
Hi, I’m trying to crate a Lora PIR sensor using HC-SR501 module and Heltec Lora 32 v2 (EU433). I connected the PIR to groung, 3v3 and GPIO13. I am able read the pin state. Cool. Then I added some timer-based limits and actions (i.e. notify motion detected not often that 20secs, send keepAlive each 3...