4 Digit 7 Segment Display — Arduino
A 4 digit 7 segment display is used along with DHT11 which will display the sensed temperature. The IC TM1637 is attached beneath the 4 digits 7 segment display, which helps in the utilization of only two wires on the Arduino board. If this IC is not attached to the segment display, then utilization of 12 pins is required on the Arduino board. This will not allow us to add any further sensors with the display as there will be no pins left to attach the sensor over the board.
Pin Configuration
4 digit 7 segment display
GNDVccDIOCLK
DHT11
GNDVccSignal Pin
Arduino UNO
GND5vDigital pin 4Digital pin 3
Arduino UNO
GND5vDigital pin 5
Schematics for 4 digit 7 Segment Display
The schematics is as follows, interfacing 4 digit 7 segment display along with DHT11 and Arduino UNO.
Installing Library for 4 Digit Seven Segment Display
Download Arduino IDE first. On your Arduino IDE go to tools, then under tools find manage libraries and click it. Then search for TM1637 and install the TM1637 library by Avishay Orpaz. Once the library is installed, add the code below to your arduino IDE. Code here