Detect LED

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
crazynight
Normal user
Posts: 14
Joined: 23 Oct 2018, 09:04

Detect LED

#1 Post by crazynight » 27 Oct 2018, 00:32

Looking to detect if an LED is illuminated or not, will server several purposes from the boiler to the alarm system, neither are smart as yet so want to just log are they on or not so I can start building patterns with relation to the house heat ready for when we upgrade to smart devices.

I know a photoresistor should work but just can't get it sorted out any suggestions or alternatives welcome.

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: Detect LED

#2 Post by grovkillen » 27 Oct 2018, 08:29

If you use one of these modules you can use the potentiometer to adjust the level of light that will trigger the digital pin. Then you can use it as a switch input.

http://s.click.aliexpress.com/e/zD5hcIk
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 113 guests