> camera controller mudule Is it a module when it goes up, and a mudule when it lands in a puddle ? > http://www.angelfire.com/mech/homerov/rocket/schem.jpg GP4 can be set as a low output, pull GP3 high with a resistor (eg 10k and disable interrupt-on-change, perhaps add a 10n cap to ground if used as /MCLR). GP1, GP2 need pullups too if you're going to use them as active-low switch inputs I'd be wary of using a solenoid on the same supply as the PIC. When it pulls in there will probably be a spike go right through Vcc. I'd add a diode, maybe a BAT46 or 1N914, from 5V to the 78L05 (replacing the short track between the two green dots in the top left of the picture) and a diode, eg 1N4001, from the first green dot to the solenoid. Also add a reservoir cap, say 220uF - 470uF, from the top of the solenoid coil to ground. The coil also needs a reverse 1N914 across it to soak up the spike when the coil de-energises, and you could omit the 0.1uF that's there The 78L05 will not regulate with only 5V input, and can be removed. The 12F675 goes down to 2V and the internal oscillator is fairly stable across the Vcc range -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.