So I am making something using my arduino uno. The problem is that I need 24 analog inputs and the uno only has 6! This is what I came up with:
If the switches being on or off represents the digital outputs of the Arduino being high or low and the two top power sources represent the analog output from the device that I want to go into the Arduino, I can control which analog output the input is received from. Thus, hopefully, I will get 24 inputs, 6 parallel * 4 serial , the count to 4 will be controlled by 4 of the Arduino's digital out or, if I'm short of pins, two and some logic gates.
Would this work? I can see from the simulation that the voltage changes from the voltage that the bulb receives compared to what goes into the receiver of the transistor. Is there a way to remedy this. Thanks in advance!
If the switches being on or off represents the digital outputs of the Arduino being high or low and the two top power sources represent the analog output from the device that I want to go into the Arduino, I can control which analog output the input is received from. Thus, hopefully, I will get 24 inputs, 6 parallel * 4 serial , the count to 4 will be controlled by 4 of the Arduino's digital out or, if I'm short of pins, two and some logic gates.
Would this work? I can see from the simulation that the voltage changes from the voltage that the bulb receives compared to what goes into the receiver of the transistor. Is there a way to remedy this. Thanks in advance!