This works, but the Bytes which are read by Wire.read() have too much "1"'s, so the reported temperature is some degrees to high.
I used internal pullups as well as external pullups
The lower 3 bits are status bits, unimportant for me, therefore ">>3".
The LM92 is a digital temperature sensor and thermal windowcomparator with an I2C™ Serial Bus interface and an accuracy of ±0.33°C.
And the upper 4 bits of the MSB (or at least the upper 3) don't mean anything, either.
The msb of the first byte is temperature sign, followed by 12 bits of temperature data.
I used the LM92 with another mcu over a distance of more than 30 feet absulotly reliable. (shielded cable of course)
Are there other hacks necessary to reduce bitrate ?
How are you fitting 13 bits in one 8 bit byte?
Are you still using shielded cable?
Why do you think you need to?
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16