Hi everyone, I’ve been using the PECMAC sensors for around 8 moths, we have a python script that read every channel and send it to our platform. This solution works just fine so we install more sensors. However, the last PECMAC sensors we bought send practicaly random values in channel 1. We have 3 and 6 channels boards and the same happens. We debug our script but we dont found any change. Do tou have some ideas about this bug?
Does this happens on all the board or particular one board?
could you share a close up picture of the board?
This happens with 4 boards, 3 of them with 3 channels and one with 6. In each one the channel one send random values.
try this lib and post your results
try swapping the sensor and see if the problem follows with the sensor.
Thanks for the reply, I try the lib you post and the values were correct! In that moment I note that the order in each channel I read its diferent. I mean, the lib reads channel 1, 2 and 3 or 1 ,2 3, 4, 5 and 6, but in my script (automatically generated) the channels appear without order. I cant fully understand what happens at the I2C level with this configuration that return stranges values but order the lecture of the channels fix the problem.
thanks man, I really apreciate your help.