How to connect a Raspberry Pi to OSX 10.11 El Capitan via USB Cable

By | April 21, 2016

If you want to connect your raspberry pi to your Mac with a USB to TTY cable, the easiest and quickest way is to visit the Profilic website and grab the right driver.

This is assuming your USB to TTL Serial Cable is running a PL2303 chip like this one here: http://www.adafruit.com/product/954.

On this page, download the driver relevant to your OS. Mine was PL2303_MacOSX_1.6.1_20160309.zip.

Screen Shot 2016-04-21 at 2.24.24 PMYou then see the following 3 files. Read the pdf first to go through the installation process which is essentially a wizard of the .pkg file.

Don’t plug in the cable yet. You’ll have to restart your computer, then plug in the cable and open up terminal to search for the usb device.

In terminal, search for tty.usb* via:

> ls /dev/tty.usb*

You should get something like this:

Screen Shot 2016-04-21 at 2.29.26 PM

To connect to your pi, you’ll want to run this command:

> screen /dev/cu.usbserial 115200

You’ll get a blank screen. Hitting enter will bring up the raspberry pi log in screen.

Warning

One issue I did have was that when I terminated the screen and tried to run the screen command again, it wouldn’t work and the screen PID consumed 100% CPU. Then to make matters worse, I couldn’t force kill the thread at all. I couldn’t even do a reboot. I had to do a force reboot via fn + cmd + pwr. Crazy!

References:

 

Leave a Reply

Your email address will not be published. Required fields are marked *