{"id":503,"date":"2016-12-25T07:03:52","date_gmt":"2016-12-25T07:03:52","guid":{"rendered":"https:\/\/www.kolkataonweb.com\/code-bank\/?p=503"},"modified":"2017-04-12T18:25:22","modified_gmt":"2017-04-12T17:25:22","slug":"arduino-and-cayenne-using-usb","status":"publish","type":"post","link":"https:\/\/www.kolkataonweb.com\/code-bank\/arduino\/arduino-and-cayenne-using-usb\/","title":{"rendered":"Arduino and Cayenne using USB"},"content":{"rendered":"<p>If Cayenne library is not available in your Arduino IDE library list then update your Arduino IDE.<\/p>\n<p>The steps for connection and setting up are available in the Cayenne (mydevices.com). After connecting the Arduino using USB, a batch\/script file needs to be run on the system, otherwise Cayenne will not be able to connect to Arduino.<\/p>\n<pre class='wp-code-highlight prettyprint'><strong>Windows:<\/strong> \r\n&gt; cd C:\\Users\\&lt;uername&gt;\\Documents\\Arduino\\libraries\\Cayenne\\extras\\scripts\\\r\n&gt; cayenne-ser.bat -c COM21  \/\/ Replace COM21 with your Serial Port number to which Arduino is connected.\r\n\r\n<strong>Linux:<\/strong>\r\nI haven't tried this on Linux system yet.\r\nThe script file name for linux is <em>cayenne-ser.sh<\/em><\/pre>\n<p>The script needs to be stopped before transferring binary (codes) to the Arduino else, Arduino IDE will complain &#8211; port busy or not accessible.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If Cayenne library is not available in your Arduino IDE library list then update your Arduino IDE. The steps for connection and setting up are available in the Cayenne (mydevices.com). After connecting the Arduino using USB, a batch\/script file needs to be run on the system, otherwise Cayenne will not be able to connect to&hellip; <a class=\"more-link\" href=\"https:\/\/www.kolkataonweb.com\/code-bank\/arduino\/arduino-and-cayenne-using-usb\/\">Continue reading <span class=\"screen-reader-text\">Arduino and Cayenne using USB<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10,81],"tags":[93,94],"class_list":["post-503","post","type-post","status-publish","format-standard","hentry","category-arduino","category-cayenne","tag-cayenne","tag-mydevices-com","entry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.kolkataonweb.com\/code-bank\/wp-json\/wp\/v2\/posts\/503","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kolkataonweb.com\/code-bank\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kolkataonweb.com\/code-bank\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kolkataonweb.com\/code-bank\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kolkataonweb.com\/code-bank\/wp-json\/wp\/v2\/comments?post=503"}],"version-history":[{"count":1,"href":"https:\/\/www.kolkataonweb.com\/code-bank\/wp-json\/wp\/v2\/posts\/503\/revisions"}],"predecessor-version":[{"id":504,"href":"https:\/\/www.kolkataonweb.com\/code-bank\/wp-json\/wp\/v2\/posts\/503\/revisions\/504"}],"wp:attachment":[{"href":"https:\/\/www.kolkataonweb.com\/code-bank\/wp-json\/wp\/v2\/media?parent=503"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kolkataonweb.com\/code-bank\/wp-json\/wp\/v2\/categories?post=503"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kolkataonweb.com\/code-bank\/wp-json\/wp\/v2\/tags?post=503"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}