TEMT6000 Light/Lux sensor supported?

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
burton666
Normal user
Posts: 11
Joined: 02 Dec 2016, 19:52

TEMT6000 Light/Lux sensor supported?

#1 Post by burton666 » 02 Dec 2016, 19:56

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

joeshmoe
Normal user
Posts: 1
Joined: 18 May 2017, 02:35

Re: TEMT6000 Light/Lux sensor supported?

#2 Post by joeshmoe » 18 May 2017, 02:42

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.

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

Re: TEMT6000 Light/Lux sensor supported?

#3 Post by grovkillen » 18 May 2017, 09:08

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:
Image

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.

Image

Image
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:

TommySharp
Normal user
Posts: 19
Joined: 20 Oct 2017, 14:30

Re: TEMT6000 Light/Lux sensor supported?

#4 Post by TommySharp » 28 Oct 2017, 11:27

Anyone had a go at getting one of the TEMT6000 sensors working?

Tommmii
Normal user
Posts: 37
Joined: 06 Apr 2018, 12:37

Re: TEMT6000 Light/Lux sensor supported?

#5 Post by Tommmii » 15 Apr 2018, 15:39

yes, i am :p :?

riker1
Normal user
Posts: 333
Joined: 26 Dec 2017, 18:02

Re: TEMT6000 Light/Lux sensor supported?

#6 Post by riker1 » 05 Jan 2019, 14:35

Tommmii wrote: 15 Apr 2018, 15:39 yes, i am :p :?
Hi

and how?
which settings did you use?

Thanks

Shardan
Normal user
Posts: 1156
Joined: 03 Sep 2016, 23:27
Location: Bielefeld / Germany

Re: TEMT6000 Light/Lux sensor supported?

#7 Post by Shardan » 05 Jan 2019, 20:42

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.
Regards
Shardan

Tommmii
Normal user
Posts: 37
Joined: 06 Apr 2018, 12:37

Re: TEMT6000 Light/Lux sensor supported?

#8 Post by Tommmii » 05 Jan 2019, 22:20

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 11 guests