USB To Serial help

Horney

macrumors member
Original poster
Feb 27, 2011
30
0

Partron22

macrumors 68030
Apr 13, 2011
2,510
719
Yes
I'm doing cu style serial I/O to an Arduino straight through USB, without a serial adaptor cable.
Probably not what you're looking for, but I found the App CoolTerm very useful in sorting out serial problems. You might find it helpful as well.
FWIW, I went thru AppleScript using the SerialPort X extension.

Does your port show up when it's plugged in and you do ls /dev/tty.* or ls /dev/cu.* from Terminal app?
 
Last edited:

rachalmers

macrumors member
Oct 21, 2012
46
2
UK
I'm doing cu style serial I/O to an Arduino straight through USB, without a serial adaptor cable.
Probably not what you're looking for, but I found the App CoolTerm very useful in sorting out serial problems. You might find it helpful as well.
FWIW, I went thru AppleScript using the SerialPort X extension.

Does your port show up when it's plugged in and you do ls /dev/tty.* or ls /dev/cu.* from Terminal app?

Hi,
Can you tell me how you do the serial through the usb port to the Arduino. I have the same set up here and have been breaking my brain trying to get USB/RS232 going on the Mavericks.
thanks
Robert
 

Partron22

macrumors 68030
Apr 13, 2011
2,510
719
Yes
Which Arduino?
I needed to download FTDI serial drivers for my Duemilanoves. Newer Arduinos don't need them.
General guide-> http://arduino.cc/en/guide/macOSX
The drivers -> http://www.ftdichip.com/Drivers/VCP.htm

This thread at Stack Exchange is helpful: http://stackoverflow.com/questions/14976339/write-to-macs-serial-port-to-talk-to-arduino-fopen-dev-tty-usbmodem1431-han

Also see the Arduino stack for more useful Mac stuff: http://arduino.stackexchange.com/

Sandboxing turns out to be a problem for talking thru serial to an Arduino in Mavericks. Even with USB allowed, it prevents a serial connection.
I needed to add an entitlement manually:
com.apple.security.device.serial true
For a list of such entitlements an Arduino may need to get by see
http://soule.me/shared-mac-app-store-sandboxing-for-apps-that-work-with-arduino/
 

crjackson2134

macrumors 601
Mar 6, 2013
4,598
1,705
Charlotte, NC
I never could get an adaptor to work fully for my needs, so I purchased this AXXON PCIe Card instead. It works just like the old days before USB. It's not listed on the Advert. but it's completely compatible with every version of OSX I've tried (ML, MAV, YO), no drivers needed.
 

mikeboss

macrumors 65816
Aug 13, 2009
1,275
452
switzerland
thank you for your hint about the app "Serial". this looks great so far. I switched to a RS-232 PCIe card based solution (card works with OS X out of the box) because I had enough of the problems with drivers. also I have bought ZOC from EmTec, this combination never let me down. of course this won't work with the MacBook Air...

now i got my USB <-> RS-232 adapters out of my drawer to test with Serial.app. and much to my surprise I see that OS X 10.9.4 has built-in support for FTDI adapters! since when does OS X support USB-serial adapters out of the box??? :eek:

anyway, thanks again for the hint.

regards,
michael