Hello all,
I would like to use a DHT22 on the PMC. Has anyone done this before? How did you connect it?
Hello all,
I would like to use a DHT22 on the PMC. Has anyone done this before? How did you connect it?
What is PMC?
Is PMC Arduino compatible?
PMC = Portenta Machine Control
Jep it´s Arduino Pro
What is your question?
As I understand from Adafruit web site:
"Simply connect the first pin on the left to 3-5V power, the second pin to your data input pin, and the rightmost pin to ground. Although it uses a single wire to send data it is not Dallas One Wire compatible!"
It is a sensor with a digital signal. So, no need for ADC (analog) inputs, "any" digital GPIO as input can do.
But, the sensor provides a Single Wire interface.
As I know: the Portenta H7 MCU has some Single Wire Tx pins:
from datasheet: "SWPMI single-wire protocol master I/F"
It tells me: you can send Single Wire - but there is not a Single Wire receiver. If your sensor acts as a Master - how to receive it on MCU?
If sensor is a slave - potentially your MCU with Single Wire Master can talk to it.
But it needs the SWPMI device configured and used. And just on a specific pin the Single Wire signal will be provided.
Check the MCU datasheet (and sensor datasheet) to get a clue how, on which pins, you can connect the sensor. Afterwards you can find this MCU pin on the PMC (on which header it is).
Thanks! But i think it´s easier in this case if i use a PT100 or something like that.