Edited by FedericoCoppola at 2021-7-31 06:20
Hi all,
I have received a new Orange Pi Zero 2 (512MB of RAM) to build a very small weather station.
My goal is to connect and manage DHT22 sensor to collect temperature and humidity data.
I installed on a micro SD card Debian and the system is running properly in this moment.
After that I installed Python3 software necessary to my project.
I am try to follow this guide:
https://f1atb.fr/index.php/2020/10/03/dht22-and-orange-pi-zero/
I know that the guide talks about
Orange Pi Zero and not about
Orange Pi Zero 2, but I have not found any information about
Orange Pi Zero 2 and DHT22.
In this moment, I fails to try communication between Orange PI Zero 2 and DHT22 sensor because I do not understand how to identiy GPIO pins.
I have just a very poor information about GPIO (I have attached a picture that I collected from the web store that sells this board).
I need a digital GPIO PIN to use as input pin for DHT22 data collected.
How can I found the real pins' name?
For example I tried to manage pin PC9 (You can see this pin inside the picture attached to this post) but it did not worked.
>>> PIN=port.PC9
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: module 'pyA20.gpio.port' has no attribute 'PC9'
What can I do?
Any suggestions?
Best regards!
Federico