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

Detecting 3.3v circuit
 Moderated by: admin  
 New Topic   Reply   Print 
AuthorPost
palmlodge
Member
 

Joined: Thursday Dec 14th, 2006
Location: United Kingdom
Posts: 250
Status:  Offline
 Posted: Wednesday Apr 4th, 2007 10:46 pm
 Quote  Reply 
At the moment I have my Media Center activated from Comfort and CBUS by shorting an ATX PowerOn lead (specifically, this is an XBOX). Never used it for games - never intend to !

 

Problem is - it's only a toggle - so i never know it's state. As far as i can tell, the front board should be holding 3.3v open when the machine is on. So, it owuld be better if I can detect this 3.3v circuit - then i can correctly know it's state - and apply other logic.

 

Any ideas ? I didnt think it a good idea to sling this directly into a 12v PIR input ?

ident
Administrator


Joined: Wednesday Aug 9th, 2006
Location: Singapore
Posts: 286
Status:  Offline
 Posted: Thursday Apr 5th, 2007 02:01 am
 Quote  Reply 
How about using a Current sensor on the power lead of the Xbox to detect the current? This connects to a Comfort input and detects on/off

palmlodge
Member
 

Joined: Thursday Dec 14th, 2006
Location: United Kingdom
Posts: 250
Status:  Offline
 Posted: Thursday Apr 5th, 2007 06:52 am
 Quote  Reply 
Dont think I would trust that.

 

Much easier to sense a 0v or 3.3v - it's more definitive.

cgiltrow
Developers
 

Joined: Monday Jun 12th, 2006
Location: Johannesburg, South Africa
Posts: 35
Status:  Offline
 Posted: Thursday Apr 5th, 2007 10:37 am
 Quote  Reply 
HI,

I use temperature sensors which output 0 - 5v dependinding on the temperature and Comfort (I) detects the voltage being sent.

The sensors are connected directly to zone inputs, the shunts are set to double end of line and the zone type is set to Digital NC.

I then use Get AnalogInput ZoneName to read the input.  The value you get is a number between 0 and 255 depending on the voltage, where 0 is 0V and 255 is 5V.

So you could connect your 3.3V directly to an input (must be mainboard or slaveboard - I think LEM also works - but RIO does not) and then read the value you get.  If your XBox is off you should get 0 (say <16) and if your XBox is on you should get 3.3/5 x 255 = 168 (say >128).  This would also be a fair amount cheaper than using a current sensor.

By the way - Is your ATX PowerOn Lead connected directly to the XBox - if so - through which port.

Regards,

Clinton.

ident
Administrator


Joined: Wednesday Aug 9th, 2006
Location: Singapore
Posts: 286
Status:  Offline
 Posted: Thursday Apr 5th, 2007 11:05 am
 Quote  Reply 
Note that for Comfort II, the analog input range is 0 to 3V
5V analog inputs will cause no harm but they will be limited at 3V

palmlodge
Member
 

Joined: Thursday Dec 14th, 2006
Location: United Kingdom
Posts: 250
Status:  Offline
 Posted: Friday Apr 6th, 2007 12:29 pm
 Quote  Reply 
I've connected the 3.3v link to the input block - it's not shared with anything (i was geting zone trouble)

But all i get is a value of 160 regardless of state - so i tried moving the zone jumper but just get zone trouble.

Something else I need to add ? Whats these EOL's ?

 

Thanks

cgiltrow wrote:
HI,

I use temperature sensors which output 0 - 5v dependinding on the temperature and Comfort (I) detects the voltage being sent.

The sensors are connected directly to zone inputs, the shunts are set to double end of line and the zone type is set to Digital NC.

I then use Get AnalogInput ZoneName to read the input.  The value you get is a number between 0 and 255 depending on the voltage, where 0 is 0V and 255 is 5V.

So you could connect your 3.3V directly to an input (must be mainboard or slaveboard - I think LEM also works - but RIO does not) and then read the value you get.  If your XBox is off you should get 0 (say <16) and if your XBox is on you should get 3.3/5 x 255 = 168 (say >128).  This would also be a fair amount cheaper than using a current sensor.

By the way - Is your ATX PowerOn Lead connected directly to the XBox - if so - through which port.

Regards,

Clinton.

slychiu
Administrator


Joined: Saturday Apr 29th, 2006
Location: Singapore
Posts: 1029
Status:  Offline
 Posted: Friday Apr 6th, 2007 03:27 pm
 Quote  Reply 
For analog inputs set as Null Zone Type and set zone shunts to Double end of line so that the internal end of line resistors dont affect the voltage.

palmlodge
Member
 

Joined: Thursday Dec 14th, 2006
Location: United Kingdom
Posts: 250
Status:  Offline
 Posted: Saturday Apr 7th, 2007 06:42 am
 Quote  Reply 
Excellent - all working now.

 

Thnx :-)

palmlodge
Member
 

Joined: Thursday Dec 14th, 2006
Location: United Kingdom
Posts: 250
Status:  Offline
 Posted: Saturday Apr 14th, 2007 10:28 am
 Quote  Reply 
Heres a question

 

Instead of sticking this 3.3v into Comfort, any reason why I shouldnt just put a relay or contactor instead ?

 

That is, take the 3.3v feed to the contactor input, which in turns just shorts the circuit, which can be plumbed into Comfort as a standard SwitchNC?

 

Might be safer !

flyman
Member
 

Joined: Friday Apr 13th, 2007
Location:  
Posts: 1
Status:  Offline
 Posted: Saturday Apr 14th, 2007 01:45 pm
 Quote  Reply 
If you can find a relay that works from the 3.3V voltage, and the 3.3V can supply enough current  to drive the relay

palmlodge
Member
 

Joined: Thursday Dec 14th, 2006
Location: United Kingdom
Posts: 250
Status:  Offline
 Posted: Sunday Apr 15th, 2007 07:51 am
 Quote  Reply 
Got one - done it - works a lot better.


 Current time is 02:45 pm




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