I need to read 16 color sensors(TCS3210) one after another. So I am thinking of connecting all the outputs to a single atmega32 i/o pin and selecting a sensor using a demux showing low on the output enable bar of the sensor to be read. So only one is putting output and rest all have their output disabled.
The output is a square wave whose frequency is to be read (I use the hardware timer/counters of the atmega32 to count number of low to high transitions in 100 milli secs to calculate the frequency). So is this is a good idea? Can I connect all the lines together or should I have something in between?
Also I will be connecting a single I/O pin of microcontroller to input pins of all sensor?Again can I do this?