{"id":31,"date":"2011-09-26T12:59:20","date_gmt":"2011-09-26T10:59:20","guid":{"rendered":"https:\/\/www.raulet.net\/WP\/?p=31"},"modified":"2011-09-27T09:09:50","modified_gmt":"2011-09-27T07:09:50","slug":"module-ethernet","status":"publish","type":"post","link":"https:\/\/www.raulet.net\/WP\/module-ethernet\/","title":{"rendered":"Module ethernet"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignright\" style=\"display: block;\" src=\"http:\/\/www.raulet.net\/WP\/wp-content\/uploads\/2011\/09\/wpid-IMAG0139.jpg\" alt=\"image\" width=\"168\" height=\"280\" \/><br \/>\nCe module est arriv\u00e9 lundi midi. (26\/09\/2011)<\/p>\n<p>Article tr\u00e8s int\u00e9ressant au sujet de ce module : <a title=\"ENC28J60 ETHERNET BREAKOUT BOARD\" href=\"http:\/\/dereenigne.org\/tag\/enc28j60\" target=\"_blank\">http:\/\/dereenigne.org\/tag\/enc28j60<\/a><\/p>\n<p>Pour interfacer ce module avec l&rsquo;arduino, il faut utiliser les broche \u00ab\u00a0SPI\u00a0\u00bb et une broche \u00ab\u00a0interrupts\u00a0\u00bb.<\/p>\n<p>Le challenge rigolo avec ce bidule, c&rsquo;est qu&rsquo;il fonctionne en 3.3v. Cette tension est facile \u00e0 fournir pour l&rsquo;alimentation, mais ca se complique s\u00e9rieusement quand il faut communiquer avec l&rsquo;arduino qui lui, est en 5v. Dans certains cas, il semble que ces 2 composants communiquent sans probl\u00e8me, donc sans composant d&rsquo;adaptation au milieu. (74HCT08 par exemple)<\/p>\n<h2>Petit rappel des fonctions compl\u00e9mentaires utilisant des broches du contr\u00f4leur :<\/h2>\n<ul>\n<li><strong>Serial: 0 (RX) and 1 (TX).<\/strong>\u00a0Used to receive (RX) and transmit (TX) TTL serial data. These pins are connected to the corresponding pins of the\u00a0ATmega8U2\u00a0USB-to-TTL Serial chip.<\/li>\n<li><strong>External Interrupts: 2 and 3.<\/strong>\u00a0These pins can be configured to trigger an interrupt on a low value, a rising or falling edge, or a change in value. See the\u00a0<a href=\"http:\/\/arduino.cc\/en\/Reference\/AttachInterrupt\">attachInterrupt()<\/a>\u00a0function for details.<\/li>\n<li><strong>PWM: 3, 5, 6, 9, 10, and 11.<\/strong>\u00a0Provide 8-bit PWM output with the\u00a0<a href=\"http:\/\/arduino.cc\/en\/Reference\/AnalogWrite\">analogWrite()<\/a>\u00a0function.<\/li>\n<li><strong>SPI: 10 (SS), 11 (MOSI), 12 (MISO), 13 (SCK).<\/strong>\u00a0These pins support SPI communication using the\u00a0<a href=\"http:\/\/arduino.cc\/en\/Reference\/SPI\">SPI library<\/a>.<\/li>\n<li><strong>TWI: A4 (SDA) and A5 (SCL).<\/strong>\u00a0Support TWI communication using the\u00a0<a href=\"http:\/\/arduino.cc\/en\/Reference\/Wire\">Wire library<\/a>.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Ce module est arriv\u00e9 lundi midi. (26\/09\/2011) Article tr\u00e8s int\u00e9ressant au sujet de ce module : http:\/\/dereenigne.org\/tag\/enc28j60 Pour interfacer ce [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[3],"tags":[],"class_list":["post-31","post","type-post","status-publish","format-standard","hentry","category-arduino"],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false},"uagb_author_info":{"display_name":"arnaud","author_link":"https:\/\/www.raulet.net\/WP\/author\/arnaud\/"},"uagb_comment_info":0,"uagb_excerpt":"Ce module est arriv\u00e9 lundi midi. (26\/09\/2011) Article tr\u00e8s int\u00e9ressant au sujet de ce module : http:\/\/dereenigne.org\/tag\/enc28j60 Pour interfacer ce [&hellip;]","_links":{"self":[{"href":"https:\/\/www.raulet.net\/WP\/wp-json\/wp\/v2\/posts\/31","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.raulet.net\/WP\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.raulet.net\/WP\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.raulet.net\/WP\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.raulet.net\/WP\/wp-json\/wp\/v2\/comments?post=31"}],"version-history":[{"count":8,"href":"https:\/\/www.raulet.net\/WP\/wp-json\/wp\/v2\/posts\/31\/revisions"}],"predecessor-version":[{"id":39,"href":"https:\/\/www.raulet.net\/WP\/wp-json\/wp\/v2\/posts\/31\/revisions\/39"}],"wp:attachment":[{"href":"https:\/\/www.raulet.net\/WP\/wp-json\/wp\/v2\/media?parent=31"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.raulet.net\/WP\/wp-json\/wp\/v2\/categories?post=31"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.raulet.net\/WP\/wp-json\/wp\/v2\/tags?post=31"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}