Pi! I'm super stoked I made a little addon for our arduino door with the pi. Gpio to relay to close the magnetic strike and open the door from URL on private network. Gpio is controlled by wiringpi and php, it was a super simple
gpio -g mode 6 out
<?php
exec("gpio -g write 6 1");
sleep(3);
exec("gpio -g write 6 0");
?>
It's not opto-isolated but super handy and fun to play with for low voltage stuff. Planning to use this circuit to drive stack lights, probably using an embedded atmega to keep the cost down.
Costs about $1 or so worth of components