ArduinoGeneral

SEN 0189 Turbidity sensor.

userHead park.2031 2017-02-09 02:58:06 6623 Views19 Replies
I currently bought a SEN0189 turbidity sensor and used by uploading a example code which is

void setup() {
Serial.begin(9600); //Baud rate: 9600
}
void loop() {
int sensorValue = analogRead(A0);// read the input on analog pin 0:
float voltage = sensorValue * (5.0 / 1024.0); // Convert the analog reading (which goes from 0 - 1023) to a voltage (0 - 5V):
Serial.println(voltage); // print out the value you read:
delay(500);
}

I think my connections are all good but when I measure the turbidity of a tap water, it gives me voltage value of 1.8V When it has to give me around 4 V since the turbidity of tap water should be lower than 5NTU. I'm working on a school project and this is kind of a desperate situation to me. Can anybody help?
2018-04-28 14:04:58 This sensor can't be used to detect the density of spirulina, it can just be used to test the turbidity of the pond. userHeadPic robert.chen
2018-04-28 14:04:58 This sensor can't be used to detect the density of spirulina, it can just be used to test the turbidity of the pond. userHeadPic robert.chen
2018-04-23 11:37:22 Hello. Pls tell me if this Sensor can be used for detecting the density of spirulina in the pond? Thanks. userHeadPic ngocquanghn
2018-04-23 11:37:22 Hello. Pls tell me if this Sensor can be used for detecting the density of spirulina in the pond? Thanks. userHeadPic ngocquanghn
2018-04-22 03:17:04 Hi, I'm try to use the equation you put in the turbidity sensor wiki. I'm pretty sure it doesn't reflect the relationship between NTU and voltage showed at DFrobots video (https://www.youtube.com/watch?v=POsJc-tM2ZI)

I would like to ask you guys to put in your wiki something more complete and didactic (not indicate) how to convert voltage to NTU and how to calibrate your sensor, cause do that it is not a easy task and not everyone who is buying your sensor are experts.

To get the points you show in the video with the equation yout provide, I have to get these voltage values on the arduino analog input:
0.5 NTU = 4.20011 Volts. Font:<http://www.wolframalpha.com/input/?i=(- ... 52.9%3D0.5>
50 NTU = 4.18656 Volts. Font:<http://www.wolframalpha.com/input/?i=(- ... 352.9%3D50>
500 NTU = 4.0578 Volts. Font:<http://www.wolframalpha.com/input/?i=(- ... 52.9%3D500>

Pretty different from yours:
0.5 NTU = 4.21 Volts
50 NTU = 4.1 Volts
500 NTU = 3.27 Volts
userHeadPic paulorenatoxs
2018-04-22 03:17:04 Hi, I'm try to use the equation you put in the turbidity sensor wiki. I'm pretty sure it doesn't reflect the relationship between NTU and voltage showed at DFrobots video (https://www.youtube.com/watch?v=POsJc-tM2ZI)

I would like to ask you guys to put in your wiki something more complete and didactic (not indicate) how to convert voltage to NTU and how to calibrate your sensor, cause do that it is not a easy task and not everyone who is buying your sensor are experts.

To get the points you show in the video with the equation yout provide, I have to get these voltage values on the arduino analog input:
0.5 NTU = 4.20011 Volts. Font:<http://www.wolframalpha.com/input/?i=(- ... 52.9%3D0.5>
50 NTU = 4.18656 Volts. Font:<http://www.wolframalpha.com/input/?i=(- ... 352.9%3D50>
500 NTU = 4.0578 Volts. Font:<http://www.wolframalpha.com/input/?i=(- ... 52.9%3D500>

Pretty different from yours:
0.5 NTU = 4.21 Volts
50 NTU = 4.1 Volts
500 NTU = 3.27 Volts
userHeadPic paulorenatoxs
2018-04-09 15:42:38 What's the result you got? userHeadPic robert.chen
2018-04-09 15:42:38 What's the result you got? userHeadPic robert.chen
2018-04-07 21:15:45 Hi all, I got the same problem here :cry: I did check the wiring and all, but still didn't work out. Can anybody help ? :cry: userHeadPic r.d.palupii
2018-04-07 21:15:45 Hi all, I got the same problem here :cry: I did check the wiring and all, but still didn't work out. Can anybody help ? :cry: userHeadPic r.d.palupii
2018-01-05 13:52:34 Do you check the wiring? You need to pay attention to the wire between the probe and the adaptor userHeadPic robert.chen
2018-01-05 13:52:34 Do you check the wiring? You need to pay attention to the wire between the probe and the adaptor userHeadPic robert.chen
2018-01-05 00:26:29 Hi all, I am having the exactly same problem. Can someone help out? userHeadPic cgimenest
2018-01-05 00:26:29 Hi all, I am having the exactly same problem. Can someone help out? userHeadPic cgimenest
2017-05-02 09:56:15 I have the same problem, Could you solve it by doing that? userHeadPic santiagocoria
2017-05-02 09:56:15 I have the same problem, Could you solve it by doing that? userHeadPic santiagocoria
2017-02-09 15:47:41 Hi Sir,

Maybe we can try this method: there is a potentiometer on the circuit board in the box, as shown below. Try to open the box, then adjust the potentiometer to see if you can get a correct value.
[attachment=0]QQ图片20170209153920.png[/attachment]
In addition, this sensor is only a qualitative sensor, its a little difficult to get a relatively accurate value.
userHeadPic Wendy.Hu
2017-02-09 15:47:41 Hi Sir,

Maybe we can try this method: there is a potentiometer on the circuit board in the box, as shown below. Try to open the box, then adjust the potentiometer to see if you can get a correct value.
[attachment=0]QQ图片20170209153920.png[/attachment]
In addition, this sensor is only a qualitative sensor, its a little difficult to get a relatively accurate value.
userHeadPic Wendy.Hu
2017-02-09 02:58:06 I currently bought a SEN0189 turbidity sensor and used by uploading a example code which is

void setup() {
Serial.begin(9600); //Baud rate: 9600
}
void loop() {
int sensorValue = analogRead(A0);// read the input on analog pin 0:
float voltage = sensorValue * (5.0 / 1024.0); // Convert the analog reading (which goes from 0 - 1023) to a voltage (0 - 5V):
Serial.println(voltage); // print out the value you read:
delay(500);
}

I think my connections are all good but when I measure the turbidity of a tap water, it gives me voltage value of 1.8V When it has to give me around 4 V since the turbidity of tap water should be lower than 5NTU. I'm working on a school project and this is kind of a desperate situation to me. Can anybody help?
userHeadPic park.2031