Jdy40 Arduino Example Best ((top)) -

: 2.2V – 3.6V (Use a 3.3V supply; do not use 5V directly). CS Pin : Pull to GND to keep the module awake.

Send these commands to both modules (Master and Slave):

#include <DHT.h> DHT dht(2, DHT11);