Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 6063

Troubleshooting • Apologize in advance

$
0
0
I am Old and new to using a Raspberry Pi 5 but... many years ago I used to play with coding just never had time to get serious.
I have purchase the Raspberry Pi 5 16GB Memory with 128GB Micro SD
The Sense Hat as well as other add on's....
I have actually purchased 2 Pi 5's and 2 Sense hats because I cant for the life of me get the Sense Hat to function correctly.
I went through the Beginners Guild 5th Edition that comes with the Pi 5 and everything worked fine until I tried using the Humidity and Temp sensor. the Pressure sensor worked but I cannot figure out what I didn't install or what I effed up modified trying to get it to work. this is not my code I borrowed it. but it pretty much says the same thing.

code:
%Run -c $EDITOR_CONTENT
Traceback (most recent call last):
File "<string>", line 4, in <module>
File "/usr/lib/python3/dist-packages/sense_hat/sense_hat.py", line 612, in get_temperature_from_humidity
self._init_humidity() # Ensure humidity sensor is initialised
File "/usr/lib/python3/dist-packages/sense_hat/sense_hat.py", line 579, in _init_humidity
raise OSError('Humidity Init Failed')
OSError: Humidity Init Failed

I am planning on formatting the Micro SD and re-installing the OS but I'm a little confused following the directions how to add the Sense hat to the Raspberry Pi 5.
Thank you in advance for any help.

Statistics: Posted by Krampapas — Thu Apr 03, 2025 1:54 am



Viewing all articles
Browse latest Browse all 6063

Trending Articles