Sunday, September 25, 2016

HOWTO connect Arduino UNO and NodeMCU in IDE on Mac OS X

Arduino 

UNO has many clones.  And different clones use different USB to UART chips.

On mine, I have to install a Virtual Com Port (VCP) driver from FTPI and modify the Product ID and Vendor ID in order to get the driver working.

I did it a while ago.  My memory blurred now.  The followings are some references that might help.

http://www.ftdichip.com/Drivers/VCP.htm


use this guide:  http://www.ftdichip.com/Support/Documents/InstallGuides/Mac_OS_X_Installation_Guide.pdf

My current PID and VID.  I recalled steps: 1) found out what PID and VID my board have.  2) use some tool to modify the config. 3) restart driver, something like kextload.  can't remember now.  I have a note somewhere... will update when I found it back.






NodeMcu 

already has a built-in USB to Serial chip CP2102.  standard one.  connected right away.
the only missing thing is the library:

add the URL to download from (similar to ubuntu update server)

need this library

select board type...

... and serial port

that's it. uploadable right away.

Labels: , , , ,

0 Comments:

Post a Comment

<< Home