Navigation with Whiskers with Arduino shield: Why are 220 ohm resistors needed?
Hi there,
I'm going through the tutorials for the BOE shield for Arduino kit, and I just added the whiskers. The robot is working great, but I can't figure out why the 220-ohm resistors shown below are needed in the whisker switch circuit. (Circuit diagrams from this page: http://learn.parallax.com/node/237 )
![inside.jpg](http://learn.parallax.com/sites/default/files/content/shield/robo_ch5/inside.jpg)
Isn't something like this all you need:
![5182b949ce395fbe1d000000.jpg](https://dlnmh9ip6v2uc.cloudfront.net/assets/f/c/2/6/c/5182b949ce395fbe1d000000.jpg)
(Image from this Sparkfun tutorial: https://learn.sparkfun.com/tutorials/switch-basics )
Since I couldn't figure out any reason for the 220-ohm resistors to be there, I tried replacing them with wires like in the Sparkfun diagram, and everything still works the same. So why are those resistors there?
thanks!
Carol
I'm going through the tutorials for the BOE shield for Arduino kit, and I just added the whiskers. The robot is working great, but I can't figure out why the 220-ohm resistors shown below are needed in the whisker switch circuit. (Circuit diagrams from this page: http://learn.parallax.com/node/237 )
![inside.jpg](http://learn.parallax.com/sites/default/files/content/shield/robo_ch5/inside.jpg)
Isn't something like this all you need:
![5182b949ce395fbe1d000000.jpg](https://dlnmh9ip6v2uc.cloudfront.net/assets/f/c/2/6/c/5182b949ce395fbe1d000000.jpg)
(Image from this Sparkfun tutorial: https://learn.sparkfun.com/tutorials/switch-basics )
Since I couldn't figure out any reason for the 220-ohm resistors to be there, I tried replacing them with wires like in the Sparkfun diagram, and everything still works the same. So why are those resistors there?
thanks!
Carol
Comments
Carol