{"id":10965,"date":"2026-10-06T15:35:40","date_gmt":"2026-10-06T13:35:40","guid":{"rendered":"https:\/\/dev2.alghost.com\/orbit\/?post_type=product&#038;p=10965"},"modified":"2026-10-06T15:35:44","modified_gmt":"2026-10-06T13:35:44","slug":"waveshare-2-23-inch-oled-hat-raspberry-128x32","status":"publish","type":"product","link":"https:\/\/dev2.alghost.com\/orbit\/product\/waveshare-2-23-inch-oled-hat-raspberry-128x32\/","title":{"rendered":"WAVESHARE 2.23 INCH OLED HAT RASPBERRY  128X32"},"content":{"rendered":"<h2><span id=\"Instruction\" class=\"mw-headline\"><span style=\"vertical-align: inherit;\">Instruction<\/span><\/span><\/h2>\n<p><span style=\"vertical-align: inherit;\">Il s&rsquo;agit d&rsquo;un \u00e9cran OLED de 2,23 pouces avec un contr\u00f4leur. Vous pouvez l&rsquo;ajouter directement sur Raspberry Pi par l&rsquo;en-t\u00eate 40 PIN, ou le connecter \u00e0 une autre plateforme mat\u00e9rielle via les interfaces IIC et SPI. L&rsquo;interface du HAT OLED 2,23 pouces est le SPI par d\u00e9faut, vous pouvez \u00e9galement passer \u00e0 I2C en soudant les r\u00e9sistances \u00e0 l&rsquo;arri\u00e8re de l&rsquo;OLED.<\/span><\/p>\n<h2><span id=\"Specification\" class=\"mw-headline\"><span style=\"vertical-align: inherit;\">sp\u00e9cification<\/span><\/span><\/h2>\n<ul>\n<li><span style=\"vertical-align: inherit;\">Contr\u00f4leur : SSD1305<\/span><\/li>\n<li><span style=\"vertical-align: inherit;\">Interface : SPI\/I2C\/OLED<\/span><\/li>\n<li><span style=\"vertical-align: inherit;\">R\u00e9solution: 128*32<\/span><\/li>\n<li><span style=\"vertical-align: inherit;\">Taille de l&rsquo;\u00e9cran : 2,23 pouces<\/span><\/li>\n<li><span style=\"vertical-align: inherit;\">Taille des pixels\u00a0: 0,41\u00a0mm x 0,39\u00a0mm<\/span><\/li>\n<li><span style=\"vertical-align: inherit;\">Couleur d&rsquo;affichage: Blanc<\/span><\/li>\n<li><span style=\"vertical-align: inherit;\">Tension de fonctionnement : 3,3 V<\/span><\/li>\n<li><span style=\"vertical-align: inherit;\">Temp\u00e9rature de fonctionnement : -40 ~ 70 \u2103<\/span><\/li>\n<\/ul>\n<h2><span id=\"PINS\" class=\"mw-headline\"><span style=\"vertical-align: inherit;\">\u00c9PINGLE<\/span><\/span><\/h2>\n<div class=\"thumb tright\">\n<div class=\"thumbinner\">\n<p><a class=\"image\" href=\"https:\/\/www.waveshare.com\/wiki\/File:2.23inch-oled-hat-user-manual-01.png\"><img fetchpriority=\"high\" decoding=\"async\" class=\"thumbimage\" src=\"https:\/\/www.waveshare.com\/w\/wsyabkY\/wsumkb.php?f=2.23inch-oled-hat-user-manual-01.png&amp;width=600\" srcset=\"\/w\/upload\/3\/33\/2.23inch-oled-hat-user-manual-01.png 1.5x\" alt=\"2,23 pouces-oled-hat-user-manual-01.png\" width=\"600\" height=\"290\" data-file-width=\"752\" data-file-height=\"364\" \/><\/a><\/p>\n<div class=\"thumbcaption\">\n<div class=\"magnify\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<table class=\"wikitable\">\n<tbody>\n<tr>\n<th><span style=\"vertical-align: inherit;\">\u00c9PINGLE<\/span><\/th>\n<th><span style=\"vertical-align: inherit;\">Description<\/span><\/th>\n<\/tr>\n<tr>\n<td><span style=\"vertical-align: inherit;\">VCC<\/span><\/td>\n<td><span style=\"vertical-align: inherit;\">3,3 V\/5 V<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"vertical-align: inherit;\">GND<\/span><\/td>\n<td><span style=\"vertical-align: inherit;\">GND<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"vertical-align: inherit;\">DEPUIS<\/span><\/td>\n<td><span style=\"vertical-align: inherit;\">Entr\u00e9e de donn\u00e9es<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"vertical-align: inherit;\">CLK<\/span><\/td>\n<td><span style=\"vertical-align: inherit;\">Entr\u00e9e horloge<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"vertical-align: inherit;\">CS<\/span><\/td>\n<td><span style=\"vertical-align: inherit;\">S\u00e9lection de puce (faible actif)<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"vertical-align: inherit;\">CC<\/span><\/td>\n<td><span style=\"vertical-align: inherit;\">registre \/ S\u00e9lection des donn\u00e9es (SPI)<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"vertical-align: inherit;\">TVD<\/span><\/td>\n<td><span style=\"vertical-align: inherit;\">R\u00e9initialisation (faible actif)<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"vertical-align: inherit;\">Le module utilise le mode de communication SPI par d\u00e9faut, c&rsquo;est-\u00e0-dire que BS1, BS2, DIN, CLK, CS et DS connectent la r\u00e9sistance 0R aux deux plots sup\u00e9rieurs par d\u00e9faut. La m\u00e9thode de soudage illustr\u00e9e dans la figure ci-dessus consiste \u00e0 s\u00e9lectionner la m\u00e9thode de communication I2C. La connexion mat\u00e9rielle sp\u00e9cifique est indiqu\u00e9e dans le tableau suivant : Remarque : L&rsquo;image ci-dessus repr\u00e9sente la soudure sur le mat\u00e9riel, le tableau suivant repr\u00e9sente la connexion mat\u00e9rielle r\u00e9elle.<\/span><\/p>\n<table class=\"wikitable\">\n<tbody>\n<tr>\n<th><span style=\"vertical-align: inherit;\">Communication<\/span><\/th>\n<th><span style=\"vertical-align: inherit;\">BS1<\/span><\/th>\n<th><span style=\"vertical-align: inherit;\">BS2<\/span><\/th>\n<th><span style=\"vertical-align: inherit;\">DEPUIS<\/span><\/th>\n<th><span style=\"vertical-align: inherit;\">CLK<\/span><\/th>\n<th><span style=\"vertical-align: inherit;\">CS<\/span><\/th>\n<th><span style=\"vertical-align: inherit;\">CC<\/span><\/th>\n<\/tr>\n<tr>\n<td><span style=\"vertical-align: inherit;\">IPS<\/span><\/td>\n<td><span style=\"vertical-align: inherit;\">GND<\/span><\/td>\n<td><span style=\"vertical-align: inherit;\">NC<\/span><\/td>\n<td><span style=\"vertical-align: inherit;\">FUM\u00c9E<\/span><\/td>\n<td><span style=\"vertical-align: inherit;\">SCLK<\/span><\/td>\n<td><span style=\"vertical-align: inherit;\">CS<\/span><\/td>\n<td><span style=\"vertical-align: inherit;\">CC<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"vertical-align: inherit;\">12C<\/span><\/td>\n<td><span style=\"vertical-align: inherit;\">3V3<\/span><\/td>\n<td><span style=\"vertical-align: inherit;\">DEPUIS<\/span><\/td>\n<td><span style=\"vertical-align: inherit;\">SDA<\/span><\/td>\n<td><span style=\"vertical-align: inherit;\">SCL<\/span><\/td>\n<td><span style=\"vertical-align: inherit;\">GND<\/span><\/td>\n<td><span style=\"vertical-align: inherit;\">GND<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3><span id=\"Working_principle\" class=\"mw-headline\"><span style=\"vertical-align: inherit;\">Principe de fonctionnement<\/span><\/span><\/h3>\n<ul>\n<li><span style=\"vertical-align: inherit;\">Le SSD1305 est un contr\u00f4leur OLED de 132*64 pixels, mais l&rsquo;OLED n&rsquo;a que 128*32 pixels, donc l&rsquo;\u00e9cran n&rsquo;utilise que la premi\u00e8re partie du cache SSD1305 ;<\/span><\/li>\n<li><span style=\"vertical-align: inherit;\">L&rsquo;OLED prend en charge le parall\u00e8le 8 bits 8080, SPI et I2C, ainsi que d&rsquo;autres m\u00e9thodes de communication, mais compte tenu de la taille du module et de l&rsquo;\u00e9conomie des pr\u00e9cieuses ressources IO du microcontr\u00f4leur, la m\u00e9thode parall\u00e8le 8 bits 8080 est abandonn\u00e9e et prend en charge la m\u00e9thode de communication I2C et SPI.<\/span><\/li>\n<\/ul>\n<h3><span id=\"Communication_Protocol\" class=\"mw-headline\"><span style=\"vertical-align: inherit;\">Protocole de communication <\/span><\/span><span id=\"I2C\" class=\"mw-headline\"><span style=\"vertical-align: inherit;\">I2C<\/span><\/span><\/h3>\n<p><a class=\"image\" href=\"https:\/\/www.waveshare.com\/wiki\/File:Proto.png\"><img decoding=\"async\" src=\"https:\/\/www.waveshare.com\/w\/upload\/c\/c1\/Proto.png\" alt=\"Proto.png\" width=\"828\" height=\"516\" data-file-width=\"828\" data-file-height=\"516\" \/><\/a><\/p>\n<ul>\n<li><span style=\"vertical-align: inherit;\">Pendant la communication I2C, envoyez d&rsquo;abord une adresse de p\u00e9riph\u00e9rique esclave de 7 bits + 1 bit de lecture et d&rsquo;\u00e9criture, et attendez la r\u00e9ponse de l&rsquo;appareil.<\/span><\/li>\n<li><span style=\"vertical-align: inherit;\">Une fois que le p\u00e9riph\u00e9rique esclave a r\u00e9pondu, un octet de contr\u00f4le est envoy\u00e9, qui d\u00e9termine si l&rsquo;octet suivant est une commande ou des donn\u00e9es, puis attend que le p\u00e9riph\u00e9rique esclave r\u00e9ponde.<\/span><\/li>\n<li><span style=\"vertical-align: inherit;\">Une fois que le p\u00e9riph\u00e9rique esclave a r\u00e9pondu \u00e0 nouveau si une commande est envoy\u00e9e, seule une commande d&rsquo;un octet est envoy\u00e9e. Si des donn\u00e9es sont envoy\u00e9es, un seul octet peut \u00eatre envoy\u00e9, ou plusieurs octets de donn\u00e9es peuvent \u00eatre envoy\u00e9s ensemble, selon la situation.<\/span><\/li>\n<li><span style=\"vertical-align: inherit;\">Voir la fiche technique page 22, figure 8-6 pour plus de d\u00e9tails.<\/span><\/li>\n<\/ul>\n<h4><span id=\"SPI_Communication_Timing\" class=\"mw-headline\"><span style=\"vertical-align: inherit;\">Calendrier de communication SPI<\/span><\/span><\/h4>\n<p><a class=\"image\" href=\"https:\/\/www.waveshare.com\/wiki\/File:1.54inch-e-paper-manual-1.png\"><img decoding=\"async\" src=\"https:\/\/www.waveshare.com\/w\/upload\/2\/23\/1.54inch-e-paper-manual-1.png\" alt=\"1,54 pouces-e-paper-manual-1.png\" width=\"549\" height=\"346\" data-file-width=\"549\" data-file-height=\"346\" \/><\/a><\/p>\n<ul>\n<li><span style=\"vertical-align: inherit;\">Comme le montre la figure ci-dessus, les donn\u00e9es sur SDIN sont d\u00e9cal\u00e9es dans un registre \u00e0 d\u00e9calage de 8 bits \u00e0 chaque front montant de SCLK dans le premier ordre MSB LSB.<\/span><\/li>\n<li><span style=\"vertical-align: inherit;\">D\/C# est \u00e9chantillonn\u00e9 toutes les 8 horloges et les donn\u00e9es du registre \u00e0 d\u00e9calage sont \u00e9crites dans la m\u00e9moire d&rsquo;affichage graphique (GDDRAM) ou dans le registre de commandes, \u00e0 la m\u00eame horloge de comptage.<\/span><\/li>\n<li><span style=\"vertical-align: inherit;\">En mode s\u00e9rie, seules les op\u00e9rations d&rsquo;\u00e9criture sont autoris\u00e9es. Processus d&rsquo;op\u00e9ration d&rsquo;\u00e9criture en mode 4-wireSPI.<\/span><\/li>\n<li><span style=\"vertical-align: inherit;\">Voir la figure 8-5 sur la fiche technique page 21 pour plus de d\u00e9tails.<\/span><\/li>\n<\/ul>\n<h1><span id=\"Raspberry_Pi\" class=\"mw-headline\"><span style=\"vertical-align: inherit;\">Tarte aux framboises<\/span><\/span><\/h1>\n<p><span style=\"vertical-align: inherit;\">Fournit une d\u00e9mo C et Python<\/span><\/p>\n<ul>\n<li><span style=\"vertical-align: inherit;\">Ouvrez le terminal Raspberry Pi et entrez la commande suivante pour acc\u00e9der \u00e0 l&rsquo;interface de configuration<\/span><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p><span style=\"vertical-align: inherit;\"><span style=\"vertical-align: inherit;\">WAVESHARE CHAPEAU OLED 2,23 POUCES FRAMBOISE 128X32<\/span><\/span><\/p>\n","protected":false},"featured_media":10992,"comment_status":"open","ping_status":"closed","template":"","meta":{"_templately_pack_id":"","_templately_imported_at":"","_templately_source":"","_templately_import_session_id":""},"product_brand":[],"product_cat":[121,181],"product_tag":[],"class_list":["post-10965","product","type-product","status-publish","has-post-thumbnail","product_cat-afficheurs-lcd-tft-oled","product_cat-raspberry-accessoires","first","instock","taxable","shipping-taxable","purchasable","product-type-simple"],"_links":{"self":[{"href":"https:\/\/dev2.alghost.com\/orbit\/wp-json\/wp\/v2\/product\/10965","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dev2.alghost.com\/orbit\/wp-json\/wp\/v2\/product"}],"about":[{"href":"https:\/\/dev2.alghost.com\/orbit\/wp-json\/wp\/v2\/types\/product"}],"replies":[{"embeddable":true,"href":"https:\/\/dev2.alghost.com\/orbit\/wp-json\/wp\/v2\/comments?post=10965"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dev2.alghost.com\/orbit\/wp-json\/wp\/v2\/media\/10992"}],"wp:attachment":[{"href":"https:\/\/dev2.alghost.com\/orbit\/wp-json\/wp\/v2\/media?parent=10965"}],"wp:term":[{"taxonomy":"product_brand","embeddable":true,"href":"https:\/\/dev2.alghost.com\/orbit\/wp-json\/wp\/v2\/product_brand?post=10965"},{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/dev2.alghost.com\/orbit\/wp-json\/wp\/v2\/product_cat?post=10965"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/dev2.alghost.com\/orbit\/wp-json\/wp\/v2\/product_tag?post=10965"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}