Raspberry Pi Serial TTY Console: Difference between revisions

From KlavoWiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
Using a PL2303HXD cable connection to a USB port on the computer.  I bought mine form eBay for around AU$6. Make sure you get the PL2303HXD and not the PL2303HX.  Note the D on the end of the model number.
Using a PL2303HXD cable connection to a USB port on the computer.  I bought mine form eBay for around AU$6. Make sure you get the PL2303HXD and not the PL2303HX.  Note the D on the end of the model number.
= Installing =
= rPi Enabling TTY =
By default the Debian images from Raspberry Pi have this option enabled.  If you are using other images like DietPi then you will need to enable this feature within the operating system.
<pre>
<pre>
sudo wget https://raw.githubusercontent.com/lurch/rpi-serial-console/master/rpi-serial-console -O /usr/bin/rpi-serial-console
sudo wget https://raw.githubusercontent.com/lurch/rpi-serial-console/master/rpi-serial-console -O /usr/bin/rpi-serial-console
Line 16: Line 17:
</pre>
</pre>


= Connection Settings =
= Physical Connection =
This connection is based on the A+ and B+ as the header size is different to the A and B version of the rPi.
[[File:TTL-Serial.jpg|450px]]
 
= Software Connection Settings =




Line 35: Line 40:
|-
|-
!style="text-align:right;"|Flow
!style="text-align:right;"|Flow
|XON/XOFF
|None
|}
|}


= Windows Driver =
Install the driver in Windows so the operating system know about the USB TTL device. <br />
Download the 1.12.0 (2015-10-7) PL2303 Windows [http://www.prolific.com.tw/admin/Technology/GetFile.ashx?fileID=232 driver].
<pre>
http://www.prolific.com.tw/US/ShowProduct.aspx?p_id=225&pcid=41
</pre>


[[Category : Raspberry Pi]]
[[Category : Raspberry Pi]]

Latest revision as of 05:07, 23 January 2016

Using a PL2303HXD cable connection to a USB port on the computer. I bought mine form eBay for around AU$6. Make sure you get the PL2303HXD and not the PL2303HX. Note the D on the end of the model number.

rPi Enabling TTY

By default the Debian images from Raspberry Pi have this option enabled. If you are using other images like DietPi then you will need to enable this feature within the operating system.

sudo wget https://raw.githubusercontent.com/lurch/rpi-serial-console/master/rpi-serial-console -O /usr/bin/rpi-serial-console
sudo chmod +x /usr/bin/rpi-serial-console

Enabling/Disabling

rpi-serial-console <status|enable|disable>

Configuring Speed

sudo rpi-serial-console enable 57600

Physical Connection

This connection is based on the A+ and B+ as the header size is different to the A and B version of the rPi.

Software Connection Settings

Default Settings
Speed/Baud 115200
Data Bits 8
Stop Bits 1
Parity None
Flow None

Windows Driver

Install the driver in Windows so the operating system know about the USB TTL device.
Download the 1.12.0 (2015-10-7) PL2303 Windows driver.

http://www.prolific.com.tw/US/ShowProduct.aspx?p_id=225&pcid=41