> Alex, you don't want to use a transformer because of it's costs or to >save weight and/or space? It's a matter of space. Note the circuit is completely isolated from the= operator (optocoupler). > If cost isn't your problem, I would suggest you to buy a= transformerless >suply for 24V and step-it-down to 5V with a swithed-regulator like LT1173. >You can use an small transistor to switch the relay from the PIC output= and >use the output from the LT1173 to power a 5V circuit up to about 300mA. > LT1173 isn't cheap at about US$3.40 in Brazil. Nah, I need it to be as small and CHEAP as possible :o( Any sugestions? ;o) ---8<---Corte aqui---8<---- Alexandre Souza taito@terra.com.br http://planeta.terra.com.br/lazer/pinball/ ---8<---Corte aqui---8<---- -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu