FAQ about UART Non-contact Optical Turbidity Sensor 【SEN0554】
Q1: How to calculate the conversion of AD data from sensors into dirty data?
A1: There are two formats for reading data from the host. One is dirty data, which ranges from 0 to 255, and the other is AD data, which ranges from 0 to 4095. For example, if the AD data is 0X64, which is equivalent to 100 in decimal, it needs to be mapped to the range of 0 to 255. The calculation would be 255 * 100 / 4095 = 6, so the dirty data would be 6. The corresponding voltage is calculated as 5V / 255 * 6 = 0.1V.
Q2: Can this sensor operate at a voltage of 3.3V?
A1: Yes, you will need to connect a 33R resistor in series with IO1 and IO2, and then connect it to the corresponding port on the main board.
If you have other questions, just feel free to post them in our forum for consultation. We will reply them as soon as possible and improve the product FAQ gradually.