![]() |
|
Detecting 3.3v circuit - Printable Version +- Comfort Automation/ Security System Forums (https://www.comfortforums.com) +-- Forum: Products (https://www.comfortforums.com/forum-3.html) +--- Forum: Questions on Using Comfort (https://www.comfortforums.com/forum-159.html) +--- Thread: Detecting 3.3v circuit (/thread-542.html) Pages:
1
2
|
- palmlodge - 04-04-2007 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 - 04-05-2007 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 - 04-05-2007 Dont think I would trust that. Much easier to sense a 0v or 3.3v - it\'s more definitive. - cgiltrow - 04-05-2007 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 - 04-05-2007 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 - 04-06-2007 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 [user=29]cgiltrow[/user] wrote: Quote:HI, - slychiu - 04-06-2007 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 - 04-07-2007 Excellent - all working now. Thnx :-) - palmlodge - 04-14-2007 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 - 04-14-2007 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 |