{"id":242,"date":"2009-12-14T08:49:57","date_gmt":"2009-12-14T14:49:57","guid":{"rendered":"http:\/\/chrismeyer.org\/wordpress\/?p=242"},"modified":"2009-12-14T08:49:57","modified_gmt":"2009-12-14T14:49:57","slug":"i2c-communication-arduino-mega-to-duemilanove","status":"publish","type":"post","link":"https:\/\/chrismeyer.org\/wordpress\/?p=242","title":{"rendered":"I2C Communication Arduino MEGA to Duemilanove"},"content":{"rendered":"<p>If you&#8217;re wondering how to get I2C running from your MEGA to Duemilanove Arduino boards here&#8217;s the scoop:<\/p>\n<p>MEGA Pin 20 is SDA (Serial Data)<\/p>\n<p>Duemilanove Analog Pin 4 is SDA<\/p>\n<p>MEGA Pin 21 is SCL (Serial Clock)<\/p>\n<p>Duemilanove Analog Pin 5 is SCL<\/p>\n<p>Hook up SCL to SCL and SDA to SDA across the boards, also hook up ground between the two boards.\u00a0 You do NOT need to connect the +5V between boards.<\/p>\n<p>You&#8217;ll need\u00a0 SCL and SDA to be pulled up (to +5V with resistors, between 2.2kOhm and 47kOhm), it will run without them but its recommended to make your bus within specification.<\/p>\n<p><a href=\"http:\/\/www.instructables.com\/id\/I2C-between-Arduinos\/\" target=\"_Blank\">Example bus from Instructables<\/a>.<br \/>\n<a href=\"http:\/\/arduino.cc\/en\/Main\/ArduinoBoardMega\" target=\"_Blank\">MEGA Pinout information (search for i2c on the page)<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you&#8217;re wondering how to get I2C running from your MEGA to Duemilanove Arduino boards here&#8217;s the scoop: MEGA Pin 20 is SDA (Serial Data) Duemilanove Analog Pin 4 is SDA MEGA Pin 21 is SCL (Serial Clock) Duemilanove Analog Pin 5 is SCL Hook up SCL to SCL and SDA to SDA across the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[73,78,77],"class_list":["post-242","post","type-post","status-publish","format-standard","hentry","category-electronics","tag-arduino","tag-arduino-duemilanove","tag-arduino-mega"],"_links":{"self":[{"href":"https:\/\/chrismeyer.org\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/242","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/chrismeyer.org\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/chrismeyer.org\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/chrismeyer.org\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/chrismeyer.org\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=242"}],"version-history":[{"count":3,"href":"https:\/\/chrismeyer.org\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/242\/revisions"}],"predecessor-version":[{"id":258,"href":"https:\/\/chrismeyer.org\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/242\/revisions\/258"}],"wp:attachment":[{"href":"https:\/\/chrismeyer.org\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=242"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/chrismeyer.org\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=242"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/chrismeyer.org\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=242"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}