Go Down

Topic: Analog Pin as Serial interface (Read 427 times) previous topic - next topic



I have little trouble about the possibility to use Analog IN Pins (A0 to A5) on Arduino UNO as RX/TX.

Your support is requested.

Thank you for all.


What have you tried sofar?
what did work?
what not?

Tip: you can refer to the analog pins as pin 14-19 .

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)



All Digital Pins are already used and i still need one Serial port. But i have only the Analog IN available.

So my question is :

1/ Can i use Analog IN as Serial port?
2/ How ?



1/ Can i use Analog IN as Serial port?

No. But the analog pins are also digital pins. They are aliased using A0, A1, etc. Just use An where you would use n in the SoftwareSerial constructor call.

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!

via Egeo 16
Torino, 10131