Add new sensor (Ambient Light Sensor - VEML6030)

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
knighToFdemonS
New user
Posts: 8
Joined: 23 Mar 2024, 16:44

Add new sensor (Ambient Light Sensor - VEML6030)

#1 Post by knighToFdemonS » 24 Apr 2024, 14:27

Can you add support for the VEML6030 Light Sensor?
You can find the library here: https://github.com/sparkfun/SparkFun_Am ... no_Library
(the lowpower/sleep-mode is not important)

I know its not as easy as the Adafruit-Sensor.

Thank you in advance!

User avatar
Ath
Normal user
Posts: 3542
Joined: 10 Jun 2018, 12:06
Location: NL

Re: Add new sensor (Ambient Light Sensor - VEML6030)

#2 Post by Ath » 24 Apr 2024, 14:52

What's special about this sensor that you can't get from either the already supported VEML6040, VEML6070 or VEML6075 ?
/Ton (PayPal.me)

knighToFdemonS
New user
Posts: 8
Joined: 23 Mar 2024, 16:44

Re: Add new sensor (Ambient Light Sensor - VEML6030)

#3 Post by knighToFdemonS » 25 Apr 2024, 10:33

Thank you, ive added the plugins to my build but after trying these sensor-configs, i noticed they only have address 0x10/0x11 available (i'd have to bridge the pins to change the address to 0x10, default is 0x48).
And 2nd, one is a sensor for rgb-color and the other one is a UVA/UVB sensor...but my sensor is a luxmeter. they all return different values, so i guess i cannot use any of the suggested sensors.

User avatar
Ath
Normal user
Posts: 3542
Joined: 10 Jun 2018, 12:06
Location: NL

Re: Add new sensor (Ambient Light Sensor - VEML6030)

#4 Post by Ath » 25 Apr 2024, 11:04

Ah, I got the impression you could calculate the lux from available values, but that's not the case.

I've ordered a VEML7700, that appears to be compatible in lux range with the VEML6030 but is quite a bit cheaper :?, and have to check specs if they are also (fully) software-compatible.
Any reason for using a VEML6030 over a VEML7700? (At quick glance the specs seem quite compatible)

Don't understand what you are trying to say about I2C addresses, as that requirement is determined by the sensor, not by the driver, and the plugin usually supports what is available on the sensor side.
/Ton (PayPal.me)

knighToFdemonS
New user
Posts: 8
Joined: 23 Mar 2024, 16:44

Re: Add new sensor (Ambient Light Sensor - VEML6030)

#5 Post by knighToFdemonS » 25 Apr 2024, 11:15

Looks compatible, yeah. Just raw ambient light and lux.
No particular reason, just grabbed the first lux-sensor on a breakout board (by sparkfun) while i was ordering other stuff. Yes, i should have done more research in advance.

sorry, i was just saying that the default-address was not available from any of the other sensor-plugins.

(im trying to create a new sensor and do it myself :? but ive just managed to create my own build, so dont bank on me)

thank you for your help!

User avatar
Ath
Normal user
Posts: 3542
Joined: 10 Jun 2018, 12:06
Location: NL

Re: Add new sensor (Ambient Light Sensor - VEML6030)

#6 Post by Ath » 25 Apr 2024, 22:55

We already have 3 Light/Lux sensors supported, P010 - BH1750, P015 - TSL2561 and P074 - TSL2591. Only P015 has RTD documentation available, and P010 has the old Wiki docs available.
They don't have a max. lux range comparable to the VEML6030/VEML7700 but are fine sensors, and are available in nearly all ESPEasy builds.
/Ton (PayPal.me)

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests