ML8511 UV sensor
Moderators: grovkillen, Stuntteam, TD-er
ML8511 UV sensor
Unit ML8511 is a reasonably priced UV sensor.
Can I hook this up to a NodeMCU?
If not, any chance of getting this supported in EasyESP?
Can I hook this up to a NodeMCU?
If not, any chance of getting this supported in EasyESP?
Re: ML8511 UV sensor
The ML8511 provides an analog output, so you can connect it to any of the supported A/D converters. Depending on which you choose you might need a voltage divider (two resistors). The characteristic is pretty linear, so you can use the formula to convert from voltage to UV index. See page 4 of https://cdn.sparkfun.com/datasheets/Sen ... 3-8-13.pdfmanjh wrote:Unit ML8511 is a reasonably priced UV sensor.
Can I hook this up to a NodeMCU?
If not, any chance of getting this supported in EasyESP?
What kind of enclosure do you plan to use for the ML8511? More or less all transparent materials blocks UV light
- Jan
Jan Chrillesen, Denmark
Re: ML8511 UV sensor
Jan,
I haven't really thought about this yet. I bought a couple of these units just for fun, along with several other sensors.
So I even don't have a clue yet on how to interpret the output. Will see when I get there.
OK, so I can simply hook it up to a NodeMCU.
Then in EasyESP, select which sensor?
And in Domoticz, I assume use a virtual sensor selecting "UV"?
Do you have a suggestion for the enclosure?
I haven't really thought about this yet. I bought a couple of these units just for fun, along with several other sensors.
So I even don't have a clue yet on how to interpret the output. Will see when I get there.
OK, so I can simply hook it up to a NodeMCU.
Then in EasyESP, select which sensor?
And in Domoticz, I assume use a virtual sensor selecting "UV"?
Do you have a suggestion for the enclosure?
Re: ML8511 UV sensor
The simplest solution is to use the internal ADC that's supported without additional A/D's. You need a voltage divider to bring the level down, since the ML8511 outputs ~3V at max UV and the internal ADC only goes to 1.024V. So if you reduce 3:1 you will see 0.1V at UV index 0 and 1V at 10. I haven't checked what kind of UV sensors domoticz support, but I'm sure there's onemanjh wrote:Jan,
I haven't really thought about this yet. I bought a couple of these units just for fun, along with several other sensors.
So I even don't have a clue yet on how to interpret the output. Will see when I get there.
OK, so I can simply hook it up to a NodeMCU.
Then in EasyESP, select which sensor?
And in Domoticz, I assume use a virtual sensor selecting "UV"?
Do you have a suggestion for the enclosure?
Jan Chrillesen, Denmark
Re: ML8511 UV sensor
Sorry that i break in...
Only i do have a other Uv sensor.
And i wil get this working in Domoticz and ESP to..
So i hope this is no problem..
My sensor:
http://www.ebay.com/itm/321971504239?_t ... EBIDX%3AIT
Whit a pinout of:
Just connect the ground and the power i understand.
Only the other 2 or 3?
In Domoticz did a make a uv sensor: With the idx:
4448
What type sensor i must make in the ESP.
And what are the wire/pins that i can/must use..
I think:
[ why can i upload just 1 picture? ]
SDA:
SCL:
In my ESP
And is it possible to set this sensor in vertical position?
Ps..
For the enclosure...
There is uv open material..... like the zonnebank....
Only i do have a other Uv sensor.
And i wil get this working in Domoticz and ESP to..
So i hope this is no problem..
My sensor:
http://www.ebay.com/itm/321971504239?_t ... EBIDX%3AIT
Whit a pinout of:
Just connect the ground and the power i understand.
Only the other 2 or 3?
In Domoticz did a make a uv sensor: With the idx:
4448
What type sensor i must make in the ESP.
And what are the wire/pins that i can/must use..
I think:
[ why can i upload just 1 picture? ]
SDA:
SCL:
In my ESP
And is it possible to set this sensor in vertical position?
Ps..
For the enclosure...
There is uv open material..... like the zonnebank....
Re: ML8511 UV sensor
For the moment this sensor is useless with ESPEasy, because there is no plugin under device for the VEML6070.Dylantje wrote:Sorry that i break in...
Only i do have a other Uv sensor.
And i wil get this working in Domoticz and ESP to..
So i hope this is no problem..
Also in the ESPEasyPluginPlayground there is no plugin for this chip.
A plugin is needed so the ESP can talk I2C to the sensor_chip VEML6070 http://www.vishay.com/docs/84277/veml6070.pdf
I doubt very much that you yourself will make this plugin. When you are lucky in future someone will write a plugin.
For simplicity you better buy yourself a simple UV_sensor module like this one: http://www.aliexpress.com/item/GUVA-S12 ... fa49ad77ab
This has a UV detector diode whose tiny output current is buffered with a opamp that converts it to a usable analogue voltage output so ESPEasy will have no problem with reading it.
Re: ML8511 UV sensor
When i get this sensor...
What "module" do i need in the ESP?
Just the analog, shows no pin? And i d'not now what to to use in that way
What "module" do i need in the ESP?
Just the analog, shows no pin? And i d'not now what to to use in that way
Re: ML8511 UV sensor
Dear all.
other sensor in the house...
http://www.ebay.com/itm/221534090900?_t ... EBIDX%3AIT
Will give a try..
Only what pin do i need??? can i use?
other sensor in the house...
http://www.ebay.com/itm/221534090900?_t ... EBIDX%3AIT
Will give a try..
Only what pin do i need??? can i use?
Re: ML8511 UV sensor
Left one is plus, middle data DC 0-1V, right the minus pin. Operating Voltage: DC 3-5V
Re: ML8511 UV sensor
Ok..
Only what device must i select in the esp
Only what device must i select in the esp
Re: ML8511 UV sensor
ManS-H wrote:https://www.mysensors.org/build/uv
It have a analog output, so what do you think of Analog input?
Thanks..
Only... Then???
Re: ML8511 UV sensor
Did you measure the output with a multimeter? what do you read then?
Re: ML8511 UV sensor
mmmm
Nope i am a domboo..
I build houses.... no sensors....
Sorry
Nope i am a domboo..
I build houses.... no sensors....
Sorry
Re: ML8511 UV sensor
Please some one??
What module do i need to use in the Espeasy
What module do i need to use in the Espeasy
Re: ML8511 UV sensor
Guys....
Please..
Did it....
God find the A0 pin wher i do have to put the dat from the Ssensor...
Only now is killing the data my dummy sensor in Domotcz.. Try first 1 and then a second...
Is this a Domoticz issue or a Esp?
Please..
Did it....
God find the A0 pin wher i do have to put the dat from the Ssensor...
Only now is killing the data my dummy sensor in Domotcz.. Try first 1 and then a second...
Is this a Domoticz issue or a Esp?
Re: ML8511 UV sensor
Can some one please tell me what data is sending the ESP to domoticz?
In what format?
The format should be:
UV;TEMP (10.2;18.5) or without temp: 10.2;0
I do not understand this,some one?
In what format?
The format should be:
UV;TEMP (10.2;18.5) or without temp: 10.2;0
I do not understand this,some one?
Re: ML8511 UV sensor
The output from the ESP is i think not compatible with Domoticz...
Is there option that the "Module" can work with this sensor icw Domoticz?
The lux is working great...Is there option that the "Module" can work with this sensor icw Domoticz?
Re: ML8511 UV sensor
i followed the link from the first post,
mentioned there, that the sensor could work with 3.3 volt, but the user used a formula for the analog input:
uv = uv * (3300 / 1023.0); // millivolts
so you have to use a formula on the analog input, i guess...??
http://www.esp8266.nu/index.php/EasyFormula
(i never did this on the easeasy, so you have to try yourself...=
mentioned there, that the sensor could work with 3.3 volt, but the user used a formula for the analog input:
uv = uv * (3300 / 1023.0); // millivolts
so you have to use a formula on the analog input, i guess...??
http://www.esp8266.nu/index.php/EasyFormula
(i never did this on the easeasy, so you have to try yourself...=
Re: ML8511 UV sensor
.tozett wrote:i followed the link from the first post,
mentioned there, that the sensor could work with 3.3 volt, but the user used a formula for the analog input:
uv = uv * (3300 / 1023.0); // millivolts
so you have to use a formula on the analog input, i guess...??
http://www.esp8266.nu/index.php/EasyFormula
(i never did this on the easeasy, so you have to try yourself...=
mmmm
Should that be the solution....
I give it a try.
Only what is the good formula?
For Domoticz should this be the input:
UV;TEMP (10.2;18.5) or without temperature: 10.2;0
Only i do not have anything with math....
Re: ML8511 UV sensor
you should really measure the resistance of the module with a multimeter,
to see the values, the analog-input reads in.
than use a formula on the ESPeasy analog-input, to have correct values to send to domotics..
good luck!
to see the values, the analog-input reads in.
than use a formula on the ESPeasy analog-input, to have correct values to send to domotics..
good luck!
Who is online
Users browsing this forum: No registered users and 59 guests