16F88 Sensitivity
Posted: Thu Aug 20, 2009 9:23 pm
hey guys,
i have this simple alarm program that i twisted from flowcode's stock example, it works fine on flowcode, but when i compile it and put it either on the breadboard or the pcb, the "switches terminals"(actual pins) become very sensitive. for example if i have the wires for the switches unplugged, its alright, but then if i tried to plug them in, it'll tripped the alarm...if i try to leave them plugged in, then the alarm will trip the second i set the alarm. i have the switches set to go from lo to hi in flowcode, so all my switches are normally opened switches on my project, it just has me wondering whats going on, i cant even have the switches plugged in or it'll set the alarm off. i was just wondering if there was something i could do about this sensitivity issue either with flowcode or the pic's set up. switch's are from port A1-A4, B7 is power, B6 is alarm led, A0 is reset, and B5 is alarm on/off. thought i'd asked just in case someone has had this issue before, and yes i have researched and still am, alot on static but not too many with pic's and how to wire them up, i guess since there's more than one way.
thanks
i have this simple alarm program that i twisted from flowcode's stock example, it works fine on flowcode, but when i compile it and put it either on the breadboard or the pcb, the "switches terminals"(actual pins) become very sensitive. for example if i have the wires for the switches unplugged, its alright, but then if i tried to plug them in, it'll tripped the alarm...if i try to leave them plugged in, then the alarm will trip the second i set the alarm. i have the switches set to go from lo to hi in flowcode, so all my switches are normally opened switches on my project, it just has me wondering whats going on, i cant even have the switches plugged in or it'll set the alarm off. i was just wondering if there was something i could do about this sensitivity issue either with flowcode or the pic's set up. switch's are from port A1-A4, B7 is power, B6 is alarm led, A0 is reset, and B5 is alarm on/off. thought i'd asked just in case someone has had this issue before, and yes i have researched and still am, alot on static but not too many with pic's and how to wire them up, i guess since there's more than one way.
thanks