Using UC-232AC USB to serial adapter on a Apple Mac

The purpose of this blog post is to show the steps required on how to add the UC-232a USB to serial cable to your Apple MAC and then how to configure a profile so you don’t have to enter the commands again. I have had to do this a lot recently due to issues with my MAC so I thought I would document my own workflow on this process.

Step 1: Go  here and download the required drivers under Support & DownloadsYScreen Shot 2019-10-21 at 6.39.07 am.png

Step 2: Install the driver for the UC232a USB to serial cable it will require a reboot of your computer

Step 3: Open a terminal session, press command key and space then type “terminal” once located hit enter

Step 4: plug in UC-232AC USB to serial adapter into MAC

Step 5: In terminal program type:

$  ls /dev/cu.*

Located the /dev/cu.UC-232AC  as per below.Screen Shot 2019-10-21 at 6.40.12 am.png

Step 6: Type,

$  screen /dev/cu.UC-232AC 9600

Screen Shot 2019-10-21 at 6.43.04 am.png

And Now you should have CLU access to your device

Screen Shot 2019-10-21 at 6.46.58 am.png

If the below message is displayed in Terminal, dis-connect and reconnect  your USB to serial cable ;

Screen Shot 2019-10-21 at 6.47.20 am.png

Now to create a profile so you do not have to continually enter the commands

Step 6: Click on Terminal and select ” Preferences…”

Step 7: In the ” Profiles section” Click “+” icon located bottom left corner

Step 8: Type in your profile name i.e ” USB Serial”

Step 9 : In the shell tab that is part of your new profile you created, click “Run command” and enter in the text field: screen /dev/cu.UC-232AC 9600

Screen Shot 2019-10-21 at 6.54.06 am.png

Then close the window

Step 10: Right click on the terminal icon and go to ” New window with Profile” and select the profile you created

Screen Shot 2019-10-21 at 6.53.49 am.png

Now you should have CLI access to your device.

Screen Shot 2019-10-21 at 6.46.58 am.png

If the below message is displayed in Terminal disconnect and reconnect your usb to serial cable

Screen Shot 2019-10-21 at 6.47.20 am.png

 

That is it.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: