a little while ago I designed a simple circuit for a friend which involves 4x6 switches multiplexed with an arduino. Later she decided she wants to press more than one switch at a time, which causes problems as joining two of the group pins together pulls them both up to 5V. To get around this I though I would try one of the 74HC4066N analog switches I have lying around to switch each of the four group pins in so that any one group pin is connected only at the point when the arduino is checking that group (my multiplexing is just a simple routine to turn one group on, check each 6 pins in turn, turn the second group on, check the 6 pins again etc.) meaning that the group pins are now isolated from each other
however, when I connect two of the outputs of the 4066 together it locks up and i get pretty much 5V at both! Why might this happen? Should I persevere or is this the wrong chip for the job?
I have attached a screenshot to give a rough idea of how I have the chips connected - I haven't included all the switches, as this is how i've been testing the circuit. also the pic16f83 is actually an arduino but i didn't have one in the library....
however, when I connect two of the outputs of the 4066 together it locks up and i get pretty much 5V at both! Why might this happen? Should I persevere or is this the wrong chip for the job?
I have attached a screenshot to give a rough idea of how I have the chips connected - I haven't included all the switches, as this is how i've been testing the circuit. also the pic16f83 is actually an arduino but i didn't have one in the library....
Attachments
-
150 KB Views: 175