Documente Academic
Documente Profesional
Documente Cultură
Challenge advertisement
Vote!
Arduino Temperature Indicator by TechMartian in arduino
advertisement
License:
8 115 views
11 favorites
TechMartian
This is the sixth module in a series of lesson for the Arduino 101 Follow 28
This project uses a cheap temperature sensor to measure the surface Bio: Born in Pluto in 001/010/008
(plutonian year) and raised in Mars.
temperature of any objects or the surrounding air and then outputting
it to an Arduino Console via serial communication. The circuitry is
More by TechMartian:
quite simple although the code is relatively more complicated for this
proje
Related
TMP36 Temperature
Sensor
by Spaceman Spiff
Office Room
Temperature Logging
with pcDuino and
Yeelink Server
by Yanny Guo
Arduino 101 Essentials:
How to use a
Potentiometer
by TechMartian
Arduino Temperature
Sensor With LCD
by RayTechnologies
advertisement
advertisement
Step 2: Circuitry
Connecting the Arduino Power to the breadboard
Connect the 3.3V pin and GND pin from the Arduino to the red and
black power rails in the breadboard, respectively.
The temperature sensor has polarity so it is crucial that you do not
reverse the polarity when connecting it.
Connect the red power rail from the breadboard to the bottom most
pin of the temperature sensor with the flat side facing right with an
orange jumper cable
Connect the black power rail from the breadboard to the top most
pin of the temperature sensor with the flat side facing right with a
black jumper cable
Connect the middle pin to the A0 header of the Arduino board.
Step 3: Coding
void loop() { //read the temp sensor and store it in tempVal tempVal =
analogRead(tempPin);
//print out the raw voltage over the serial port Serial.print("volts: ");
Serial.print(volts, 3);
Step 4: Demo
advertisement
Ad
Instapage Landing Pages
Customizable landing pages that give your
brand the emphasis it deserves
Instapage
FEATURED CHANNELS
Woodworking Paper Kitchen Hacks Puzzles Laser Cutting Space Homesteading 3D Printing Sewing
© 2016 Autodesk, Inc. Terms of Service | Privacy Statement | Legal Notices & Trademarks | Mobile Site