13 Aug '17, 3am

Learn how to use an #Arduino to measure temperature!

Learn how to use an #Arduino to measure temperature!

//arduino lcd library LiquidCrystal lcd(8,9,4,5,6,7); //defining lcd pins int value=0; //initializing variables float volts=0.0; float temp=0.0; float tempF=0.0; void setup() { pinMode(3,INPUT); //setting arduino pin3 as input Serial.begin(9600); // opens serial port, sets data rate to 9600 bps lcd.begin(16,2); // set up the LCD's number of columns and rows } void loop() { value=analogRead(A0); //read from A0 volts=(value/1024.0)*5.0; //conversion to volts temp= volts*100.0; //conversion to temp Celsius tempF=temp*9/5+32; //conversion to temp Fahrenheit //display temp no lcd Serial.print("temperature= "); Serial.println(temp); lcd.setCursor(0,0); lcd.print("TEMP= "); lcd.print(temp); lcd.print(" C"); lcd.setCursor(0,1); lcd.print("TEMP= "); lcd.print(tempF); lcd.print(" F"); delay(500); }

Full article: https://www.allaboutcircuits.com/projects/monitor-tempera...

Tweets

#Tech #Arduino #Projects #DIY 3 useful and fun-filled projects you can build with Arduino

#Tech #Arduino #Projects #DIY 3 useful and fun-...

electronicproducts.com 12 Aug '17, 6pm

Arduino is an amazingly flexible microcontroller platform complete with hardware and software, designed so that even begin...

Another Arduino Compatible? This Time, It’s A S...

hackaday.com 13 Aug '17, 2pm

When it comes to microcontroller development boards, we have a plethora of choices at our disposal. Each has its strengths...

Another Arduino Compatible? This Time, It’s A S...

hackaday.com 13 Aug '17, 2pm

When it comes to microcontroller development boards, we have a plethora of choices at our disposal. Each has its strengths...

Maintain Temperature with a DIY Laboratory Dry Bath

Maintain Temperature with a DIY Laboratory Dry ...

hackaday.com 06 Aug '17, 2am

[abizar] lucked into some aluminum blocks, one of which had test-tube-sized holes in it–just the thing to turn into a dry ...