Society of Robots - Robot Forum

Electronics => Electronics => Topic started by: blindmind on November 08, 2006, 12:39:36 PM

Title: need help on microswitch output
Post by: blindmind on November 08, 2006, 12:39:36 PM
i need help. i have connected two micrositches which act likeĀ  whiskers, to detect obstacle, to a basic stamps input ports. there is no problem when the output is giving value 1. it gives constant all the time. but, when 0....it fluctuates.not constant 0 instead a combination of 1 and 0 values. so, when this happen...at certain conditions,the motors seem to be stucked, not knowing which direction to go for.


i need to know what can i do to make the 0's to be all zeros instead of the combinations number of 0 and 1.pls help me. im in the state of giving up thinking after tried many attempst to fix it. :'(


thank you
Title: Re: need help on microswitch output
Post by: blindmind on November 08, 2006, 03:13:27 PM
silly me....just ignore this post. the microswitch has three terminals NC, NO and Common.....

i totally forgot to connect either the NO or NC with the ground. after connctd, the 0s are always 0s. muahahahaha :D ;)