Raspberry Pi Serial TTY Console: Difference between revisions

From KlavoWiki
Jump to navigationJump to search
Created page with "Using a PL2303HXD cable connect 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 t..."
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
Using a PL2303HXD cable connect 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.
= 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 5: Line 7:
</pre>
</pre>


= Enabling/Disabling =
<pre>
<pre>
rpi-serial-console <status|enable|disable>
rpi-serial-console <status|enable|disable>
</pre>
== Configuring Speed ==
<pre>
sudo rpi-serial-console enable 57600
</pre>
= 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 =
{|class="wikitable"
!colspan="2"|Default Settings
|-
!style="text-align:right;"|Speed/Baud
|115200
|-
!style="text-align:right;"|Data Bits
|8
|-
!style="text-align:right;"|Stop Bits
|1
|-
!style="text-align:right;"|Parity
|None
|-
!style="text-align:right;"|Flow
|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>
</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