Some interesting application guidelines on interfacing the 3,3/5V microcontroller to a 24V world can be found here: http://ichaus.com/wp1_mcu_interface . Relays, lamps, switches, coils or driving laser diodes.
by Aaron Carman
by Jake Hertz
by Jake Hertz