In this project I’ll display the temperature in a 4 digit 7 segment display (common anode).
The sensor is the cheapest you can find so actually the temperature changes pretty easily which makes the display to show always different temperatures. But the idea is to apply this code to other projects with 7 segment displays that I might do later. You can also read more about 7 segment displays in this post.
This project is great to learn more about:
- Reading sensors (in this case temperature)
- 7 segment displays (4 digit 7 segment displays)
- 8 bit Shift Registers (74HC595)
- Pratice wiring
- 1x Arduino Uno
- 1x Temperature Sensor (I’m using the LM335Z)
- 1x 4 Digit 7 Segment Display (common anode)
- 1x 74HC595 8 Bit Shift Register
- 8x 220 Ohm Resistors
- 1x 4700 ohm Resistor
- 1x Breadboard (or two)
- Jumper Cables
This can also help you wiring because the Schematics I’ve made using fritizing turned out a bit confusing I guess this is the 7 segment display internal circuit diagram
Basically the pin 11 connects to the QA, the pin 7 to the QB and so one…
Upload the code below:
Watch how it works:
Thanks for reading, you can contact me by leaving a comment. If you like this post probably you might like my next ones, so please support me by subscribing my blog and my Facebook Page.