This week I made a simple temperature “reader” with 4 LEDs. It is designed to tell comparison to the average temperature in the space so that the user can easily tell whether it is “cold” or “hot”. Since temperature changes very slowly, so I set the range of the temperature to be 2 degrees and use a cup of hot water to help testing the device. For each LED, there is a certain range of the temperature, basically-

Blue means the temperature is lower than average;

Red*1 means the temperature is a little bit higher than average;

Red*2 means the temperature is much higher than average;

Red*3 means the temperature is way too high.


Code can be found here


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s