Timeline for No I2C ACK from Honeywell HIH-6120 humidity sensor
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 6, 2018 at 10:31 | comment | added | Peter Facey | Ah, no. Dicky connection in my breadboard on the SDA line. Sorry to waste your time. | |
Jan 6, 2018 at 10:09 | comment | added | Peter Facey | Thanks. I simplified my code down to the initial NACK. I actually did have code as you suggest but Wire.available() always returned 0. This is one of those annoying problems that go away over night. This morning it is working fine and I swear I've done nothing except plug a USB cable in to power it. One faint possibility is that the sensor comes with a cover over the sensing hole, and I had left that in place. Last night I took it off, but it didn't immediately make any difference. Might it be that the sensor needs time to sit in ambient before going into full working mode first time? | |
Jan 5, 2018 at 22:25 | comment | added | Adam Lawrence | Duh - thanks. Missed that. Perhaps the Arduino library doesn't like start-stop no-data transactions? | |
Jan 5, 2018 at 22:25 | history | edited | Adam Lawrence | CC BY-SA 3.0 |
added 455 characters in body
|
Jan 5, 2018 at 22:20 | history | edited | Adam Lawrence | CC BY-SA 3.0 |
added 455 characters in body
|
Jan 5, 2018 at 22:16 | comment | added | Janka | You had to send the address in write mode first to trigger a conversion. Then wait. Then read. | |
Jan 5, 2018 at 22:12 | history | answered | Adam Lawrence | CC BY-SA 3.0 |