If it uploads to the board, check to see if it is working.
Open up the Serial Monitor by clicking on the magnifying glass on the upper right side of the Arduino program window. You will see something similar the outputs here. Try pointing it at your forehead. See the temperature approach body temperature as you bring it closer and closer to your forehead. Keep it at least an inch away. (make sure there is no hair in the way) If you do not like how fast it updates, change the code's delay value and reupload to board. |
I used a thermometer to check my temperature. Turned out it was 98.5 F. My prior Serial Monitor reading for the sensor was getting around 94 or 95 F. That was at 1 inch from my head. I thought that was too close. I wanted it to work at about 3 inches away from my head. It turned out that I needed to correct the reading by around 4 C. To make it read right at the distance I wanted.
Below is the readings after the correction. |
See the code below for how I did my calibration correction. You may have a different amount that you need to use to calibrate it. I used 4 C.
|