note: 4 shift registers are not needed! |
Project 1: LED Thermometer
features:
- record the temperature, and output it's value either in degrees Celsius, Fahrenheit or kelvins
- temperature will be updated every second
- the temperature can be determined by counting the number of LED's that were turned on. red = 10, yellow = 1, add them to get the reading (example: 2 red LED's, 3 yellow LED's = 23!!!)
- the button will be used to switch between different temperature scales
Parts used:
-10x red LED's
-10x Yellow LED's
-3x green LED
-3x 74HC595 shift registers
-2x push button
-1x temperature sensor
- 21x 330 ohm resistor
-1x 10k ohm resistor
default mode: the temperature is displayed in degrees Celsius(in this case, 26°C) |
when the button is pressed, the temperature will be displayed in degrees Fahrenheit(in this case, 81°F). |
Figuring out how shift registers work and programming them was the most challenging part in this project. I'll be adding more features to this project in the near future (displaying the temperature on a segment display, and displaying it in kelvins)
No comments:
Post a Comment