# Arduino Temperature and Humidity Display With 7-Segment Display

9,157

89

7

## Introduction: Arduino Temperature and Humidity Display With 7-Segment Display

Hello Everyone.

This istructables is for the beginners who have entered into the Arduino ecosystem

In this instructable,i am gonna cover a few topics about DHT11 Humidity and Temperature Sensor and Multiplexing 4 7-Segment Displays.

So,Lets begin!

### Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

## Step 1: Parts Required:-

For this instructable to make,you require these parts:-

1. 1 X Arduino Microcontroller(UNO,Mega,Pro MIni etc.)

2. 4 X 7-Segment Display(Common Anode)

3. 1 X DHT11 Humidity And Temperature Sensor

4. Some Jumper Wires

5. Little Bit Knowledge About Multiplexing

## Step 2: Circuit Diagram and CODE

For this circuit,you have to multiplex the 4 segment displays which means all the led pins of the segment displays will be connected in series and then connected to arduino digital pins but the respective common ground pins of the segment displays will be connected individually to arduino digital pins.

These saves us the complications and there are not so many digital pins in arduino UNO(the board that i am using).

You can also use Shift Registers to control many segment displays.

In the circuit diagram all the LED Segment pins of the 4 segment displays i.e A,B,C,D,E,F,G are connected with each other i.e A=A1+A2+A3+A4,B=B1+B2+B3+B4 etc.

Just wire according to the circuit diagram and upload the code given below.

## Step 3: Its Done!

After following the above steps,you can be able to view Temperature and Humidity on your Segment Displays.
The only problem is that the temperature display displays the temperature and then it is switched off for 1 sec to display the humidity on the other segment displays.
Hoping to solve that problem ASAP.

164 13K
139 18K
102 9.8K

## 7 Discussions

Hi guys, I see that in this Instructable and a few others , on mux'ing, there are no current limiting resistors between the micro and the display. I have thought that that it was good engineering practice to pretect the micro with resistors, should something go wrong.