{"id":2514,"date":"2021-05-08T13:00:00","date_gmt":"2021-05-08T12:00:00","guid":{"rendered":"https:\/\/chewett.co.uk\/blog\/?p=2514"},"modified":"2021-05-08T16:58:31","modified_gmt":"2021-05-08T15:58:31","slug":"ws2812b-8x8-led-matrix-panel-review-and-code","status":"publish","type":"post","link":"https:\/\/chewett.co.uk\/blog\/2514\/ws2812b-8x8-led-matrix-panel-review-and-code\/","title":{"rendered":"WS2812B 8&#215;8 LED Matrix Panel Review and Code"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"678\" height=\"254\" data-attachment-id=\"2515\" data-permalink=\"https:\/\/chewett.co.uk\/blog\/2514\/ws2812b-8x8-led-matrix-panel-review-and-code\/ws2812b-8x8-led-matrix-panel\/\" data-orig-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/06\/WS2812B-8x8-LED-Matrix-Panel.jpg?fit=800%2C300&amp;ssl=1\" data-orig-size=\"800,300\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"WS2812B 8&amp;#215;8 LED Matrix Panel\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/06\/WS2812B-8x8-LED-Matrix-Panel.jpg?fit=300%2C113&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/06\/WS2812B-8x8-LED-Matrix-Panel.jpg?fit=678%2C254&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/06\/WS2812B-8x8-LED-Matrix-Panel.jpg?resize=678%2C254&#038;ssl=1\" alt=\"\" class=\"wp-image-2515\" srcset=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/06\/WS2812B-8x8-LED-Matrix-Panel.jpg?w=800&amp;ssl=1 800w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/06\/WS2812B-8x8-LED-Matrix-Panel.jpg?resize=300%2C113&amp;ssl=1 300w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/06\/WS2812B-8x8-LED-Matrix-Panel.jpg?resize=768%2C288&amp;ssl=1 768w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/06\/WS2812B-8x8-LED-Matrix-Panel.jpg?resize=50%2C19&amp;ssl=1 50w\" sizes=\"auto, (max-width: 678px) 100vw, 678px\" \/><\/figure>\n\n\n\n<p>This post talks about how you can use the WS2812B 8&#215;8 LED Matrix Panel with an Arduino.<\/p>\n\n\n\n<!--more-->\n\n\n\n<h2 class=\"wp-block-heading\">WS2812B 8&#215;8 LED Matrix Panel<\/h2>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"alignleft size-large is-resized\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"2516\" data-permalink=\"https:\/\/chewett.co.uk\/blog\/2514\/ws2812b-8x8-led-matrix-panel-review-and-code\/ws2812b-8x8-led-matrix-panel_mainimage\/\" data-orig-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/06\/WS2812B-8x8-LED-Matrix-Panel_mainimage.jpg?fit=800%2C800&amp;ssl=1\" data-orig-size=\"800,800\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"WS2812B 8&amp;#215;8 LED Matrix Panel_mainimage\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/06\/WS2812B-8x8-LED-Matrix-Panel_mainimage.jpg?fit=300%2C300&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/06\/WS2812B-8x8-LED-Matrix-Panel_mainimage.jpg?fit=678%2C678&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/06\/WS2812B-8x8-LED-Matrix-Panel_mainimage.jpg?resize=308%2C308&#038;ssl=1\" alt=\"\" class=\"wp-image-2516\" width=\"308\" height=\"308\" srcset=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/06\/WS2812B-8x8-LED-Matrix-Panel_mainimage.jpg?w=800&amp;ssl=1 800w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/06\/WS2812B-8x8-LED-Matrix-Panel_mainimage.jpg?resize=300%2C300&amp;ssl=1 300w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/06\/WS2812B-8x8-LED-Matrix-Panel_mainimage.jpg?resize=768%2C768&amp;ssl=1 768w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/06\/WS2812B-8x8-LED-Matrix-Panel_mainimage.jpg?resize=50%2C50&amp;ssl=1 50w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/06\/WS2812B-8x8-LED-Matrix-Panel_mainimage.jpg?resize=150%2C150&amp;ssl=1 150w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/06\/WS2812B-8x8-LED-Matrix-Panel_mainimage.jpg?resize=200%2C200&amp;ssl=1 200w\" sizes=\"auto, (max-width: 308px) 100vw, 308px\" \/><\/figure><\/div>\n\n\n\n<p>The WS2812B 8&#215;8 LED Matrix Panel is an square arrangement of 64 RGB LED&#8217;s. Each LED has its own LED driver which allows you to individually address and control each LED.<\/p>\n\n\n\n<p>There are six pin holes where you can solder pin headers or wires to. These are the two sets for 5V and GND, a Digital In, and a Digital Out. This uses the standard WS2812B protocol to control the LED&#8217;s which only need a single data pin, 5V, and GND.<\/p>\n\n\n\n<p>These can also be chained together to control multiple in parallel however you need to ensure that the current requirements will be met by your microcontroller.<\/p>\n\n\n\n<p>This LED square can be used with the FastLED Arduino Library which allows you to easily control them. The LED&#8217;s are indexed numerically from the first LED (closest to the Data in port) to the last LED which is closest to the data out port.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Wiring it up to an Arduino<\/h2>\n\n\n\n<p>To wire up the WS2812B 8&#215;8 LED Matrix Panel to an Arduino I am going to solder a 3 pin header onto the 5V, Data in, and GND pins. This will let me connect it to a breadboard and then connect it to the Arduino.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"678\" height=\"345\" data-attachment-id=\"2911\" data-permalink=\"https:\/\/chewett.co.uk\/blog\/2514\/ws2812b-8x8-led-matrix-panel-review-and-code\/ws2812b_8x8_wiring_breadboard_output\/\" data-orig-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/04\/ws2812b_8x8_wiring_breadboard_OUTPUT.png?fit=1609%2C819&amp;ssl=1\" data-orig-size=\"1609,819\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"ws2812b_8x8_wiring_breadboard_OUTPUT\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/04\/ws2812b_8x8_wiring_breadboard_OUTPUT.png?fit=300%2C153&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/04\/ws2812b_8x8_wiring_breadboard_OUTPUT.png?fit=678%2C345&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/04\/ws2812b_8x8_wiring_breadboard_OUTPUT.png?resize=678%2C345&#038;ssl=1\" alt=\"\" class=\"wp-image-2911\" srcset=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/04\/ws2812b_8x8_wiring_breadboard_OUTPUT.png?resize=1024%2C521&amp;ssl=1 1024w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/04\/ws2812b_8x8_wiring_breadboard_OUTPUT.png?resize=300%2C153&amp;ssl=1 300w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/04\/ws2812b_8x8_wiring_breadboard_OUTPUT.png?resize=768%2C391&amp;ssl=1 768w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/04\/ws2812b_8x8_wiring_breadboard_OUTPUT.png?resize=1536%2C782&amp;ssl=1 1536w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/04\/ws2812b_8x8_wiring_breadboard_OUTPUT.png?resize=50%2C25&amp;ssl=1 50w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/04\/ws2812b_8x8_wiring_breadboard_OUTPUT.png?w=1609&amp;ssl=1 1609w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/04\/ws2812b_8x8_wiring_breadboard_OUTPUT.png?w=1356&amp;ssl=1 1356w\" sizes=\"auto, (max-width: 678px) 100vw, 678px\" \/><\/figure>\n\n\n\n<p>The 5V pin and GND pins are connected to the respective pins on the Arduino. The Data In (DIN) pin should ideally be connected to a resistor (of around 330 ohm) which is then connected to one of the digital pins on the Arduino. This resistor helps to reduce noise on the line and the LED panel may work without this. Here I will wire up the digital in pin to the Arduino&#8217;s digital pin three (with the noted resistor between it).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Programming the Arduino with the WS2812B 8&#215;8 LED Matrix Panel<\/h2>\n\n\n\n<p>To program the WS2812B 8&#215;8 LED Matrix Panel I am going to use the FastLED Arduino Library. This handles the complexity of the communication protocol and allows you to easily set the state of each LED.<\/p>\n\n\n\n<p>This library can be added to the Arduino IDE by adding the &#8220;FastLED&#8221; library in the &#8220;Manage library&#8221; section of the Arduino IDE. Once this is added we can start using the libraries features.<\/p>\n\n\n\n<p>To start with you need to include the libraries you want to use and set up the LED&#8217;s.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: cpp; title: ; notranslate\" title=\"\">\n#include &lt;FastLED.h&gt;\n#define LED_PIN 3\n#define NUM_LEDS 64\n \nCRGB leds&#x5B;NUM_LEDS];\n<\/pre><\/div>\n\n\n<p>Here the pin to control it from the Arduino is defined (pin 3), the number of LED&#8217;s we have in our chain (64 = 8 * 8), and we then create the CRGB LED array to control the LED&#8217;s.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: cpp; title: ; notranslate\" title=\"\">\nvoid setup() {\n    FastLED.addLeds&lt;WS2812, LED_PIN, GRB&gt;(leds, NUM_LEDS);\n}\n<\/pre><\/div>\n\n\n<p>The setup function just adds all the LED&#8217;s to the FastLED library so it is aware of them and can be used to control them.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: cpp; title: ; notranslate\" title=\"\">\nvoid loop() { \n  for(int hue = 0; hue &lt; 255; hue += 1) {\n    for(int i = 0; i &lt; NUM_LEDS; i++) {\n      leds&#x5B;i] = CHSV(hue, 128, 255);\n    }\n    FastLED.show();\n    delay(10);\n  }\n}\n<\/pre><\/div>\n\n\n<p>Finally in the loop we loop the hue from 0 to 255 and set every LED to the same colour. This delays 10 milliseconds and then continues the hue loop.<\/p>\n\n\n\n<p>This will slowly change the LED&#8217;s through a range of colours to give a pretty effect and test the LED&#8217;s.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Final Review<\/h2>\n\n\n\n<p>This WS2812B 8&#215;8 LED Matrix Panel is a relatively cheap panel which allows you to easily program each of its LED&#8217;s. Since it works with the standard FastLED Arduino library it makes it quick to configure and write your sketch.<\/p>\n\n\n\n<p>The LED&#8217;s are quite bright too which is very nice however you may want to dim them using the value attribute or by placing something in front of them to defuse them.<\/p>\n\n\n\n<p>Overall this is a nice small package and I would recommend buying it for any LED needs!<\/p>\n\n\n\n<p>Link: <a href=\"https:\/\/www.amazon.co.uk\/gp\/product\/B078HYP681\/\">https:\/\/www.amazon.co.uk\/gp\/product\/B078HYP681\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This post talks about how you can use the WS2812B 8&#215;8 LED Matrix Panel with an Arduino.<\/p>\n","protected":false},"author":1,"featured_media":2909,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[97],"tags":[132,176,387,271],"class_list":["post-2514","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-electronics","tag-arduino","tag-led","tag-led-matrix","tag-ws2812b"],"wppr_data":{"cwp_meta_box_check":"No"},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/04\/WS2812B-8x8-LED-Matrix-Panel_posticon_OUTPUT.png?fit=1200%2C628&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/p2toWX-Ey","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":959,"url":"https:\/\/chewett.co.uk\/blog\/959\/review-arduino-starter-kit\/","url_meta":{"origin":2514,"position":0},"title":"Review of the Arduino Starter Kit","author":"Chewett","date":"January 6, 2018","format":false,"excerpt":"This post reviews the Arduino Starter Kit. This is an ideal kit for a beginner in electronics and embedded systems or for someone wanting to learn how work with an Arduino. Here I look over what you get in the kit and the projects it provides. Arduino\/Genuino Starter Kit The\u2026","rel":"","context":"In &quot;Electronics&quot;","block_context":{"text":"Electronics","link":"https:\/\/chewett.co.uk\/blog\/category\/electronics\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2018\/01\/review_of_starter_kit_post_icon.jpg?fit=800%2C800&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2018\/01\/review_of_starter_kit_post_icon.jpg?fit=800%2C800&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2018\/01\/review_of_starter_kit_post_icon.jpg?fit=800%2C800&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2018\/01\/review_of_starter_kit_post_icon.jpg?fit=800%2C800&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":2520,"url":"https:\/\/chewett.co.uk\/blog\/2520\/junlinto-45mm-push-arcade-button-12v-power-led-for-arduino-review-and-code\/","url_meta":{"origin":2514,"position":1},"title":"Junlinto 45mm Push Arcade Button 12V Power LED For Arduino Review and Code","author":"Chewett","date":"August 1, 2020","format":false,"excerpt":"This post talks about how you can use the Junlinto 45mm Push Arcade Button 12V Power LED with an Arduino. Junlinto 45mm Push Arcade Button 12V Power LED This 45mm push button is a relatively standard button for an arcade machine. Inside of the button is a white LED which\u2026","rel":"","context":"In &quot;Electronics&quot;","block_context":{"text":"Electronics","link":"https:\/\/chewett.co.uk\/blog\/category\/electronics\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/06\/Junlinto-45mm-Push-Arcade-Button-12V-Power-LED_post_icon.jpg?fit=800%2C800&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/06\/Junlinto-45mm-Push-Arcade-Button-12V-Power-LED_post_icon.jpg?fit=800%2C800&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/06\/Junlinto-45mm-Push-Arcade-Button-12V-Power-LED_post_icon.jpg?fit=800%2C800&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/06\/Junlinto-45mm-Push-Arcade-Button-12V-Power-LED_post_icon.jpg?fit=800%2C800&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":1260,"url":"https:\/\/chewett.co.uk\/blog\/1260\/individually-addressable-ws2812b-full-color-led-strip-code-examples-and-review\/","url_meta":{"origin":2514,"position":2},"title":"Individually Addressable WS2812B Full Color LED strip Code Examples and Review","author":"Chewett","date":"June 16, 2018","format":false,"excerpt":"Today I review an\u00a0individually addressable WS2812B Full Color LED strip and provide some code examples. Overview of the WS2812B Full Color LED strip The WS2812B Full colour LED strip I purchased is 5 meters long and has 150 LED's on it. Each LED has its LED driver which allows each\u2026","rel":"","context":"In &quot;Electronics&quot;","block_context":{"text":"Electronics","link":"https:\/\/chewett.co.uk\/blog\/category\/electronics\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2018\/06\/addressable_strip_post_icon.jpg?fit=800%2C800&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2018\/06\/addressable_strip_post_icon.jpg?fit=800%2C800&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2018\/06\/addressable_strip_post_icon.jpg?fit=800%2C800&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2018\/06\/addressable_strip_post_icon.jpg?fit=800%2C800&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":689,"url":"https:\/\/chewett.co.uk\/blog\/689\/common-cathode-rgb-led-review-code-examples\/","url_meta":{"origin":2514,"position":3},"title":"Common Cathode RGB LED Review and Code examples","author":"Chewett","date":"October 7, 2017","format":false,"excerpt":"Today I am reviewing a basic RGB LED. This includes schematics for using it with an Arduino and code examples. What can the RGB Light Emitting Diode Do The RGB common cathode light emitting diode works just like a standard LED but there is one small difference. Instead of having\u2026","rel":"","context":"In &quot;Electronics&quot;","block_context":{"text":"Electronics","link":"https:\/\/chewett.co.uk\/blog\/category\/electronics\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/post_icon_rgb.jpg?fit=800%2C800&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/post_icon_rgb.jpg?fit=800%2C800&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/post_icon_rgb.jpg?fit=800%2C800&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/post_icon_rgb.jpg?fit=800%2C800&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":724,"url":"https:\/\/chewett.co.uk\/blog\/724\/sw-420-motion-vibration-sensor-review-code-examples\/","url_meta":{"origin":2514,"position":4},"title":"SW-420 Motion Vibration Sensor Review and code examples","author":"Chewett","date":"October 25, 2017","format":false,"excerpt":"This post reviews the SW-420 motion vibration sensor. Here I review, test and provide code to use the sensor. Overview of the Vibration Sensor This motion vibration sensor detects small movements and reports this back as a digital signal. This digital signal represents whether there is motion above the configured\u2026","rel":"","context":"In &quot;Electronics&quot;","block_context":{"text":"Electronics","link":"https:\/\/chewett.co.uk\/blog\/category\/electronics\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/sw420_vibration_sensor_post_icon.jpg?fit=800%2C800&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/sw420_vibration_sensor_post_icon.jpg?fit=800%2C800&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/sw420_vibration_sensor_post_icon.jpg?fit=800%2C800&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/sw420_vibration_sensor_post_icon.jpg?fit=800%2C800&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":686,"url":"https:\/\/chewett.co.uk\/blog\/686\/mini-red-led-digital-voltmeter-3-3-30v-review\/","url_meta":{"origin":2514,"position":5},"title":"Mini Red LED Digital Voltmeter 3.3-30V Review","author":"Chewett","date":"October 11, 2017","format":false,"excerpt":"This post reviews the mini red LED digital voltmeter. Here I review and test the voltmeter in a number of circumstances to see how well it works. What can the voltmeter be used for This voltmeter is a simple LCD display showing the current voltage. This is to be\u00a0used with\u2026","rel":"","context":"In &quot;Electronics&quot;","block_context":{"text":"Electronics","link":"https:\/\/chewett.co.uk\/blog\/category\/electronics\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/voltmeter-post-icon.jpg?fit=800%2C800&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/voltmeter-post-icon.jpg?fit=800%2C800&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/voltmeter-post-icon.jpg?fit=800%2C800&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/10\/voltmeter-post-icon.jpg?fit=800%2C800&ssl=1&resize=700%2C400 2x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/posts\/2514","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=2514"}],"version-history":[{"count":8,"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/posts\/2514\/revisions"}],"predecessor-version":[{"id":2931,"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/posts\/2514\/revisions\/2931"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/media\/2909"}],"wp:attachment":[{"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=2514"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=2514"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=2514"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}