Problems with port COM4 and MacOS

hi everyone! I'm kinda new using Arduino and as my first project I am creating a sonar with an ultrasonic sensor.

. I have been following a project found on internet with an Arduino code that works well and a code to use on Processing for a visual interface. This last one is creating me some problems because it can not find the serial port COM4 (I guess because I'm running it from a Mac). Can anyone help me telling me which port can I use instead of the COM4?

Not sure but COM4 is a Windoz serial port designation. Try this on a MAC: open a Terminal window, type ls /dev/tty.usb* That should show what is there. There are different drivers for the MAC so this may not work.

hey! I tried with ls /dev/tty.usb* but it only tells me "no matches found"

That is the best I can do, I am a Linux person.

i understand, thank you very much anyway! :slight_smile:

If it is plugged in, try searching for /dev/cu.* (apparently stands for "calling unit"). For example, one of my ESP32 boards is /dev/cu.usbserial-54780086211

1 Like

oki, I'm gonna try tonight, for now I resolved doing the tests on an another pc that runs windows, but I'm more comfortable on Mac so tonight I try this command!

I tried and I actually solved the problem this way! so thanks a lot! :smiley:

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.