Go Down

Topic: Can Arduino Mega 1280 get input from more than 16 potentiometers? (Read 339 times) previous topic - next topic

SpaceOne

Can Arduino Mega 1280 get input from more than 16 potentiometers?

The Arduino Mega 1280 has 16 analog inputs, can the digital in/out be used to get data from potentiometers?

I need to get data from 25 potentiometers.


pylon

You can use a few digital outputs and an external analog multiplexer to switch multiple analog sources to a single analog input of the Arduino. The Arduino's analog inputs do the same by the way, they just have an internal multiplexer.

Example: http://playground.arduino.cc/learning/4051

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy