Using interrupts with an LDR (pro min)
-
Hi all,
I want to use an analog LDR to detect when my mailbox is opened and I want to run it on batteries. Hence I would like to wake only on sensor detection. The pro mini only has digital interrupt pins (not sure how analog would work anyways - thresholds?) - Anyone know any way of setting this up? I know I could use reed switches etc but I'm curious about this now!
Thanks!
-
@shabba Why not use the LDR on a digital interrupt ? LDR should be able to swing the voltage enough to trigger a state change.
-
@maltimus Because on a dark day I was concerned this would not be enough to trigger. I intend to test it though!
1 out of 3
Suggested Topics
-
Over the air updates
General Discussion • 23 Mar 2014, 21:38 • ToSa 1 Mar 2015, 11:21 -
Best time of year to buy higher quality small project solar panels?
Hardware • 10 Jun 2021, 19:19 • NeverDie 30 Aug 2024, 14:01 -
Sleep mode for bmp280
Hardware • 20 Feb 2018, 13:24 • fishermans 5 Feb 2024, 18:30 -
Arduino Nano Every problem
Hardware • 1 Feb 2020, 09:18 • hakha4 5 Dec 2023, 02:21 -
hlk-pm01 are to noisy for rfm69?
Hardware • 5 Aug 2023, 21:16 • Tmaster 9 Aug 2023, 16:28 -
Sensor to detect marijuana vape/smoke
Hardware • 21 Jan 2025, 06:36 • Hellmark 25 Feb 2025, 20:56