![]() ![]() ![]() ![]() ![]() Alan numitron clock Clapclap 2313/1386 SNES Pi Webserver USB Volume/USB toys Smokey amp Laser cutter WordClock ardReveil v3 SNES Arcade cabinet Game boy projects cameleon Home Presence Detector ![]() AlanFromJapan ![]() ![]() ![]() Akizukidenshi Elec-lab Rand Nerd Tut EEVblog SpritesMods AvrFreaks Gameboy Dev FLOZz' blog Switch-science Sparkfun Suzusho Datasheet Lib Reddit Elec Ermicro Carnet du maker (fr) |
Arduino and a thermometerLast update: Thu Jun 5 22:25:40 2025
Connect to a thermometerBest and most common choice (for non highly demanding applications) is the LM35 from National (Panasonic electronic branch).Feed the baby with anything between 0 and 35 V (!), you get a reading between -1 and %206V on the Vout pin (in basic mode, most likely what you need; see pdf for other possibilities). Reading returns %200.01v per degree above 0. Convert to Celsius degrees like that : val = analogRead(potPin); //read the value of sensor temperature = (5*val*100/1024); //convert voltage to temperature DocumentationOfficial documentation from National: LM35.pdfLinks
|
All content on this site is shared under the MIT licence (do what u want, don't sue me, hat tip appreciated) electrogeek.tokyo ~ Formerly known as Kalshagar.wikispaces.com and electrogeek.cc (AlanFromJapan [2009 - 2025]) |