<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Arduino on davepedu.com</title><link>https://davepedu.com/tags/arduino/</link><description>Recent content in Arduino on davepedu.com</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><managingEditor>dave@davepedu.com (dave)</managingEditor><webMaster>dave@davepedu.com (dave)</webMaster><lastBuildDate>Wed, 08 Apr 2015 00:00:00 +0000</lastBuildDate><atom:link href="https://davepedu.com/tags/arduino/index.xml" rel="self" type="application/rss+xml"/><item><title>ch340g usb to ttl/serial for Mac</title><link>https://davepedu.com/blog/2015/04/08/ch340g-usb-to-ttl-serial-for-mac/</link><pubDate>Wed, 08 Apr 2015 00:00:00 +0000</pubDate><author>dave@davepedu.com (dave)</author><guid>https://davepedu.com/blog/2015/04/08/ch340g-usb-to-ttl-serial-for-mac/</guid><description>&lt;p&gt;I bought some USB to TTL adapters on the cheap from China. The OS X driver was a little difficult to track down, but
this thread cracked it: &lt;a href="http://forum.arduino.cc/index.php?topic=261375.0"&gt;http://forum.arduino.cc/index.php?topic=261375.0&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Okay, drivers for mac do exist.
I always see &lt;a href="https://www.wch-ic.com"&gt;www.wch-ic.com&lt;/a&gt; for the driver, but now I searched for &amp;ldquo;ch341ser_mac.zip&amp;rdquo; and found &lt;a href="https://www.wch.cn"&gt;www.wch.cn&lt;/a&gt;
The mac driver is here : &lt;a href="https://web.archive.org/web/20150307024048/http://www.wch.cn/downloads.php?name=pro&amp;amp;proid=178"&gt;http://www.wch.cn/downloads.php?name=pro&amp;amp;proid=178&lt;/a&gt;
The version is from wch.cn is a newer, you should try that one.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;And the second piece:&lt;/p&gt;</description><content>&lt;p&gt;I bought some USB to TTL adapters on the cheap from China. The OS X driver was a little difficult to track down, but
this thread cracked it: &lt;a href="http://forum.arduino.cc/index.php?topic=261375.0"&gt;http://forum.arduino.cc/index.php?topic=261375.0&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Okay, drivers for mac do exist.
I always see &lt;a href="https://www.wch-ic.com"&gt;www.wch-ic.com&lt;/a&gt; for the driver, but now I searched for &amp;ldquo;ch341ser_mac.zip&amp;rdquo; and found &lt;a href="https://www.wch.cn"&gt;www.wch.cn&lt;/a&gt;
The mac driver is here : &lt;a href="https://web.archive.org/web/20150307024048/http://www.wch.cn/downloads.php?name=pro&amp;amp;proid=178"&gt;http://www.wch.cn/downloads.php?name=pro&amp;amp;proid=178&lt;/a&gt;
The version is from wch.cn is a newer, you should try that one.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;And the second piece:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Just to summarise. On Yosemite:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;install the driver&lt;/li&gt;
&lt;li&gt;Run this [in a terminal]: &lt;code&gt;sudo nvram boot-args=&amp;quot;kext-dev-mode=1&amp;quot;&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/blockquote&gt;
&lt;p&gt;Aaand it works!&lt;/p&gt;
&lt;p&gt;&lt;img src="https://davepedu.com/blog/2015/04/08/ch340g-usb-to-ttl-serial-for-mac/img/wch_hu_4d5f22f6766af978.png" alt=""/&gt;&lt;/p&gt;
&lt;p&gt;Also known as &lt;code&gt;/dev/tty.wchusbserial1410&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Edit: Because I keep forgetting what settings to use in the Arduino IDE for this programmer, I&amp;rsquo;ve added them. Note that
these settings are for this
&lt;a href="https://hackaday.com/2013/07/10/build-a-bare-bones-arduino-clone-which-maximizes-its-use-of-real-estate/"&gt;homebrew arduino&lt;/a&gt;,
which supports the ATmega168 and ATmega328. I&amp;rsquo;m using the cheaper 168, but remember to use the right setting if you&amp;rsquo;ve
got the faster chip.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Tools &amp;gt; Board: Arduino Pro or Pro Mini&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Tools &amp;gt; Processor: ATmega168 (5v, 16mhz)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Programmer: AVR ISP&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;</content></item></channel></rss>