Society of Robots - Robot Forum

General Misc => Misc => Topic started by: Xyver on July 08, 2010, 02:50:36 PM

Title: Quick line follower question
Post by: Xyver on July 08, 2010, 02:50:36 PM
If I was to make a line follower robot with, say, 5 IR LEDS and 5 IR receivers, then does that mean I need to use 5 input pins on an Arduino?  Or is there some way to combine them...
Title: Re: Quick line follower question
Post by: waltr on July 08, 2010, 03:11:09 PM
The easiest is to use 5 inputs pins. There are multiplexing methods but would require a few pins to control therefore you wouldn't save pins for only 5 inputs.