Hello,
I have had some experience in creating projects on the Raspberry Pi.
I have created a limited weather with the sense hat with the results displaying on the sense hat.
Now I would like to create a people counter - I have some directions from here https://www.instructables.com/How-to-bu ... rry-Pi-an/
But I would like to display the results on the sense hat instead of sending it to Ubidots. Is this possible? I also need to remember how to set up the auto start for the program. This is for a public library that their counter is no longer working and is old. So I thought I would try with the Pi.
Any suggestions greatly appreciated
Documentation for the Python library for the Sense HAT is here - https://pythonhosted.org/sense-hat/
The project you have referenced is apparently 10 years old, and is likely to be out of date and misleading. You are unlikely to be using an original RPi Model 1B board, or the version of the Operating System that was current at the time.
As a general approach, use the now recommended gpiozero Python library, which has code to support a PIR. https://gpiozero.readthedocs.io/en/late ... ion-sensor
Ignore the ubidots stuff that you are not going to use. From the SenseHAT library, you probably need sense.show_message() or simply sense.show_letter() to use the SenseHAT as a display rather than saving the data in 'the cloud.' (But there are cheaper and more robust ways of displaying a number! But of course use the Sense HAT if you have it available.)
Statistics: Posted by B.Goode — Mon Aug 19, 2024 9:03 pm