Hi guys!
Is it possible to use the communication pins of Mega 2560 (except 0 & 1) as analog input?
I was searching and found some interesting results, mas most of topics were about pins 0 & 1, which I will not use.
Thank you.
Hi guys!
Is it possible to use the communication pins of Mega 2560 (except 0 & 1) as analog input?
I was searching and found some interesting results, mas most of topics were about pins 0 & 1, which I will not use.
Thank you.
Don't know, but pin 0,1 are also connected to the USB<>Serial chip.
The other Serial sets of the Mega are not connected to anything, so it could be ok to use them as GPIO.
The I2C pins of a Mega have physical pull up resistors (10k), so that could be a problem when used as input.
The analogue pins are ofcourse normal digital pins, with the added functionality of analogue-in.
Leo..
Is it possible to use the communication pins of Mega 2560 (except 0 & 1) as analog input?
What does the specification say ?
To me it is clear that the Mega has 16 analogue inputs labelled A0 to A15. Why would you think that you can use other pins for analogue input ?
Ahhh, read it wrong, missed 'analogue'.
No, you can only use the analogue pins for analogue.
But there are analogue muxers, that can expand one analogue input into eight or sixteen inputs.
Leo..