Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019 
<== Date ==> <== Thread ==>

Subject: RE: Simple wireless light controlled through EPICS?
From: Emmanuel Mayssat <emayssat@outlook.com>
To: Mark Rivers <rivers@cars.uchicago.edu>, "'Gomella, Andrew (NIHNHLBI) [F]'" <andrew.gomella@nih.gov>, "m.purves@jach.hawaii.edu" <m.purves@jach.hawaii.edu>
Cc: "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Sun, 14 Jul 2013 08:39:39 -0700
If you follow mark's recommendation and have to hack the light switch or/and the lamp socket, then I recommend the current configuration: PC to Xbee USB adaptor ----(wireless)---- arduino + Xbee shield + Power Switch tail
https://www.sparkfun.com/products/10747
https://www.sparkfun.com/products/10088
http://arduino.cc/en/Main/ArduinoWirelessShield

They are also several cheaper relay shields for arduino.
http://arduino-info.wikispaces.com/ArduinoPower

If you can use a high power LED (instead of a light bulb, no relay required), you may want to look at
https://www.sparkfun.com/products/9000

Our you could be even more creative with
http://www.tested.com/art/makers/453665-how-get-started-programmable-rgb-led-strip-lighting/
or electroluminescent wire (aka el wire)
https://www.sparkfun.com/search/results?term=el+wire&what=products

So much fun ahead of you !

PS: Not sure wireless connection is recommended if personal safety is at stake

--
Emmanuel

> From: rivers@cars.uchicago.edu
> To: andrew.gomella@nih.gov; m.purves@jach.hawaii.edu
> Subject: RE: Simple wireless light controlled through EPICS?
> Date: Thu, 11 Jul 2013 23:24:55 +0000
> CC: tech-talk@aps.anl.gov
>
> Here is a wireless light socket control. Control up to 150W bulb from up to 100 feet away. $23 at Home Depot.
>
> http://www.homedepot.com/p/Heath-Zenith-Lamp-Socket-and-Switch-Kit-BL-6138-WH/100654953
>
> You would need to replace the mechanical switch part with a relay device like the one I mentioned earlier.
>
> Mark
>
> -----Original Message-----
> From: Gomella, Andrew (NIH/NHLBI) [F] [mailto:andrew.gomella@nih.gov]
> Sent: Thursday, July 11, 2013 6:06 PM
> To: Mark Rivers; m.purves@jach.hawaii.edu
> Cc: tech-talk@aps.anl.gov
> Subject: RE: Simple wireless light controlled through EPICS?
>
> Yes there are definitely 120V outlets to work with. I should have specified this in my original email.
>
> -Andrew
> ________________________________________
> From: Mark Rivers [rivers@cars.uchicago.edu]
> Sent: Thursday, July 11, 2013 7:04 PM
> To: Gomella, Andrew (NIH/NHLBI) [F]; Maren Purves
> Subject: RE: Simple wireless light controlled through EPICS?
>
> Do the locations where you want to mount the lights have 120V power available. Or will you need to run a wire for that at least?
>
> Mark
>
>
> -----Original Message-----
> From: tech-talk-bounces@aps.anl.gov [mailto:tech-talk-bounces@aps.anl.gov] On Behalf Of Gomella, Andrew (NIH/NHLBI) [F]
> Sent: Thursday, July 11, 2013 6:03 PM
> To: Maren Purves
> Cc: tech-talk@aps.anl.gov
> Subject: RE: Simple wireless light controlled through EPICS?
>
> Not really, it is an x-ray controller box that is under warranty so I can't open it. Maybe I shouldn't say interlock. it is basically a box with a key sticking out of it. It already has an led in it. The thing is EPICS knows the status of the key so I was hoping to use that..
> ________________________________________
> From: Maren Purves [m.purves@jach.hawaii.edu]
> Sent: Thursday, July 11, 2013 6:57 PM
> To: Gomella, Andrew (NIH/NHLBI) [F]
> Cc: tech-talk@aps.anl.gov
> Subject: Re: Simple wireless light controlled through EPICS?
>
> Wondering: can you power a LED from whatever powers the interlock?
> (Maybe 'power' isn't the right word here, 'control' would
> probably be better)
>
> Gomella, Andrew (NIH/NHLBI) [F] wrote:
> > Yes you are right. I guess I'm trying to find something along the lines of a wireless switch that can be easily integrated with EPICS. This is probably trivial for most, the issue here is I cant really run wires room to room (needs to be somewhat temporary solution) and I have multiple doors that need covering (and little experience with EPICS and hardware engineering)
> >
> > If it were one door, to be honest I'd probably just put an old laptop on a table next to it and just have it on our local wifi network reading out the PV value to a fullscreen display...
> >
> > Mark's suggestion seems the easiest to implement, but I'm not sure I can run the wires. The less elegant option is for me to purchase something like this http://www.amazon.com/dp/B000G80V28 and press it every time I turn the x-ray on or off.
> >
> > Thanks,
> > Andrew
> > ________________________________________
> > From: Maren Purves [m.purves@jach.hawaii.edu]
> > Sent: Thursday, July 11, 2013 6:29 PM
> > To: Gomella, Andrew (NIH/NHLBI) [F]
> > Cc: Mark Rivers; tech-talk@aps.anl.gov
> > Subject: Re: Simple wireless light controlled through EPICS?
> >
> > Maybe I'm off, but IMHO you need a switch (that you plug the light
> > into) with a (serial or otherwise) control rather than the light
> > being controlled itself?
> >
> > Maren
> >
> > Gomella, Andrew (NIH/NHLBI) [F] wrote:
> >> The interlock came hardwired into our x-ray controller box. It's value can be read with the asyn stream driver and is a BO variable that reads whether the key is in the armed position or not. I was hoping to use this value to trigger lights on or off. Unfortunately I can't modify anything with the x-ray controller, so I figure there has to be some sort of USB light on the market that runs on serial commands? Or maybe such a specific thing does not exist and requires a micro-controller and some work to make.
> >> ________________________________________
> >> From: Mark Rivers [rivers@cars.uchicago.edu]
> >> Sent: Thursday, July 11, 2013 6:02 PM
> >> To: Gomella, Andrew (NIH/NHLBI) [F]; tech-talk@aps.anl.gov
> >> Subject: RE: Simple wireless light controlled through EPICS?
> >>
> >> How is your interlock done? Simple relays or with a PLC? Our laser interlocks here at APS use inexpensive PLCs, and they directly operate the warning lights outside the enclosure.
> >>
> >> Mark
> >>
> >>
> >> -----Original Message-----
> >> From: tech-talk-bounces@aps.anl.gov [mailto:tech-talk-bounces@aps.anl.gov] On Behalf Of Gomella, Andrew (NIH/NHLBI) [F]
> >> Sent: Thursday, July 11, 2013 4:57 PM
> >> To: tech-talk@aps.anl.gov
> >> Subject: Simple wireless light controlled through EPICS?
> >>
> >> Anyone have any suggestions for a simple way to control a light with EPICS? It does not need to be bright, even a small LED will do. Basically I'm trying to have indicators on several doorways to show the current status of the interlock on our x-ray source (which is already a PV).
> >>
> >> In the ideal scenario it would be connected to wifi so that ethernet/usb cables do not need to be run everywhere. I was thinking of maybe trying to get the "Belkin WeMo Home Automation Switch" to work with EPICS, it is basically a power plug that connects to WiFi. But it is probably easier to find some USB LEDs and run cables.
> >>
> >> I know some beamlines at APS have EPICS controlled lights, so wondering if anyone has ideas?
> >>
> >>
> >> Thanks!
> >> Andrew
> >>
> >
> >
>
>
>

References:
Simple wireless light controlled through EPICS? Gomella, Andrew (NIH/NHLBI) [F]
RE: Simple wireless light controlled through EPICS? Mark Rivers
RE: Simple wireless light controlled through EPICS? Gomella, Andrew (NIH/NHLBI) [F]
Re: Simple wireless light controlled through EPICS? Maren Purves
RE: Simple wireless light controlled through EPICS? Gomella, Andrew (NIH/NHLBI) [F]
Re: Simple wireless light controlled through EPICS? Maren Purves
RE: Simple wireless light controlled through EPICS? Gomella, Andrew (NIH/NHLBI) [F]
RE: Simple wireless light controlled through EPICS? Gomella, Andrew (NIH/NHLBI) [F]
RE: Simple wireless light controlled through EPICS? Mark Rivers

Navigate by Date:
Prev: EPICS fsmRecord question Jiro Fujita
Next: Re: StreamDevice send/recevie bit array problem Dirk Zimoch
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019 
Navigate by Thread:
Prev: RE: Simple wireless light controlled through EPICS? Gomella, Andrew (NIH/NHLBI) [F]
Next: Re: Simple wireless light controlled through EPICS? Richard Farnsworth
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·