Suggestion: DS1820 ('Onewire' digital thermometer) MOC3042 (Opto isolated ZC Triac driver) BTA26 (Triac) Any suitable PIC The advantages of this approach are: The sensor can be placed remotely from the switch, which is probably not at the ideal place where you want to sense the temperature The switch is optically isolated from all the other stuff (safety concerns) The distracting 'Click Clack' of a relay is eliminated, as are concerns about contacts capacity and operational life. A fixed temperature is outright simple One could get fancy with a couple of seven segment displays and a couple of buttons for temperature adjustment. or go the Full Monty and have an LCD displaying both setpoint and controlpoint. Or one could just buy a temperature controlled outlet from a store..... far less effort, but no fun! :-) On Fri, Dec 20, 2013 at 4:49 AM, Allen Mulvey wrote: > In the olden days when we took pictures on film, I had a darkroom in an > unheated basement. I used a piece of standard 240V baseboard heater with = an > inline 240V double pole thermostat. The thermostat was mounted in the > "usual" wall position. The primary concern was to insulate behind the > thermostat so that heat loss through the wall would not cause the > thermostat > to trigger longer than it should. It worked very well and was reasonably > cheap. I think about 2 deg hysteresis worked well for me. > > Allen > > > -----Original Message----- > > On Thu, Dec 19, 2013, at 04:23 PM, Jason White wrote: > > > > > I am in the US. I plan on putting the controlling logic in a plastic > > > wall mountable enclosure and then running wires to energize a free > > > hanging relay placed inside and wired inline with a normal outlet. > > > Does anyone know of if there are any restrictions on this sort of > > > setup safety/electrical code wise? Any tips on doing this > > > better/safer? > > > > -- > > http://www.fastmail.fm - Accessible with your email software > > or over the web > > > > -- > > http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive > > View/change your membership options at > > http://mailman.mit.edu/mailman/listinfo/piclist > > > -- > http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > --=20 Perry Curling-Hope Research and Development --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .