BotronikS - Final code for all types of Arduino and PC users: -- HOME -- email:

Arduino required accessories:  
TM1637 LED display - 1 - 2 - 3
sensor DHT22: 1 - 2 - 3
or sensor AM2302: 1 - 2 - 3
or sensor AM2305: 1 - 2 - 3
or sensor AM2315C: 1 - 2 - 3
connections (click to enlarge)
additional accessories

TEHUM3: Temperature and relative Humidity (sensor DHT22/AM2305.. ) shows at separate LED displays - FREE!
The offered code enables: Temperature and humidity value shown on 2 separate displays
Required accessories: (see connections)
For Arduino boards: NANO or UNO or MEGA
Electrical and practical notes:
Uses 9V/1A external power supply (VIN/GND) on DC plug (or external 5V/1A on 5V/GND pin).
Display of the measured value is in the form of one decimal digit.
Use specified type of 7 segments display with decimal points only (not clock dots).
S1/S2 Switch selector for temperature display in Celsius or Fahrenheit
P1/P2 Display brightness selection potentiometer (0-7)
Download the HEX codes below, unpack and upload to the proper Arduino board (Use a free net tool for example XLoader)
1. uc ATmega328-16MHz-5V (NANO,UNO...) - TEHUM3code1-m328
2. uc AtMega2560 (Mega(ATMEGA2560).....) - TEHUM3code1-m2560