Comfort Home Automation/ Security System Forums Home
 Search       Members   Calendar   Help   Home 
Search by username
Not logged in - Login | Register 

Question about analog input
 Moderated by: admin  
 New Topic   Reply   Print 
AuthorPost
TheMax74
Member
 

Joined: Monday Jul 16th, 2007
Location: Italy
Posts: 47
Status:  Offline
 Posted: Friday Oct 12th, 2007 07:42 pm
 Quote  Reply 
Hello, i've a question:

where i live, there is no way to use smartfit for hvac control, so i've found a temperature sensor LM35DZ.
This is a transistor, giving a linear response from 0 to 150°C, 10mV / degree. For example, 22°c is 220mV (0,22V)

I wish to use input zone #1 to read the analog voltage, by shunting the pins to double EOL resistors (away of zone input terminals).
Confort analog zone input, reports 0 for 0 Volt, 255 for 3 V.
The problem is that the zone#1 outputs 3.0 V and the temp sensor 0,22V.

3.0V - 0.22V = 2.78V

Using math: 255:3=x:2.78
x=(255*2.78) / 3 = 236

It means that for 2.78V, comfort reports 236. Ok.
My problem is that when temperature changes, there is no change in the value, even if i burn the sensor with fire.

I wired the output of the temp sensor directly to the zone #1, the ground of temp sensor with zone common and the +12V of the sensor with one of +12V of the main board.

Where is the problem?
Thank you! 

 

admin
Administrator


Joined: Saturday Mar 3rd, 2007
Location: Singapore
Posts: 368
Status:  Offline
 Posted: Saturday Oct 13th, 2007 09:11 am
 Quote  Reply 
The LM35 Supply pin should be connected to 12V and the output of the IC should be connected to the Zone Input (on Comfort or Slave but not the LEM)
The LM35 gives an output proportional to the Celsius scale at 10 mV / deg C
Hence at 40 degrees C you will only get 0.4V, the change will be too small to be useful
You need to amplify the output of the LM35 using an electronic amplifier circuit in order to  get a more useful dynamic range say by 6 times which means 60 deg C would give 3.0 V

TheMax74
Member
 

Joined: Monday Jul 16th, 2007
Location: Italy
Posts: 47
Status:  Offline
 Posted: Saturday Oct 13th, 2007 10:41 am
 Quote  Reply 
Ok, thank you.


 Current time is 08:53 am




Powered by WowBB 1.7 - Copyright © 2003-2006 Aycan Gulez
We insist that you abide by the rules and policies stated below. Although the moderators of the Comfort Forums will attempt to keep all objectionable messages off this forum, it is not possible for us to filter all messages. All messages express the views of the author. Cytech Technology is not responsible for the content, views or advice of any message posted by members, including staff of Cytech. By registering for the forums, you warrant that you will not post any messages that are obscene, vulgar, of a sexual nature, abusive, hateful, threatening, of racist nature or otherwise in breach of any laws. Cytech reserves the right to remove, edit or move message or topic for any reason