{"id":2338,"date":"2024-06-20T08:17:23","date_gmt":"2024-06-20T06:17:23","guid":{"rendered":"https:\/\/www.domotic.phdata.fr\/domotic\/?p=2338"},"modified":"2024-06-24T11:09:25","modified_gmt":"2024-06-24T09:09:25","slug":"i2c","status":"publish","type":"post","link":"https:\/\/www.domotic.phdata.fr\/domotic\/i2c\/","title":{"rendered":"I2C"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"2338\" class=\"elementor elementor-2338\">\n\t\t\t\t<div class=\"elementor-element elementor-element-3831f71 e-flex e-con-boxed e-con e-parent\" data-id=\"3831f71\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-7337651d elementor-widget elementor-widget-image\" data-id=\"7337651d\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"231\" height=\"209\" src=\"https:\/\/www.domotic.phdata.fr\/domotic\/wp-content\/uploads\/2024\/06\/I2C.png\" class=\"attachment-large size-large wp-image-2346\" alt=\"\" srcset=\"https:\/\/www.domotic.phdata.fr\/domotic\/wp-content\/uploads\/2024\/06\/I2C.png 231w, https:\/\/www.domotic.phdata.fr\/domotic\/wp-content\/uploads\/2024\/06\/I2C-150x136.png 150w\" sizes=\"(max-width: 231px) 100vw, 231px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-5d2acabb e-flex e-con-boxed e-con e-parent\" data-id=\"5d2acabb\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-570d7a11 elementor-widget elementor-widget-text-editor\" data-id=\"570d7a11\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-43d4c098 e-flex e-con-boxed e-con e-parent\" data-id=\"43d4c098\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t<div class=\"elementor-element elementor-element-54b03f7e e-con-full e-flex e-con e-child\" data-id=\"54b03f7e\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-637d518e elementor-widget elementor-widget-image\" data-id=\"637d518e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"280\" height=\"280\" src=\"https:\/\/www.domotic.phdata.fr\/domotic\/wp-content\/uploads\/2024\/06\/logo-i2c.png\" class=\"attachment-large size-large wp-image-2347\" alt=\"\" srcset=\"https:\/\/www.domotic.phdata.fr\/domotic\/wp-content\/uploads\/2024\/06\/logo-i2c.png 280w, https:\/\/www.domotic.phdata.fr\/domotic\/wp-content\/uploads\/2024\/06\/logo-i2c-150x150.png 150w\" sizes=\"(max-width: 280px) 100vw, 280px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-1a04aa7e e-con-full e-flex e-con e-child\" data-id=\"1a04aa7e\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-34bed3c2 elementor-widget elementor-widget-heading\" data-id=\"34bed3c2\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h1 class=\"elementor-heading-title elementor-size-default\">Protocole I2C<\/h1>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-54b0f08 e-flex e-con-boxed e-con e-parent\" data-id=\"54b0f08\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-47dac50 elementor-widget__width-initial elementor-widget elementor-widget-text-editor\" data-id=\"47dac50\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Le protocole I2C (Inter-Integrated Circuit) est un protocole de communication s\u00e9rie utilis\u00e9 pour interconnecter plusieurs composants \u00e9lectroniques sur une m\u00eame carte de circuit imprim\u00e9 (PCB) ou sur un circuit int\u00e9gr\u00e9. D\u00e9velopp\u00e9 par Philips (maintenant NXP Semiconductors), il est largement utilis\u00e9 dans les syst\u00e8mes \u00e9lectroniques pour sa simplicit\u00e9 et son efficacit\u00e9.<\/p><h3>Principes de base du protocole I2C :<\/h3><ol><li><strong>Ma\u00eetre-Esclave :<\/strong> Le protocole I2C utilise un sch\u00e9ma ma\u00eetre-esclave o\u00f9 un ou plusieurs composants ma\u00eetres contr\u00f4lent les communications avec plusieurs composants esclaves.<\/li><li><strong>Lignes de communication :<\/strong> Le protocole I2C utilise deux lignes de communication :<ul><li>SDA (Serial Data) : La ligne de donn\u00e9es s\u00e9rie pour transmettre les donn\u00e9es.<\/li><li>SCL (Serial Clock) : La ligne d&rsquo;horloge s\u00e9rie pour synchroniser la transmission des donn\u00e9es.<\/li><\/ul><\/li><li><strong>Transmission de donn\u00e9es :<\/strong> Les donn\u00e9es sont envoy\u00e9es en s\u00e9rie, bit par bit, sur la ligne SDA. La synchronisation est r\u00e9alis\u00e9e par l&rsquo;horloge g\u00e9n\u00e9r\u00e9e sur la ligne SCL.<\/li><li><strong>Adressage des p\u00e9riph\u00e9riques :<\/strong> Chaque p\u00e9riph\u00e9rique connect\u00e9 au bus I2C poss\u00e8de une adresse unique. L&rsquo;adresse est utilis\u00e9e par le ma\u00eetre pour s\u00e9lectionner le p\u00e9riph\u00e9rique avec lequel il souhaite communiquer.<\/li><li><strong>Protocole de communication :<\/strong> Le protocole I2C utilise une s\u00e9quence de d\u00e9marrage (START), d&rsquo;adresse, de donn\u00e9es et d&rsquo;arr\u00eat (STOP) pour chaque transaction de communication.<\/li><\/ol><h3>Avantages du protocole I2C :<\/h3><ul><li><strong>Simplicit\u00e9 :<\/strong> Le protocole I2C est facile \u00e0 impl\u00e9menter et \u00e0 comprendre, ce qui en fait un choix populaire pour les syst\u00e8mes \u00e9lectroniques.<\/li><li><strong>Flexibilit\u00e9 :<\/strong> Il permet la communication entre plusieurs composants sur un seul bus, r\u00e9duisant ainsi le nombre de connexions n\u00e9cessaires.<\/li><li><strong>Interop\u00e9rabilit\u00e9 :<\/strong> \u00c9tant un standard largement adopt\u00e9, de nombreux composants prennent en charge le protocole I2C, ce qui facilite l&rsquo;interop\u00e9rabilit\u00e9 entre les diff\u00e9rents p\u00e9riph\u00e9riques.<\/li><\/ul><h3>Limitations du protocole I2C :<\/h3><ul><li><strong>Vitesse de transmission limit\u00e9e :<\/strong> La vitesse de transmission est limit\u00e9e, ce qui peut poser probl\u00e8me dans les applications n\u00e9cessitant des transferts de donn\u00e9es rapides.<\/li><li><strong>Longueur du bus limit\u00e9e :<\/strong> La longueur du bus I2C est limit\u00e9e en raison de la capacit\u00e9 de charge des lignes de donn\u00e9es.<\/li><\/ul><h3>Exemples d&rsquo;applications :<\/h3><ul><li><strong>Capteurs :<\/strong> Les capteurs de temp\u00e9rature, d&rsquo;humidit\u00e9, de pression, etc., utilisent souvent le protocole I2C pour communiquer avec le microcontr\u00f4leur.<\/li><li><strong>\u00c9crans LCD et OLED :<\/strong> Les \u00e9crans utilisent le protocole I2C pour recevoir des commandes et des donn\u00e9es d&rsquo;affichage.<\/li><li><strong>M\u00e9moires EEPROM :<\/strong> Les m\u00e9moires EEPROM utilisent le protocole I2C pour stocker et r\u00e9cup\u00e9rer des donn\u00e9es.<\/li><\/ul><p>En r\u00e9sum\u00e9, le protocole I2C est largement utilis\u00e9 dans de nombreuses applications \u00e9lectroniques en raison de sa simplicit\u00e9, de sa flexibilit\u00e9 et de son interop\u00e9rabilit\u00e9. Il permet la communication efficace entre plusieurs composants sur un bus de donn\u00e9es unique, ce qui en fait un choix populaire pour de nombreux syst\u00e8mes embarqu\u00e9s.<\/p><p><!-- notionvc: 32ddbfc6-3493-4682-9f4c-8a7e51f5ba2e --><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-6fa4bab2 e-flex e-con-boxed e-con e-parent\" data-id=\"6fa4bab2\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-4adfe536 elementor-widget elementor-widget-text-editor\" data-id=\"4adfe536\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"2509\" class=\"elementor elementor-2509\">\n\t\t\t\t<div class=\"elementor-element elementor-element-dc37c4c e-flex e-con-boxed e-con e-parent\" data-id=\"dc37c4c\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;gradient&quot;}\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-31250bc elementor-widget elementor-widget-image\" data-id=\"31250bc\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"1000\" height=\"140\" src=\"https:\/\/www.domotic.phdata.fr\/domotic\/wp-content\/uploads\/2024\/06\/pied-de-page.webp\" class=\"attachment-large size-large wp-image-3167\" alt=\"\" srcset=\"https:\/\/www.domotic.phdata.fr\/domotic\/wp-content\/uploads\/2024\/06\/pied-de-page.webp 1000w, https:\/\/www.domotic.phdata.fr\/domotic\/wp-content\/uploads\/2024\/06\/pied-de-page-300x42.webp 300w, https:\/\/www.domotic.phdata.fr\/domotic\/wp-content\/uploads\/2024\/06\/pied-de-page-768x108.webp 768w, https:\/\/www.domotic.phdata.fr\/domotic\/wp-content\/uploads\/2024\/06\/pied-de-page-150x21.webp 150w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-da41007 elementor-widget elementor-widget-text-editor\" data-id=\"da41007\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p style=\"text-align: center;\"><strong>Domotique &#8211; informatique &#8211; \u00e9lectronique &#8211; dictionnaire &#8211; projets<\/strong><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-8a0e2d2 elementor-widget elementor-widget-text-editor\" data-id=\"8a0e2d2\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Copyright 2024<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Protocole I2C Le protocole I2C (Inter-Integrated Circuit) est un protocole de communication s\u00e9rie utilis\u00e9 pour interconnecter plusieurs composants \u00e9lectroniques sur une m\u00eame carte de circuit imprim\u00e9 (PCB) ou sur un circuit int\u00e9gr\u00e9. D\u00e9velopp\u00e9 par Philips (maintenant NXP Semiconductors), il est largement utilis\u00e9 dans les syst\u00e8mes \u00e9lectroniques pour sa simplicit\u00e9 et son efficacit\u00e9. Principes de base [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_eb_attr":"","ocean_post_layout":"","ocean_both_sidebars_style":"","ocean_both_sidebars_content_width":0,"ocean_both_sidebars_sidebars_width":0,"ocean_sidebar":"","ocean_second_sidebar":"","ocean_disable_margins":"enable","ocean_add_body_class":"","ocean_shortcode_before_top_bar":"","ocean_shortcode_after_top_bar":"","ocean_shortcode_before_header":"","ocean_shortcode_after_header":"","ocean_has_shortcode":"","ocean_shortcode_after_title":"","ocean_shortcode_before_footer_widgets":"","ocean_shortcode_after_footer_widgets":"","ocean_shortcode_before_footer_bottom":"","ocean_shortcode_after_footer_bottom":"","ocean_display_top_bar":"default","ocean_display_header":"default","ocean_header_style":"","ocean_center_header_left_menu":"","ocean_custom_header_template":"","ocean_custom_logo":0,"ocean_custom_retina_logo":0,"ocean_custom_logo_max_width":0,"ocean_custom_logo_tablet_max_width":0,"ocean_custom_logo_mobile_max_width":0,"ocean_custom_logo_max_height":0,"ocean_custom_logo_tablet_max_height":0,"ocean_custom_logo_mobile_max_height":0,"ocean_header_custom_menu":"","ocean_menu_typo_font_family":"","ocean_menu_typo_font_subset":"","ocean_menu_typo_font_size":0,"ocean_menu_typo_font_size_tablet":0,"ocean_menu_typo_font_size_mobile":0,"ocean_menu_typo_font_size_unit":"px","ocean_menu_typo_font_weight":"","ocean_menu_typo_font_weight_tablet":"","ocean_menu_typo_font_weight_mobile":"","ocean_menu_typo_transform":"","ocean_menu_typo_transform_tablet":"","ocean_menu_typo_transform_mobile":"","ocean_menu_typo_line_height":0,"ocean_menu_typo_line_height_tablet":0,"ocean_menu_typo_line_height_mobile":0,"ocean_menu_typo_line_height_unit":"","ocean_menu_typo_spacing":0,"ocean_menu_typo_spacing_tablet":0,"ocean_menu_typo_spacing_mobile":0,"ocean_menu_typo_spacing_unit":"","ocean_menu_link_color":"","ocean_menu_link_color_hover":"","ocean_menu_link_color_active":"","ocean_menu_link_background":"","ocean_menu_link_hover_background":"","ocean_menu_link_active_background":"","ocean_menu_social_links_bg":"","ocean_menu_social_hover_links_bg":"","ocean_menu_social_links_color":"","ocean_menu_social_hover_links_color":"","ocean_disable_title":"default","ocean_disable_heading":"default","ocean_post_title":"","ocean_post_subheading":"","ocean_post_title_style":"","ocean_post_title_background_color":"","ocean_post_title_background":0,"ocean_post_title_bg_image_position":"","ocean_post_title_bg_image_attachment":"","ocean_post_title_bg_image_repeat":"","ocean_post_title_bg_image_size":"","ocean_post_title_height":0,"ocean_post_title_bg_overlay":0.5,"ocean_post_title_bg_overlay_color":"","ocean_disable_breadcrumbs":"default","ocean_breadcrumbs_color":"","ocean_breadcrumbs_separator_color":"","ocean_breadcrumbs_links_color":"","ocean_breadcrumbs_links_hover_color":"","ocean_display_footer_widgets":"default","ocean_display_footer_bottom":"default","ocean_custom_footer_template":"","_jetpack_memberships_contains_paid_content":false,"ocean_post_oembed":"","ocean_post_self_hosted_media":"","ocean_post_video_embed":"","ocean_link_format":"","ocean_link_format_target":"self","ocean_quote_format":"","ocean_quote_format_link":"post","ocean_gallery_link_images":"on","ocean_gallery_id":[],"footnotes":""},"categories":[16],"tags":[],"class_list":["post-2338","post","type-post","status-publish","format-standard","hentry","category-blog","entry"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.domotic.phdata.fr\/domotic\/wp-json\/wp\/v2\/posts\/2338","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.domotic.phdata.fr\/domotic\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.domotic.phdata.fr\/domotic\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.domotic.phdata.fr\/domotic\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.domotic.phdata.fr\/domotic\/wp-json\/wp\/v2\/comments?post=2338"}],"version-history":[{"count":10,"href":"https:\/\/www.domotic.phdata.fr\/domotic\/wp-json\/wp\/v2\/posts\/2338\/revisions"}],"predecessor-version":[{"id":3549,"href":"https:\/\/www.domotic.phdata.fr\/domotic\/wp-json\/wp\/v2\/posts\/2338\/revisions\/3549"}],"wp:attachment":[{"href":"https:\/\/www.domotic.phdata.fr\/domotic\/wp-json\/wp\/v2\/media?parent=2338"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.domotic.phdata.fr\/domotic\/wp-json\/wp\/v2\/categories?post=2338"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.domotic.phdata.fr\/domotic\/wp-json\/wp\/v2\/tags?post=2338"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}