TEMT6000 Light/Lux sensor supported?
Moderators: grovkillen, Stuntteam, TD-er
TEMT6000 Light/Lux sensor supported?
I just got a couple of TEMT6000 lightsensors from ebay and wonder if they can be used with esp easy? How do I connect/configure in that case?
https://learn.sparkfun.com/tutorials/te ... okup-guide
https://learn.sparkfun.com/tutorials/te ... okup-guide
Re: TEMT6000 Light/Lux sensor supported?
I've got the same question. It works as "analog input", but it's not very sensitive. Without a light shining directly on it I get a reading of 0.
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: TEMT6000 Light/Lux sensor supported?
I recommend the use of a analog photosensitive resistor (photoresistor). I got some that I use around the house and though it is not giving you Lux it do give you a 0-3.3V input of the level of light. If I close my hand around the resistor the voltage drops to about 0.65V and for direct sunlight or a bright lamp the voltage is about 3.26V (32752 in formula, see below). I use the analog input device ADS1115 (which I use for other analog devices as well) and have this settings:

The formula gives me a percentage of about 18-20% at night (it will never hit 0% since it will always be some voltage over the resistor) and on an average day or lighting the percentage is about 82-85%. During the day the voltage rise is relatively linear and I will get values evenly from the lowest 18% up to highest 85%. I'm happy with the unit, it is cheap, reliable and easy to integrate. I will try to make a wiki page for it asap. Many units only have a digital out and a potentiometer to set the trigger level for the output but I prefer using a unit with also an analog out which gives you better control over the behavior. This is the unit in the pictures below. But I also got this one.



The formula gives me a percentage of about 18-20% at night (it will never hit 0% since it will always be some voltage over the resistor) and on an average day or lighting the percentage is about 82-85%. During the day the voltage rise is relatively linear and I will get values evenly from the lowest 18% up to highest 85%. I'm happy with the unit, it is cheap, reliable and easy to integrate. I will try to make a wiki page for it asap. Many units only have a digital out and a potentiometer to set the trigger level for the output but I prefer using a unit with also an analog out which gives you better control over the behavior. This is the unit in the pictures below. But I also got this one.


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

ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you



-
- Normal user
- Posts: 19
- Joined: 20 Oct 2017, 14:30
Re: TEMT6000 Light/Lux sensor supported?
Anyone had a go at getting one of the TEMT6000 sensors working?
Re: TEMT6000 Light/Lux sensor supported?
yes, i am :p 

Re: TEMT6000 Light/Lux sensor supported?
It's an analog sensor so it gives a voltage that follows the brightness.
You may use the analog input plugin.
With a bare ESP8266 it might need a voltage divider as the input should be in the range of 0....1 V.
On WeMOS and NoceMCU this voltage dividere is already there in most cases.
You may use the analog input plugin.
With a bare ESP8266 it might need a voltage divider as the input should be in the range of 0....1 V.
On WeMOS and NoceMCU this voltage dividere is already there in most cases.
Regards
Shardan
Shardan
Re: TEMT6000 Light/Lux sensor supported?
i used it with an ESP32, in the end the TEMP6000 isn't very reliable.
I moved over to a MH LDR like this one : https://www.ebay.co.uk/itm/Flying-Fish- ... 2015870724
Much easier to connect, more reliable.
I moved over to a MH LDR like this one : https://www.ebay.co.uk/itm/Flying-Fish- ... 2015870724
Much easier to connect, more reliable.
Who is online
Users browsing this forum: No registered users and 13 guests