Clone Arduino Mega/Nano and USB Connection Issue in macOS Sierra

I have purchased Arduino MEGA 2560 with WCH340G chipset (Clone) from AliExpress. Then when i plugged in the Arduino to my Mac, i realized that neither Arduino IDE nor Atom IDE could make a connection from the USB serial. So, i googled the problem and i found a pure and simple solution here. Thank you for the clear instructions to Adrian Mihalko, who is the repository’s owner.

Here are the warnings! Firstly, i ignored the warning and then I encountered an error: kernel panic! Please pay attention to it! 🙂

Mihalko’s Warning : Version 1.3 (2016-09-27) of the OEM driver for the CH34x chipset currently causes a kernel panic (a.k.a. crash) when installed on macOS Sierra. To resolve this issue, please download and install the driver in this repo.

Do not download the driver from official website of the chipset vendor (until the bug is fixed)!

Mihalko’s Note: Latest macOS Sierra-compatible driver for devices using the CH340G, CH34G or CH34X chipset. This chipset is used in several Arduino-clones.

To Dos;

  1. Remove the old drivers (if you have installed before like me:D);
    
    sudo rm -rf /System/Library/Extensions/usb.kext
    
    sudo rm -rf /Library/Extensions/usbserial.kext
    
    
  2. Restart your Mac!
  3. Attach your Arduino to your Mac via USB.
  4. Install CH34x_Install_V1.3.pkg (Next, next, accept and restart your Mac).
  5. And check the connection;
    ls /dev/cu*
    
  6. You should see the serial connection like”/dev/cu.wchusbserial1410“.
  7. That’s it!

Note: I did not have to disable System Integrity Protection.

Note 2: For Arduino Nano, please click here.

For more information please read the reference source;

https://github.com/adrianmihalko/ch340g-ch34g-ch34x-mac-os-x-driver

http://arduino.stackexchange.com/questions/18767/arduino-nano-atmega328p-doesnt-work-on-macbook