Search found 2 matches
- Thu Jul 22, 2021 10:13 am
- Forum: ESP32 boards
- Topic: PIR interrupt and send
- Replies: 3
- Views: 1591
Re: PIR interrupt and send
Thank yo for reply. That code you suggested also somehow didn't work. Maybe I implemented wrong. But thank you for the time.ticks_diff() ... However if I use sleep everything work fine sth like this elif motion: print('motion detected') motion= 1 request = urequests.get('https://api.asksensors.com/w...
- Thu Jul 22, 2021 3:40 am
- Forum: ESP32 boards
- Topic: PIR interrupt and send
- Replies: 3
- Views: 1591
PIR interrupt and send
Hello, I am novice to micropython as well as to programming. I have to write a program with esp32 where it connects to dht sensor and a pir sensor, then sends data to asksensor. The dht data is updated every 10 minutes while PIR should send data as soon as motion is detected(interrupt) and set to ze...