Saturday, October 19, 2013

Easy Connection between PC and Raspberry Pi with USB to Serial Dongle

I was frustrated with Wi-Fi connection between PC and Raspberry Pi (RPi) when I use RPi outdoors. First, I needed network setup. It was frequently troublesome.

I looked for an easier way. Using USB2Serial dongle would be one of the ways.

Connection using USB to Serial dongle


I bought USB to Serial dongle from Amazon. It cost about $11, not so expensive.


NooElec PL2303 USB to Serial (TTL) Module/Adapter

Download and Install driver

To connect from PC to RPi, you need to download and install driver software here. I'm using Mac. The above product has drivers for Windows/Android/Mac.

Cable Connection

Cable connection is easy. You just connect three pins - GND, TX, and RX. RPi pin assignment is here.


USB to SerialRaspberry Pi
GNDGND(P1.6)
RXDUART_TXD(P1.8)
TXDUART_RXD(P1.10)

Connect with a Terminal Program

After the above setup, you can connect with your terminal program.
  • Baud Rate: 115200
  • Bits: 8
  • Parity: None
  • Stop Bits: 1
  • Flow Control: None

2 comments:

  1. can you give your email address, i have some trouble and I need your help!
    Thanks.

    ReplyDelete
    Replies
    1. What's happened? You can leave your comment here :-)

      Delete