Hi,
The problem with two voltage levels is that level shifting is required between the 3.3v and 5v logic levels.
I would use 3.3v
E
Don't forget the pull resistor on the DHT data line.
OK another question. I'm powering both units from the 3.3V coming out of the lm1117. Can I take the 3.3v line to the dht22 and after that take it to the esp01s Vcc/Ch_Pd? The solid red line shown.
Or should I give power from 3.3V to dht22 Vcc and also from 3.3V to the esp01s Vcc/Ch_Pd as shown by the dashed line?
OK one last thing. For the power connector, this is the one I have. I can easily solder the Vcc pin on the power connector laying it flat on the board but this would make the GND terminal orientation 90 degrees wrt the board. What would be the best way to make its connection down to the board?
hi,
To give added mechanical strength to the connector mounting, insert a 40 thou solder pin thru a hole that aligns with the right angled tag of the connector, as shown in your image, solder the connector to the pin and PCB track.
The PCB hole pitch is 0.1inch but the connector appears to have a different pitch, so use thick solid wire to connect the other pins of the connector the required PCB pad.
Do you follow that OK.?
E