Arduino() doesn't find port on MacOS
jckantor opened this issue · comments
@APMonitor I'm testing with MacOS X (High Sierra) and Python 3.6 (Anaconda distribution). serial.tools.list_ports.comports() doesn't return a list of active ports, therefore Arduino.findport() fails.
One fix, not pretty, would be an optional argument to Arduino() to specify a port. If a port was specified, then findPort() wouldn't need to be called. The placeholder is already there, just need to modify the logic in init
I had issues with the drivers on my computer, solved by installing these drivers.
Thanks for pointing to these drivers for MacOS. I've included a number of other initial setup and configuration tips here http://apmonitor.com/pdc/index.php/Main/ArduinoSetup
One user reported that they don't want to install an additional driver on MacOS, citing a concern about the source of the driver. This user said that they overcame the driver issue by connecting a Raspberry Pi (Linux) to control the device. I suppose this is an option but still not optimal for MacOS users. The Windows and Linux experience seems much easier with respect to drivers. Any additional thoughts on this issue? Should the Hduino Uno be replaced with a different version for MacOS users to help with the driver issue?
I don't see any reason to doubt the validity of the drivers we link to in the README. They work perfectly for all the students and myself who use them with the Mac. I've had much more problems with Windows users with my units. It appears that the real problem is not so much the platform as the specific chips (CH34x).
We switched to Arduino Leonardos to resolve the driver concern. The TCLab now works on Linux, MacOS, and Windows without driver issues.