Sensors -- hardware? Reading data?

Yes!

I cannot remember it exactly. Anyway, I used it on Raspberry Pi 3 and 4 as follows: