I’ve decided to provide a funny Arduino concept thermometer in case its the middle of the night, pharmacies are not working, you are not feeling well and you want to check your body temperature. If you have Arduino by your side, this is a life saver!
Components you will need:
Arduino Uno/Nano, whatever
Some breadboard wires
A 10K resistor
A thermistor ( I got it from my first Arduino kit)
If you want to make it look more fancy, you can add:
LCD
I2C LCD adapter
Step 1: Connecting the Components
On the pictures above, you can see how you should connect the components on the board if you want to try if the code is working. When you are satisfied, you can connect a batch of wires together as seen on the last photo to lenghten the thermistor connection
Step 2: I2C LCD Tutorial
If you want to display your results on something fancier than a Serial Monitor, here is a small I2C LCD tutorial.
If you want to learn more about I2C, google it, it is very useful and if your components support I2C, you can decrease the number of wires many times.
You will need the regular LCD and the I2C LCD module. You can buy them separately, or you can buy them together like on this link:
http://www.ebay.com/itm/New-Blue-IIC-I2C-TWI-1602-…
Solder the two pieces together as shown on the pictures above.
If you are using Uno/Nano, the SDA and SCL pins are A4 and A5 respectively. Connect the pins on the LCD I2C module to the ones on the Arduino.
Step 3: The Code
In the main code you will have to adjust the values of your thermistor nominal resistance or the beta coefficient if you are getting some strange results. Be aware that the current settings are calibrated for the normal human temperature of around 35-40 degrees Celsius so if you would try to measure your room’s temperature you would probably get some bad results.
Since every I2C device has its own address and it may not be the one I have included in my code, I have attached another program which will find the address of your device if you connect it like said before.
Read more: Arduino Body Thermometer + LCD I2C