Closed zmoog closed 1 year ago
Let's try the lazy version first.
I visited https://www.raspberrypi.com/software/ and downloaded the macOS app called Raspberry Pi Imager.
Picking up the standard 32bit version:
I installed and configured a basic desktop environment. It works, but some 3rd party packages (for example, the Elastic Agent) are available as for aarch64 only :-/
But.. I have multiple SD cards, let's use a second one to give aarch64 a try.
Meanwhile, on the 32bit version I am getting this:
$ python
Python 3.9.2 (default, Mar 12 2021, 04:06:34)
[GCC 10.2.1 20210110] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from sense_hat import SenseHat
>>>
>>> sense = SenseHat()
WARNING:root:Failed to initialise TCS34725 colour sensor. (sensor not present)
>>> sense.clear()
>>>
>>> pressure = sense.get_pressure()
>>> print(pressure)
0
After reading https://forums.raspberrypi.com/viewtopic.php?t=338641 I tried to enable the I2C interface using sudo raspi-config
.
I am still getting the Failed to initialise TCS34725 colour sensor. (sensor not present)
, but now I can see some sensor value:
$ python
Python 3.9.2 (default, Mar 12 2021, 04:06:34)
[GCC 10.2.1 20210110] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from sense_hat import SenseHat
>>>
>>> sense = SenseHat()
WARNING:root:Failed to initialise TCS34725 colour sensor. (sensor not present)
>>> sense.clear()
>>>
>>> pressure = sense.get_pressure()
>>> print(pressure)
996.2490234375
I have a Raspberry Pi 3 + Sense HAT and I want to install the latest Raspbian and use it to collect sensor data and display information using the LED matrix display