Raspberry Pi Serial TTY Console: Difference between revisions

From KlavoWiki
Jump to navigationJump to search
No edit summary
No edit summary
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 38: Line 39:
|}
|}


= 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]]

Revision as of 05:39, 19 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

Connection Settings

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

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