thanks for your response mister_e. i know that the hardware is sufficient for my purposes, but oddly enough the buttons are actually between 5+ and pic,weird.
also, i bought bunch of 9 volts, and still same problem. this only happens when i use the pause command. if the solenoid is programmed to ONLY BE ON WHEN THE BUTTON(on a different port) IS HELD TRUE, it works fine. but if i tell the solenoid to stay high for 1 seconds (PAUSE 1000) the vdd drops to 3.5. dang!
is it possible that some of the power to "help" drive the solenoid and/or PIC, comes from a data port? conversly, will defining (TRISX) to many pins as outputs (not necessarily HIGH), will draw excesive current?
Bookmarks