Pages: [1]   Go Down
Author Topic: Analog Pin as Serial interface  (Read 267 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello,

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.
Logged

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 168
Posts: 12425
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

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

Logged

Rob Tillaart

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

Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,

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 ?

Thx.
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 547
Posts: 45982
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
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.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thx PaulS for your reply.

Logged

Pages: [1]   Go Up
Jump to: