Thanks, that is what I wasn't too clear about. So you use the arduino ide to 'set' the 3 positions, and after that (and you know it works with a breadboard) then you can proceed with moving it from the laptop setup to a printed cicuit baord - a standalone unit (battery powered). Same thing with the motion sensor/alarm setup. I'm guessing cheap printeed circuit baords would also be cheaper than adding arduino shields, etc. although messier with the soldering.