Friday, 30 June 2017

iAQ-CORE_C I²C Problems

Problems with the iAQ-CORE-C Indoor Air Quality Sensor Module. I built the module onto a breadboard pcb and while testing I found that it would not work. I couldn't detect the device on the I²C bus of the Raspberry Pi I was using. Although I could use other devices on the bus without a problem , I found a lot of forums with entries about clock stretching causing problems for the Broadcom SoC I²C bus. I even tested it on an Arduino and no data from the device was detected. After a long time checking and testing the breadboard I came across an error in my wiring that turned out to be the problem. The wire for the SDA Pin 4 was connected to NC Pin 1 on its way off the board to the Raspberry Pi. There is no mention in the manufacturers data sheet not to connect to this pin it even says not connected. I spent a fair amount of time debugging this fault and eventually got it working

No comments:

Post a Comment

File resolv.conf changed on reboot

The file /etc/resolv.conf was being reset and losing the correct nameserver on my Raspberry Pi after a reboot. The unfriendly way of fixing ...