{"product_id":"encodermodule-voor-m5stack-gezichten-esp32-pocketcomputer-met-12-stks-rgb-led-mega328-binnen-i2c_1538395","title":"Encoder module voor M5Stack met 12 RGB LED's en I2C-communicatie","description":"\u003ch2 id=\"description\" style=\"font-size: var(--heading-h2-font-size);margin: var(--heading-h2-margin, var(--heading-margin));font-family: -apple-system, BlinkMacSystemFont;\"\u003e\u003cspan style=\"font-size:16px\"\u003e\u003cstrong\u003e\u003cspan style=\"border-bottom-style: initial;border-bottom-color: initial\"\u003eBeschrijving:\u003c\/span\u003e\u003c\/strong\u003e\u003c\/span\u003e\u003c\/h2\u003e\u003cp style=\"font-size: 16px;margin: 1em 0px;font-family: -apple-system, BlinkMacSystemFont;\"\u003e\u003cspan style=\"font-size: inherit;font-weight: bolder;color: var(--strong-color, currentColor)\"\u003eDeze encoder module\u003c\/span\u003eis compatibel met de FACE Kit. U kunt het toetsenbordpaneel in de FACE-kit vervangen. Het is ontworpen voor roterende encoderbesturing, met een geïntegreerde Mega328-microprocessor en LED's rondom de encoder.\u003c\/p\u003e\u003cp style=\"font-size: 16px;margin: 1em 0px;font-family: -apple-system, BlinkMacSystemFont;\"\u003eDe communicatie tussen de M5 core en de encoder module verloopt via I2C (adres: 0x5E).\u003c\/p\u003e\u003ch2 id=\"product-features\" style=\"font-size: var(--heading-h2-font-size);margin: var(--heading-h2-margin, var(--heading-margin));font-family: -apple-system, BlinkMacSystemFont;\"\u003e\u003cspan style=\"font-size:16px\"\u003e\u003cstrong\u003e\u003cspan style=\"border-bottom-style: initial;border-bottom-color: initial\"\u003eProducteigenschappen:\u003c\/span\u003e\u003c\/strong\u003e\u003c\/span\u003e\u003c\/h2\u003e\u003cul style=\"font-size: 16px;margin: 1em 0px;padding-left: 1.5rem;font-family: -apple-system, BlinkMacSystemFont;\"\u003e\n\u003cli style=\"font-size: inherit\"\u003e12 RGB LED's\u003c\/li\u003e\n\u003cli style=\"font-size: inherit\"\u003eI2C-communicatie\u003c\/li\u003e\n\u003cli style=\"font-size: inherit\"\u003eEenvoudige API voor programmeren\u003c\/li\u003e\n\u003cli style=\"font-size: inherit\"\u003eMega328 microprocessor\u003c\/li\u003e\n\u003cli style=\"font-size: inherit\"\u003eEncoder detectie\u003c\/li\u003e\n\u003cli style=\"font-size: inherit\"\u003eProductgrootte: 58,2 mm x 54,2 mm x 10 mm\u003c\/li\u003e\n\u003cli style=\"font-size: inherit\"\u003eProductgewicht: 17 g\u003c\/li\u003e\n\u003c\/ul\u003e\u003ch2 id=\"easyloader\" style=\"font-size: var(--heading-h2-font-size);margin: var(--heading-h2-margin, var(--heading-margin));font-family: -apple-system, BlinkMacSystemFont;\"\u003e\u003cspan style=\"font-size:16px\"\u003e\u003cstrong\u003e\u003cspan style=\"border-bottom-style: initial;border-bottom-color: initial\"\u003eEasyLoader\u003c\/span\u003e\u003c\/strong\u003e\u003c\/span\u003e\u003c\/h2\u003e\u003cp style=\"font-size: 16px;margin: 1em 0px;font-family: -apple-system, BlinkMacSystemFont;\"\u003e\u003ca href=\"https:\/\/m5stack.oss-cn-shenzhen.aliyuncs.com\/EasyLoader\/Module\/EasyLoader_FACES_encoder.exe\" style=\"font-size: inherit;background-color: transparent;border-bottom: var(--link-border-bottom)\"\u003e\u003cbutton class=\"btn btn-primary\" style=\"font-size: 1rem;font-family: inherit;margin: 0px;border-radius: 0.25rem;line-height: 1.5;overflow: visible;vertical-align: middle;border-width: 1px;border-style: solid;padding: 0.375rem 0.75rem;cursor: pointer\" type=\"button\"\u003eKlik om EasyLoader te downloaden\u003c\/button\u003e\u003c\/a\u003e\u003c\/p\u003e\u003cblockquote style=\"font-size: 16px;margin: 2em 0px;overflow: visible;padding: 1.5em;border-width: var(--blockquote-border-width, 0);border-style: var(--blockquote-border-style);border-color: var(--blockquote-border-color);border-radius: var(--blockquote-border-radius);background: var(--blockquote-background);font-family: -apple-system, BlinkMacSystemFont;\"\u003e\n\u003cbr\u003e\u003cp style=\"font-size: inherit;margin: 0px\"\u003eDubbelklik na het downloaden van de software om de toepassing uit te voeren, sluit het M5-apparaat aan op de computer via de gegevenskabel, selecteer de poortparameters en klik op\u003cspan style=\"font-size: inherit;font-weight: bolder;color: var(--strong-color, currentColor)\"\u003e\"Brand\"\u003c\/span\u003eom te beginnen met branden.\u003c\/p\u003e\n\u003cp class=\"tip\" style=\"font-size: 16px;margin: 2em 0px;position: relative;padding: var(--notice-padding);border-width: var(--notice-important-border-width, var(--notice-border-width, 0));border-style: var(--notice-important-border-style, var(--notice-border-style));border-color: var(--notice-important-border-color, var(--notice-border-color));border-radius: var(--notice-border-radius);background: var(--notice-important-background, var(--notice-background));font-family: -apple-system, BlinkMacSystemFont;\"\u003eDe CP210X (USB-stuurprogramma) moet worden geïnstalleerd voordat de EasyLoader kan worden gebruikt.\u003cstrong\u003e\u003ca href=\"https:\/\/docs.m5stack.com\/#\/en\/related_documents\/establish_serial_connection\" style=\"font-size: inherit;background-color: transparent;border-bottom: var(--link-border-bottom)\"\u003e\u003cspan style=\"color:#ff0000\"\u003eKlik hier voor de installatiehandleiding van het stuurprogramma\u003c\/span\u003e\u003c\/a\u003e\u003c\/strong\u003e\u003c\/p\u003e\n\u003ch2 id=\"function\" style=\"font-size: var(--heading-h2-font-size);margin: var(--heading-h2-margin, var(--heading-margin));font-family: -apple-system, BlinkMacSystemFont;\"\u003e\u003cspan style=\"font-size:16px\"\u003e\u003cstrong\u003e\u003cspan style=\"border-bottom-style: initial;border-bottom-color: initial\"\u003eFunctie:\u003c\/span\u003e\u003c\/strong\u003e\u003c\/span\u003e\u003c\/h2\u003e\n\u003cp style=\"font-size: 16px;margin: 1em 0px;font-family: -apple-system, BlinkMacSystemFont;\"\u003e\u003cspan style=\"font-size: inherit;font-weight: bolder;color: var(--strong-color, currentColor)\"\u003eControle van enkele RGB LED's\u003c\/span\u003e\u003c\/p\u003e\n\u003cp style=\"font-size: 16px;margin: 1em 0px;font-family: -apple-system, BlinkMacSystemFont;\"\u003e\u003cspan style=\"font-size: inherit;font-weight: bolder;color: var(--strong-color, currentColor)\"\u003eLees encoder increment\u003c\/span\u003e\u003c\/p\u003e\n\u003cpre data-lang=\"\" style=\"font-size: var(--code-font-size);font-family: var(--code-font-family);line-height: var(--code-block-line-height);margin: var(--code-block-margin);overflow: hidden;color: var(--code-theme-text);background: var(--code-theme-background);position: relative;padding: 0px;border-radius: var(--code-block-border-radius)\"\u003e\u003ccode class=\"lang-\" style=\"font-size: var(--code-font-size);font-family: var(--code-font-family);color: var(--code-theme-text);font-weight: var(--code-font-weight);line-height: var(--code-block-line-height);display: block;overflow: auto;padding: var(--code-block-padding)\"\u003evoid get_encoder_increment(void){      int temp_encoder_increment;        \/\/ IIC lees gegevens      Wire.requestFrom(Faces_Encoder_I2C_ADDR, 3);      if(Wire.available()){         temp_encoder_increment = Wire.read();\/\/ verkrijg increment         button_state = Wire.read();\/\/ verkrijg knopwaarde      }      if(temp_encoder_increment \u0026gt; 127){\/\/tegen de klok in          direction = 1;\/\/ vlag voor encoder richting          encoder_increment = 256 - temp_encoder_increment;      }      else{\/\/ met de klok mee          direction = 0;          encoder_increment = temp_encoder_increment;      }  }\u003c\/code\u003e\u003cbutton class=\"docsify-copy-code-button\" style=\"font-size: 1em;font-family: inherit;margin: 0px;border-top-left-radius: 0px;border-bottom-right-radius: 0px;line-height: inherit;overflow: visible;cursor: pointer;position: absolute;z-index: 1;top: 0px;right: 0px;padding: 0.65em 0.8em;border-width: 0px;border-style: initial;border-color: initial;background-image:;background-size:;background-attachment:\"\u003e\u003cspan class=\"label\" style=\"font-size: inherit;cursor: pointer;border-radius: var(--border-radius-s, 0);background: inherit\"\u003eKopieer naar klembord\u003c\/span\u003e\u003cspan class=\"error\" style=\"font-size: 0.825em;cursor: pointer;border-radius: var(--border-radius-s, 0);background: inherit;position: absolute;z-index: -100;top: 22.375px;left: 0px;padding: 0.5em 0.65em\"\u003eFout\u003c\/span\u003e\u003cspan class=\"success\" style=\"font-size: 0.825em;cursor: pointer;border-radius: var(--border-radius-s, 0);background: inherit;position: absolute;z-index: -100;top: 22.375px;left: 0px;padding: 0.5em 0.65em\"\u003egekopieerd\u003c\/span\u003e\u003c\/button\u003e\u003c\/pre\u003e\n\u003ch2 id=\"include\" style=\"font-size: var(--heading-h2-font-size);margin: var(--heading-h2-margin, var(--heading-margin));font-family: -apple-system, BlinkMacSystemFont;\"\u003e\u003cstrong\u003e\u003cspan style=\"font-size:16px\"\u003e\u003cspan style=\"border-bottom-style: initial;border-bottom-color: initial\"\u003ePakket inbegrepen:\u003c\/span\u003e\u003c\/span\u003e\u003c\/strong\u003e\u003c\/h2\u003e\n\u003cul style=\"font-size: 16px;margin: 1em 0px;padding-left: 1.5rem;font-family: -apple-system, BlinkMacSystemFont;\"\u003e\n\u003cli style=\"font-size: inherit\"\u003e1x Encoder module\u003c\/li\u003e\n\u003cli style=\"font-size: inherit\"\u003eEncoder draaipaneel\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2 id=\"related-link\" style=\"font-size: var(--heading-h2-font-size);margin: var(--heading-h2-margin, var(--heading-margin));font-family: -apple-system, BlinkMacSystemFont;\"\u003e\u003cspan style=\"font-size:16px\"\u003e\u003cstrong\u003e\u003cspan style=\"border-bottom-style: initial;border-bottom-color: initial\"\u003eGerelateerde links:\u003c\/span\u003e\u003c\/strong\u003e\u003c\/span\u003e\u003c\/h2\u003e\n\u003cul style=\"font-size: 16px;margin: 1em 0px;padding-left: 1.5rem;font-family: -apple-system, BlinkMacSystemFont;\"\u003e\n\u003cli style=\"font-size: inherit\"\u003e\u003cp style=\"font-size: inherit;margin: 1em 0px\"\u003e\u003cspan style=\"font-size: inherit;font-weight: bolder\"\u003e\u003ca href=\"https:\/\/www.youtube.com\/channel\/UCozgFVglWYQXbvTmGyS739w\" rel=\"noopener\" style=\"font-size: inherit;background-color: transparent;border-bottom: var(--link-border-bottom)\" target=\"_blank\"\u003e\u003cspan style=\"color:#ff0000\"\u003eOfficiële video\u003c\/span\u003e\u003c\/a\u003e\u003c\/span\u003e\u003c\/p\u003e\u003c\/li\u003e\n\u003cli style=\"font-size: inherit\"\u003e\u003cp style=\"font-size: inherit;margin: 1em 0px\"\u003e\u003cspan style=\"font-size: inherit;font-weight: bolder\"\u003e\u003ca href=\"http:\/\/forum.m5stack.com\/\" rel=\"noopener\" style=\"font-size: inherit;background-color: transparent;border-bottom: var(--link-border-bottom)\" target=\"_blank\"\u003e\u003cspan style=\"color:#ff0000\"\u003eForum\u003c\/span\u003e\u003c\/a\u003e\u003c\/span\u003e\u003c\/p\u003e\u003c\/li\u003e\n\u003cli style=\"font-size: inherit\"\u003e\u003cp style=\"font-size: inherit;margin: 1em 0px\"\u003e\u003cspan style=\"font-size: inherit;font-weight: bolder\"\u003e\u003ca href=\"https:\/\/github.com\/m5stack\/M5-ProductExampleCodes\/tree\/master\/Module\/ENCODER\/firmware_328p\/FacesEncoder328\" rel=\"noopener\" style=\"font-size: inherit;background-color: transparent;border-bottom: var(--link-border-bottom)\" target=\"_blank\"\u003e\u003cspan style=\"color:#ff0000\"\u003eFirmware voor MEGA328\u003c\/span\u003e\u003c\/a\u003e\u003c\/span\u003e\u003c\/p\u003e\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2 id=\"example\" style=\"font-size: var(--heading-h2-font-size);margin: var(--heading-h2-margin, var(--heading-margin));font-family: -apple-system, BlinkMacSystemFont;\"\u003e\u003cspan style=\"font-size:16px\"\u003e\u003cstrong\u003e\u003cspan style=\"border-bottom-style: initial;border-bottom-color: initial\"\u003eVoorbeeld:\u003c\/span\u003e\u003c\/strong\u003e\u003c\/span\u003e\u003c\/h2\u003e\n\u003ch3 id=\"-ide\" style=\"font-size: var(--heading-h3-font-size);margin-top: 1rem;font-family: -apple-system, BlinkMacSystemFont;\"\u003e\u003cspan style=\"font-size:16px\"\u003e\u003cspan style=\"border-bottom-style: initial;border-bottom-color: initial\"\u003eVoor IDE\u003c\/span\u003e\u003c\/span\u003e\u003c\/h3\u003e\n\u003cp style=\"font-size: 16px;margin: 1em 0px;font-family: -apple-system, BlinkMacSystemFont;\"\u003e\u003cem style=\"font-size: inherit\"\u003eVoor de volledige code, klik alstublieft\u003ccode style=\"font-size: var(--code-font-size);font-family: var(--code-font-family);color: var(--code-inline-color, currentColor);font-weight: var(--code-font-weight);line-height: inherit;margin: var(--code-inline-margin);padding: var(--code-inline-padding);border-radius: var(--code-inline-border-radius);background: var(--code-inline-background)\"\u003efaces_encoder.ino\u003c\/code\u003e\u003cstrong\u003e\u003ca href=\"https:\/\/github.com\/m5stack\/M5-ProductExampleCodes\/tree\/master\/Module\/ENCODER\/\/faces_encoder\" rel=\"noopener\" style=\"font-size: inherit;background-color: transparent;border-bottom: var(--link-border-bottom)\" target=\"_blank\"\u003e\u003cspan style=\"color:#ff0000\"\u003ehier\u003c\/span\u003e\u003c\/a\u003e\u003c\/strong\u003e.\u003c\/em\u003e\u003c\/p\u003e\n\u003c\/blockquote\u003e\n\u003cdiv class=\"product-inline-gallery\"\u003e\n\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0927\/2003\/8224\/files\/8a418263-70b8-43d0-8e97-c50bf27759d5.jpg?v=1779840390\" loading=\"lazy\" alt=\"\"\u003e\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0927\/2003\/8224\/files\/9f1ba554-ae18-49bd-87fb-4fd835eeb554.jpg?v=1779840391\" loading=\"lazy\" alt=\"\"\u003e\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0927\/2003\/8224\/files\/b9701b16-b90a-46c2-a813-989bfea9b58a_22a0c8d5-4f47-4000-b21e-1b01e2c48064.jpg?v=1779868981\" loading=\"lazy\" alt=\"\"\u003e\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0927\/2003\/8224\/files\/2badc072-d34b-40b0-a3cf-dbc63d2d31f7_059c7db8-c2f4-4b1f-9fff-114dfccb6ad0.jpg?v=1779868981\" loading=\"lazy\" alt=\"\"\u003e\n\u003c\/div\u003e","brand":"AllesXL","offers":[{"title":"Standaard","offer_id":53071966536016,"sku":"ALXNL7638339125415","price":26.99,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0927\/2003\/8224\/files\/8a418263-70b8-43d0-8e97-c50bf27759d5.jpg?v=1779840390","url":"https:\/\/allesxl.com\/products\/encodermodule-voor-m5stack-gezichten-esp32-pocketcomputer-met-12-stks-rgb-led-mega328-binnen-i2c_1538395","provider":"allesxl","version":"1.0","type":"link"}