complete newbie here. Can someone please tell me what /dev/ttyAMA0. I read that it is the TxRx pins. But what is it? is it used to refer to the pins or their address? is it explicitly the Rx or the tx pin?
Asked
Active
Viewed 7.8k times
18
-
related: What is the difference between ttys0, ttyUSB0 and ttyAMA0 in Linux?. – Ciro Santilli OurBigBook.com Apr 30 '18 at 16:55
1 Answers
17
@Milliways had the best answer in my opinion. His answer can be found here: Link given here
ttyAMA0 can be the Tx, Rx pins for the Raspberry. But for the Raspberry Pi 3b it was used for the Bluetooth. Because of this, pins 8 & 10 were using the miniUART which is labeled ttyS0 (unless you disable the Bluetooth which has instructions in that link in the beginning of this post)
So to answer you question, it can refer to pins 8 and 10 if you disable the Bluetooth. It is both the RX and TX pins as it refers to the device it self, which contains both pins.
I hope this and the answer by Milliways helps you out.

Rayaarito
- 321
- 2
- 8
-
this was hugely helpful. @Milliways gives a comprehensive answer and your answer made sense to what he was talking about. Thanks a lot. I am a complete novice to Rpi and everybit is very intimidating. However I am trying my best to get a good grasp of it. I was wondering if you could send me your mail Id, if you dont mind me contacting you directly for any future doubts. :) – Hrithu Olickel Arumaraj Jul 24 '17 at 11:08
-
No problem. Glad I could be of some assistance. Be sure to click the answer button so when other people are searching for similar questions, they can see that this question was answered. It'll make their searches easire. – Rayaarito Jul 26 '17 at 22:08