

Code: Select all
python -c 'from sense_hat import SenseHat
sense = SenseHat()
temp = sense.get_temperature()
print("Humidity sensor temperature: %s C" % temp)'
Code: Select all
i2cdump -r 0x00-0x3f -y 1 0x5f b
Code: Select all
i2cdump -r 0x00-0x3f -y 1 0x5f b

Code: Select all
t_out: -7870
t0x8: 168
t1x8: 289
t0: 21.000000
t1: 36.125000
t0_out: 5
t1_out: 796
y = 0.019121x + 20.904392
= -129.580765
Code: Select all
0 1 2 3 4 5 6 7 8 9 A B C D E F
00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 BC
10: 1B 00 87 33 99 BE B0 A1 9E B2 F9 00 E8 01 80 82
20: 87 00 00 00 00 00 00 03 E1 00 29 02 AC 01 41 02
30: 3B 88 AA 20 00 C4 20 00 89 02 B4 DC FE FF 34 03
t_out: 553
t0x8: 170
t1x8: 288
t0: 21.250000
t1: 36.000000
t0_out: -2
t1_out: 820
y = 0.017944x + 21.285889
= 31.208942
Code: Select all
pi@rpi3:~ $ python -c 'from sense_hat import SenseHat
> sense = SenseHat()
> temp = sense.get_temperature()
> print("Humidity sensor temperature: %s C" % temp)'
Humidity sensor temperature: -397.54498291 C
pi@rpi3:~ $ i2cdump -r 0x00-0x3f -y 1 0x5f b
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 bc ...............?
10: 1b 00 95 32 9b be 08 a2 9e b2 fc 00 c8 01 80 9e ?.?2???????.????
20: 87 00 00 00 00 00 00 03 c0 4d 95 a1 fe ff cd a1 ?......??M???.??
30: 37 84 a8 21 00 c4 00 00 50 03 11 d0 fe ff 67 03 7??!.?..P????.g?
pi@rpi3:~ $
i'll send mine out. just pm me the address.Davespice wrote:Hmm, I think we need to investigate this. Would anyone volunteer to send us one of their Sense HATs for analysis?
Code: Select all
pi@raspberrypi:~ $ python -c 'from sense_hat import SenseHat
> sense = SenseHat()
> temp = sense.get_temperature()
> print("Humidity sensor temperature: %s C" % temp)'
Humidity sensor temperature: -124.549255371 C
Code: Select all
pi@raspberrypi:~ $ i2cdump -r 0x00-0x3f -y 1 0x5f b
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 bc ...............?
10: 1b 00 96 32 9b be 1a a2 9e b2 04 00 d8 01 80 9e ?.?2???????.????
20: 87 00 00 00 00 00 00 03 02 1c fa e1 fe ff 22 e2 ?......??????."?
30: 37 83 a7 22 00 c4 06 00 b8 03 ba cf fb ff 22 03 7??".??.?????."?
Code: Select all
python -c 'from sense_hat import SenseHat
> sense = SenseHat()
> temp = sense.get_temperature()
> print("Humidity sensor temperature: %s C" % temp)'
Humidity sensor temperature: -207.426895142 C
Code: Select all
i2cdump -r 0x00-0x3f -y 1 0x5f b
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 bc ...............?
10: 1b 00 87 33 99 be d0 a1 9e b2 01 00 28 00 80 82 ?.?3???????.(.??
20: 87 00 00 00 00 00 00 03 aa 1f e5 cd fe ff bd cd ?......??????.??
30: 3b 87 a9 20 00 c4 10 00 81 02 41 dd 02 00 46 03 ;?? .??.??A??.F?
Code: Select all
sudo dtoverlay i2c-gpio i2c_gpio_sda=2 i2c_gpio_scl=3
i2cdump -r 0x00-0x3f -y 3 0x5f bStill looking into it.fmlin429 wrote:I have the same issue. Why is it happen?
Code: Select all
pi@raspberrypi:~ $ dpkg -S */dtoverlay
libraspberrypi-bin: /opt/vc/bin/dtoverlay
pi@raspberrypi:~ $ sudo apt-get install libraspberrypi-bin
pi@raspberrypi:~ $ sudo dtoverlay i2c-gpio i2c_gpio_sda=2 i2c_gpio_scl=3
mount: mount point /config/device-tree does not exist
* Failed to mount configfs - 2
pi@raspberrypi:~ $ i2cdump -r 0x00-0x3f -y 3 0x5f b^C
pi@raspberrypi:~ $ mkdir /config/device-tree
mkdir: cannot create directory ‘/config/device-tree’: Permission denied
pi@raspberrypi:~ $ sudo mkdir /config/device-tree
pi@raspberrypi:~ $ sudo dtoverlay i2c-gpio i2c_gpio_sda=2 i2c_gpio_scl=3
* configfs overlays folder not found - incompatible kernel
pi@raspberrypi:~ $
pi@raspberrypi:~ $ uname -a
Linux raspberrypi 4.1.19+ #858 Tue Mar 15 15:52:03 GMT 2016 armv6l GNU/Linux

Code: Select all
sudo apt-get update
sudo apt-get dist-upgrade
sudo systemctl rebootCode: Select all
pi@raspberrypi:~ $ sudo dtoverlay i2c-gpio i2c_gpio_sda=2 i2c_gpio_scl=3
bash: lxpanelctl: command not found
bash: lxpanelctl: command not found
pi@raspberrypi:~ $ i2cdump -r 0x00-0x3f -y 3 0x5f b
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 bc ...............?
10: 1b 00 96 32 9b be 1a a2 9e b2 04 00 d8 01 80 9e ?.?2???????.????
20: 87 00 00 00 00 00 00 03 07 23 6d da fe ff 95 da ?......??#m??.??
30: 37 83 a7 22 00 c4 06 00 b8 03 ba cf fb ff 22 03 7??".??.?????."?
pi@raspberrypi:~ $

Here's my output...I believe as it's the same as beforeShiftPlusOne wrote:Could I also get the output of these commands?Running them will prevent I2C from working until you reboot, so don't forget to do that.Code: Select all
sudo dtoverlay i2c-gpio i2c_gpio_sda=2 i2c_gpio_scl=3 i2cdump -r 0x00-0x3f -y 3 0x5f b
pi@rpi3:~ $ i2cdump -r 0x00-0x3f -y 3 0x5f b
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 bc ...............?
10: 1b 00 95 32 9b be 08 a2 9e b2 fc 00 c8 01 80 9e ?.?2???????.????
20: 87 00 00 00 00 00 00 03 fa 4d 4f a1 fe ff 87 a1 ?......??MO??.??
30: 37 84 a8 21 00 c4 00 00 50 03 11 d0 fe ff 67 03 7??!.?..P????.g?