Pages: 1 2 [3]   Go Down
Author Topic: Temeratures control with outputs  (Read 1947 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 16
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I think you are right about giving up. I have problems with understanding with that code like you wrote.
But i dont know if i can use that code that I past it anymore or should I start writing the new code from begining. I think that fixing the old code is harder then writing a new one with understanding.
I will try again from begining.

Thanke you PaulS
Logged

Beijing
Offline Offline
Full Member
***
Karma: 3
Posts: 193
Skype name habib.derbyshire
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Have you looked here
http://arduino.cc/en/Tutorial/HomePage
and here
http://arduino.cc/en/Reference/HomePage
It will help
Logged

What is man's best friend? The breadboard!

Offline Offline
Newbie
*
Karma: 0
Posts: 16
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I finaly found what was wrong with the code: There should be (tank3Thermometer) insted of (tank2Thermometer)
Code:
void printTemperature(DeviceAddress deviceAddress)
{
  float tempC = sensors.getTempC(deviceAddress);
  float t1tempC = sensors.getTempC(tank1Thermometer);
  float t2tempC = sensors.getTempC(tank2Thermometer);
  float t3tempC = sensors.getTempC(tank2Thermometer);  // PROBLEM IN tank2!
  if (tempC == -127.00) {
lcd.print("Err");
} else {
// lcd.print(tempC);
// lcd.print("/");
tank1temp = t1tempC;
tank2temp = t2tempC;
tank3temp = t3tempC;
lcd.print(tempC);
  }
}

Now temperature sensor 3 function is workink ok  smiley
« Last Edit: January 28, 2013, 12:31:59 pm by kikitron » Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 9
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Kilitron, I read your post and you are working in a similar
Project that I want to develop. I going to start a small micro distillery
And I need some to monitor/control/log the temp of a still
I need one monitor/control by a set point/ log data of the still tank
And monitor/control by set point/ log data of the reflux column.
I not have any idea of the code. I have experience with the electronic.
Can you help me with that thanks

Logged

Pages: 1 2 [3]   Go Up
Jump to: