Home Thermometer

From NURDspace

Jump to: navigation, search
Home Thermometer
NoPicture.png
Participants Buzz
Skills arduino
Status Production
Niche Electronics
Purpose Infrastructure
Tool No
Location
Cost
Tool category

Home Thermometer

"File:{{{Picture}}}" cannot be used as a page name in this wiki.

{{{Picture}}} {{#if:No | [[Tool Owner::{{{ProjectParticipants}}} | }} {{#if:No | [[Tool Cost::{{{Cost}}} | }}

Why

So, I received some electronic brick kit and no specific purpose for it.

What

I have now combined the thermistor+opamp board and the lcd board with an old arduino I still had around. This gets me a serial outputting thermometer with a lcd readout.

Sourcecode


#include <LiquidCrystal.h>

int sensorPin = A5;
int sensorValue = 0;

LiquidCrystal lcd(10,11,12,13, A0, A1, A2);

void setup()
{
  Serial.begin(57600);
  lcd.begin(16, 2); 
}

void loop()
{
  sensorValue=analogRead(sensorPin);
  float x = map(sensorValue,250,700,13,439);
  x /= 10.0;
  Serial.print(sensorValue);
  Serial.print(" ");
  Serial.println(x);
  lcd.setCursor(1,0);
  lcd.print ("T: ");
  lcd.print (x);
  lcd.print ("   ");
  lcd.setCursor(1,1);
  lcd.print ("X: ");
  lcd.print (sensorValue);
  lcd.print ("   ");
  
  
  delay(1000);
}

 
Our site is hosted by Site4U
Site4U
Part of our connectivity is made available by BIT
To BIT's joboffers