p.gholap93
Member
I am making a line follower robot in which I require 20 sensors. Outputs of these sensors are digital (0V on black and +5V on white). The problem is, if I connect directly these 20 ops to ATmega 128 controller I need 20 pins. This in turn leaves lesser no of pins for driving motors and other circuitry. So what should I do? I am thinking of using some MUX or DMUX so that these outputs can be multiplexed on lesser no of pins.