{"id":2491,"date":"2020-06-27T13:00:00","date_gmt":"2020-06-27T12:00:00","guid":{"rendered":"https:\/\/chewett.co.uk\/blog\/?p=2491"},"modified":"2020-06-27T12:05:28","modified_gmt":"2020-06-27T11:05:28","slug":"cylewet-3pin-spdt-micro-switch-long-hinge-lever-for-arduino-review-and-code","status":"publish","type":"post","link":"https:\/\/chewett.co.uk\/blog\/2491\/cylewet-3pin-spdt-micro-switch-long-hinge-lever-for-arduino-review-and-code\/","title":{"rendered":"Cylewet 3Pin SPDT Micro Switch Long Hinge Lever for Arduino 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=\"2497\" data-permalink=\"https:\/\/chewett.co.uk\/blog\/2491\/cylewet-3pin-spdt-micro-switch-long-hinge-lever-for-arduino-review-and-code\/cylewet_3pin_spdt_micro_switch_long_hinge_lever_header\/\" data-orig-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/06\/Cylewet_3Pin_SPDT_Micro_Switch_Long_Hinge_Lever_header.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=\"Cylewet_3Pin_SPDT_Micro_Switch_Long_Hinge_Lever_header\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/06\/Cylewet_3Pin_SPDT_Micro_Switch_Long_Hinge_Lever_header.jpg?fit=300%2C113&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/06\/Cylewet_3Pin_SPDT_Micro_Switch_Long_Hinge_Lever_header.jpg?fit=678%2C254&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/06\/Cylewet_3Pin_SPDT_Micro_Switch_Long_Hinge_Lever_header.jpg?resize=678%2C254&#038;ssl=1\" alt=\"\" class=\"wp-image-2497\" srcset=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/06\/Cylewet_3Pin_SPDT_Micro_Switch_Long_Hinge_Lever_header.jpg?w=800&amp;ssl=1 800w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/06\/Cylewet_3Pin_SPDT_Micro_Switch_Long_Hinge_Lever_header.jpg?resize=300%2C113&amp;ssl=1 300w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/06\/Cylewet_3Pin_SPDT_Micro_Switch_Long_Hinge_Lever_header.jpg?resize=768%2C288&amp;ssl=1 768w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/06\/Cylewet_3Pin_SPDT_Micro_Switch_Long_Hinge_Lever_header.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 using the Cylewet 3Pin SPDT Micro Switch Long Hinge Lever with an Arduino.<\/p>\n\n\n\n<!--more-->\n\n\n\n<h2 class=\"wp-block-heading\">Cylewet 3Pin SPDT Micro Switch Long Hinge Lever<\/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=\"2496\" data-permalink=\"https:\/\/chewett.co.uk\/blog\/2491\/cylewet-3pin-spdt-micro-switch-long-hinge-lever-for-arduino-review-and-code\/cylewet-3pin-spdt-micro-switch-long-hinge-lever_mainimage\/\" data-orig-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/06\/Cylewet-3Pin-SPDT-Micro-Switch-Long-Hinge-Lever_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=\"Cylewet 3Pin SPDT Micro Switch Long Hinge Lever_mainimage\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/06\/Cylewet-3Pin-SPDT-Micro-Switch-Long-Hinge-Lever_mainimage.jpg?fit=300%2C300&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/06\/Cylewet-3Pin-SPDT-Micro-Switch-Long-Hinge-Lever_mainimage.jpg?fit=678%2C678&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/06\/Cylewet-3Pin-SPDT-Micro-Switch-Long-Hinge-Lever_mainimage.jpg?resize=340%2C340&#038;ssl=1\" alt=\"\" class=\"wp-image-2496\" width=\"340\" height=\"340\" srcset=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/06\/Cylewet-3Pin-SPDT-Micro-Switch-Long-Hinge-Lever_mainimage.jpg?w=800&amp;ssl=1 800w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/06\/Cylewet-3Pin-SPDT-Micro-Switch-Long-Hinge-Lever_mainimage.jpg?resize=300%2C300&amp;ssl=1 300w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/06\/Cylewet-3Pin-SPDT-Micro-Switch-Long-Hinge-Lever_mainimage.jpg?resize=768%2C768&amp;ssl=1 768w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/06\/Cylewet-3Pin-SPDT-Micro-Switch-Long-Hinge-Lever_mainimage.jpg?resize=50%2C50&amp;ssl=1 50w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/06\/Cylewet-3Pin-SPDT-Micro-Switch-Long-Hinge-Lever_mainimage.jpg?resize=150%2C150&amp;ssl=1 150w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/06\/Cylewet-3Pin-SPDT-Micro-Switch-Long-Hinge-Lever_mainimage.jpg?resize=200%2C200&amp;ssl=1 200w\" sizes=\"auto, (max-width: 340px) 100vw, 340px\" \/><\/figure><\/div>\n\n\n\n<p>The Cylewet 3Pin SPDT Micro Switch Long Hinge Lever is a standard SPDT switch. The three pins are labelled C (common), NO (normally open), NC (normally closed).<\/p>\n\n\n\n<p>SPDT stands for Single Pole Double Throw which means there is one common pin and two pins where one of them will be connected depending on the switch state.<\/p>\n\n\n\n<p>By default the C and NC pins are connected. When the switch is pressed the C and NC will become disconnected and C and NO will be connected.<\/p>\n\n\n\n<p>These switches are rated for 125 volts and 1 amp which means they can be used for higher voltage or amperage settings. However most of the time you will use these with low voltage circuits to read the signal from a micro-controller like the Arduino.<\/p>\n\n\n\n<p>Since you are able to connect either NC or NO you can configure whether it will be on or off without pressing the switch. This gives a little more control over how you want to use it if you are using it with a circuit directly.<\/p>\n\n\n\n<p>The size of the Switch is 12.6 \u00d7 6.5 \u00d7 5.7mm  (Length * Height * Width)<\/p>\n\n\n\n<p>The size of the lever arm is 13.5 x 4mm (Length * Width).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Wiring it up to an Arduino<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"678\" height=\"438\" data-attachment-id=\"2498\" data-permalink=\"https:\/\/chewett.co.uk\/blog\/2491\/cylewet-3pin-spdt-micro-switch-long-hinge-lever-for-arduino-review-and-code\/cylewet_spdp_micro_switch_hinge_lever_clw1073\/\" data-orig-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/06\/cylewet_spdp_micro_switch_hinge_lever_clw1073.jpg?fit=760%2C491&amp;ssl=1\" data-orig-size=\"760,491\" 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=\"cylewet_spdp_micro_switch_hinge_lever_clw1073\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/06\/cylewet_spdp_micro_switch_hinge_lever_clw1073.jpg?fit=300%2C194&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/06\/cylewet_spdp_micro_switch_hinge_lever_clw1073.jpg?fit=678%2C438&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/06\/cylewet_spdp_micro_switch_hinge_lever_clw1073.jpg?resize=678%2C438&#038;ssl=1\" alt=\"\" class=\"wp-image-2498\" srcset=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/06\/cylewet_spdp_micro_switch_hinge_lever_clw1073.jpg?w=760&amp;ssl=1 760w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/06\/cylewet_spdp_micro_switch_hinge_lever_clw1073.jpg?resize=300%2C194&amp;ssl=1 300w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/06\/cylewet_spdp_micro_switch_hinge_lever_clw1073.jpg?resize=50%2C32&amp;ssl=1 50w\" sizes=\"auto, (max-width: 678px) 100vw, 678px\" \/><\/figure>\n\n\n\n<p>To wire this up to an Arduino you need a 10k ohm resistor.<\/p>\n\n\n\n<p>One of the pins on the button must be connected to the 5 volt line. I recommend using the common pin as in the diagram.<\/p>\n\n\n\n<p>In a simple example one of the other pins should be connected to the GND and the 10k ohm resistor. This acts as a pull down resistor to ensure a clean LOW signal is received.<\/p>\n\n\n\n<p>In addition this pin should be connected to one of the digital pins which will be used to read the state.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Programming the Arduino with the Cylewet 3Pin SPDT Micro Switch Long Hinge Lever<\/h2>\n\n\n\n<p>To check the state of the switch I can use a single digital pin configured on the Arduino.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n#define SWITCH_PIN 8\n\nvoid setup() {\n  Serial.begin(115200);\n  pinMode(SWITCH_PIN, INPUT);\n}\n\nvoid loop() {\n  int btnState = digitalRead(SWITCH_PIN);\n  Serial.println(btnState);\n  delay(25);\n}\n<\/pre><\/div>\n\n\n<p>Here I define the <code>SWITCH_PIN<\/code> constant as 8 which will be used as the digital pin to read the value. In the setup the serial is initialised and the switch pin is configured as an input.<\/p>\n\n\n\n<p>In the main loop I read the button state using the <code>SWITCH_PIN<\/code> constant and save it to a variable. Then it is printed out and the Arduino is requested to wait for 25 millseconds after which it runs again.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Final Review<\/h2>\n\n\n\n<p>Overall this is a nice micro switch which needs little force to activate. Since it is SPDT you can easily configure it to either report HIGH when it is closed or open.<\/p>\n\n\n\n<p><strong>Would buy again!<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This post talks about using the Cylewet 3Pin SPDT Micro Switch Long Hinge Lever with an Arduino.<\/p>\n","protected":false},"author":1,"featured_media":2495,"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":"Today I have written about the Cylewet 3Pin SPDT Micro Switch Long Hinge Lever for #Arduino Review and #Code","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,332,318],"class_list":["post-2491","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-electronics","tag-arduino","tag-push-switch","tag-switch"],"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\/2020\/06\/Cylewet-3Pin-SPDT-Micro-Switch-Long-Hinge-Lever_post_icon.jpg?fit=800%2C800&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/p2toWX-Eb","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":937,"url":"https:\/\/chewett.co.uk\/blog\/937\/configuring-wemos-d1-mini-pro-esp8266-arduino-ide\/","url_meta":{"origin":2491,"position":0},"title":"Configuring the Wemos D1 Mini Pro ESP8266 for Arduino IDE","author":"Chewett","date":"December 30, 2017","format":false,"excerpt":"This guide runs you through a basic set of steps to configure the Aduino IDE to program a Wemos D1 Mini Pro ESP8266. What is the Wemos D1 mini Pro The Wemos D1 mini Pro is an Arduino-like board that runs using the ESP8266 microcontroller. One of the key differences\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\/wemos_d1_mini_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\/wemos_d1_mini_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\/wemos_d1_mini_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\/wemos_d1_mini_post_icon.jpg?fit=800%2C800&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":1921,"url":"https:\/\/chewett.co.uk\/blog\/1921\/hiletgo-5v-650nm-5mw-red-dot-diode-laser-review-and-code\/","url_meta":{"origin":2491,"position":1},"title":"HiLetgo 5V 650nm 5mW Red Dot Diode Laser Review and Code","author":"Chewett","date":"January 19, 2019","format":false,"excerpt":"Today I review the HiLetgo 5V 650nm 5mW Red Dot Diode Laser for Arduino and provide example code. Overview of the HiLetgo 5V 650nm 5mW Red Dot Diode Laser The HiLetgo 5V 650nm red dot diode laser is a cheap and incredibly powerful laser diode. This laser diode produces light\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\/2019\/01\/HiLetgo_5V_650nm_5mW_Red_Dot_Diode_Laser_postimage.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\/2019\/01\/HiLetgo_5V_650nm_5mW_Red_Dot_Diode_Laser_postimage.jpg?fit=800%2C800&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2019\/01\/HiLetgo_5V_650nm_5mW_Red_Dot_Diode_Laser_postimage.jpg?fit=800%2C800&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2019\/01\/HiLetgo_5V_650nm_5mW_Red_Dot_Diode_Laser_postimage.jpg?fit=800%2C800&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":1849,"url":"https:\/\/chewett.co.uk\/blog\/1849\/using-the-sw-420-motion-vibration-sensor-with-a-wemos-d1-mini-esp8266\/","url_meta":{"origin":2491,"position":2},"title":"Using the SW-420 Motion Vibration Sensor with a WeMos D1 Mini (ESP8266)","author":"Chewett","date":"December 22, 2018","format":false,"excerpt":"In this blog post I talk about how you can use a SW-420 Motion Vibration sensor with a WeMos D1 Mini (ESP8266) using the Arduino IDE. Summary of the SW-420 Motion Vibration Sensor This sensor mounts a motion detection component with a small micro-controller and a potentiometer. This has a\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\/12\/sw420_vibration_sensor_wemos.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\/12\/sw420_vibration_sensor_wemos.jpg?fit=800%2C800&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2018\/12\/sw420_vibration_sensor_wemos.jpg?fit=800%2C800&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2018\/12\/sw420_vibration_sensor_wemos.jpg?fit=800%2C800&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":959,"url":"https:\/\/chewett.co.uk\/blog\/959\/review-arduino-starter-kit\/","url_meta":{"origin":2491,"position":3},"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":1014,"url":"https:\/\/chewett.co.uk\/blog\/1014\/setting-up-a-16x2-liquid-crystal-display-to-show-hello-world\/","url_meta":{"origin":2491,"position":4},"title":"Setting up a 16&#215;2 Liquid Crystal Display to show Hello World","author":"Chewett","date":"July 28, 2018","format":false,"excerpt":"This post describes how to use a 16x2 Liquid Crystal Display unit as included in the Arduino Starter Kit\u00a0to display the text \"Hello World\". Overview of the 16x2 Liquid Crystal Display Module In this review I am using the 16x2 Liquid Crystal Display module from the Arduino Starter Kit. This\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\/07\/16x2_lcd_screen_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\/07\/16x2_lcd_screen_post_icon.jpg?fit=800%2C800&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2018\/07\/16x2_lcd_screen_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\/07\/16x2_lcd_screen_post_icon.jpg?fit=800%2C800&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":1526,"url":"https:\/\/chewett.co.uk\/blog\/1526\/sda-scl-i2c-twi-pins-on-the-arduino\/","url_meta":{"origin":2491,"position":5},"title":"SDA SCL I2C TWI Pins on the Arduino","author":"Chewett","date":"September 12, 2018","format":false,"excerpt":"This post details where the SDA SCL pins used for I2C\/TWI are available on Arduino's. I2C TWI pins on the Arduino The SDA and SCL pins are the used for communication using the I2C\/TWI protocols. These allow multiple devices to communicate the Arduino on a standard interface. Most Arduino's only\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\/09\/i2c_twi_pins_on_arduino.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\/09\/i2c_twi_pins_on_arduino.jpg?fit=800%2C800&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2018\/09\/i2c_twi_pins_on_arduino.jpg?fit=800%2C800&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2018\/09\/i2c_twi_pins_on_arduino.jpg?fit=800%2C800&ssl=1&resize=700%2C400 2x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/posts\/2491","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=2491"}],"version-history":[{"count":2,"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/posts\/2491\/revisions"}],"predecessor-version":[{"id":2499,"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/posts\/2491\/revisions\/2499"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/media\/2495"}],"wp:attachment":[{"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=2491"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=2491"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=2491"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}