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!
3 out of 3
Suggested Topics
-
Over the air updates
General Discussion • 23 Mar 2014, 21:38 • ToSa 1 Mar 2015, 11:21 -
Arduino Nano Every problem
Hardware • 1 Feb 2020, 09:18 • hakha4 5 Dec 2023, 02:21 -
"Remote Irrigation with LoRaWAN: LM27313 Challenges and PCB Design"
Hardware • 24 Jan 2024, 23:06 • wrendral 3 Feb 2024, 07:13 -
Sleep mode for bmp280
Hardware • 20 Feb 2018, 13:24 • fishermans 5 Feb 2024, 18:30 -
Sensors and more
Hardware • 19 Jun 2023, 00:41 • Robert Leverett 19 Jun 2023, 00:41 -
Newbie questions
Hardware • 14 Feb 2025, 20:03 • magwas 14 Feb 2025, 20:03