{"id":1755,"date":"2019-03-27T13:00:28","date_gmt":"2019-03-27T13:00:28","guid":{"rendered":"http:\/\/chewett.co.uk\/blog\/?p=1755"},"modified":"2020-06-18T22:03:00","modified_gmt":"2020-06-18T21:03:00","slug":"gikfun-normal-open-2-pin-push-button-switch-for-arduino-review-and-code","status":"publish","type":"post","link":"https:\/\/chewett.co.uk\/blog\/1755\/gikfun-normal-open-2-pin-push-button-switch-for-arduino-review-and-code\/","title":{"rendered":"Gikfun Normal Open 2 pin Push Button Switch\u00a0For Arduino Review and Code"},"content":{"rendered":"\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"678\" height=\"254\" data-attachment-id=\"2052\" data-permalink=\"https:\/\/chewett.co.uk\/blog\/1755\/gikfun-normal-open-2-pin-push-button-switch-for-arduino-review-and-code\/gikfun_normal_open_2pin_pushbutton_switch\/\" data-orig-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2019\/03\/gikfun_normal_open_2pin_pushbutton_switch.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=\"gikfun_normal_open_2pin_pushbutton_switch\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2019\/03\/gikfun_normal_open_2pin_pushbutton_switch.jpg?fit=300%2C113&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2019\/03\/gikfun_normal_open_2pin_pushbutton_switch.jpg?fit=678%2C254&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2019\/03\/gikfun_normal_open_2pin_pushbutton_switch.jpg?resize=678%2C254&#038;ssl=1\" alt=\"\" class=\"wp-image-2052\" srcset=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2019\/03\/gikfun_normal_open_2pin_pushbutton_switch.jpg?w=800&amp;ssl=1 800w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2019\/03\/gikfun_normal_open_2pin_pushbutton_switch.jpg?resize=300%2C113&amp;ssl=1 300w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2019\/03\/gikfun_normal_open_2pin_pushbutton_switch.jpg?resize=768%2C288&amp;ssl=1 768w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2019\/03\/gikfun_normal_open_2pin_pushbutton_switch.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&nbsp;Gikfun Normal Open 2 pin push button switch&nbsp;with an Arduino.<\/p>\n\n\n\n<!--more-->\n\n\n\n<h2 class=\"wp-block-heading\">Gikfun Normal Open 2 Pin Push Button Switch<\/h2>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"alignleft is-resized\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"2051\" data-permalink=\"https:\/\/chewett.co.uk\/blog\/1755\/gikfun-normal-open-2-pin-push-button-switch-for-arduino-review-and-code\/gikfun_normal_open_2pin_pushbutton_switch_mainimage\/\" data-orig-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2019\/02\/gikfun_normal_open_2pin_pushbutton_switch_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=\"gikfun_normal_open_2pin_pushbutton_switch_mainimage\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2019\/02\/gikfun_normal_open_2pin_pushbutton_switch_mainimage.jpg?fit=300%2C300&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2019\/02\/gikfun_normal_open_2pin_pushbutton_switch_mainimage.jpg?fit=678%2C678&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2019\/02\/gikfun_normal_open_2pin_pushbutton_switch_mainimage.jpg?resize=342%2C342&#038;ssl=1\" alt=\"\" class=\"wp-image-2051\" width=\"342\" height=\"342\" srcset=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2019\/02\/gikfun_normal_open_2pin_pushbutton_switch_mainimage.jpg?w=800&amp;ssl=1 800w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2019\/02\/gikfun_normal_open_2pin_pushbutton_switch_mainimage.jpg?resize=300%2C300&amp;ssl=1 300w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2019\/02\/gikfun_normal_open_2pin_pushbutton_switch_mainimage.jpg?resize=768%2C768&amp;ssl=1 768w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2019\/02\/gikfun_normal_open_2pin_pushbutton_switch_mainimage.jpg?resize=50%2C50&amp;ssl=1 50w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2019\/02\/gikfun_normal_open_2pin_pushbutton_switch_mainimage.jpg?resize=150%2C150&amp;ssl=1 150w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2019\/02\/gikfun_normal_open_2pin_pushbutton_switch_mainimage.jpg?resize=200%2C200&amp;ssl=1 200w\" sizes=\"auto, (max-width: 342px) 100vw, 342px\" \/><\/figure><\/div>\n\n\n\n<p>The Gikfun normal open 2 pin push button switch is a standard SPST switch. Whenever the button is depressed the connection is made and electricity will be able to flow through the switch. After pressing this will reset back to the original disconnected position.<\/p>\n\n\n\n<p>SPST stands for single-pole single-throw, which is the simplest method of switching, having two pins on the switch. When the switch is off the pins are fully disconnected. When the switch is toggled the connection is made between the two pins.<\/p>\n\n\n\n<p>These switches are rated for 250 volts, 1 am, or 125 volts, 3 amps which means they can be used for higher voltage and amperage applications.<\/p>\n\n\n\n<p>A useful feature of this button is that there is a washer that allows it to be mounted through a surface and screwed down.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Wiring it up to an Arduino<\/h2>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"alignleft is-resized\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"2071\" data-permalink=\"https:\/\/chewett.co.uk\/blog\/1755\/gikfun-normal-open-2-pin-push-button-switch-for-arduino-review-and-code\/gikfun_normal_open_2_pin_press_switch_bb\/\" data-orig-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2019\/03\/Gikfun_normal_open_2_pin_press_switch_bb.jpg?fit=1092%2C831&amp;ssl=1\" data-orig-size=\"1092,831\" 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=\"Gikfun_normal_open_2_pin_press_switch_bb\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2019\/03\/Gikfun_normal_open_2_pin_press_switch_bb.jpg?fit=300%2C228&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2019\/03\/Gikfun_normal_open_2_pin_press_switch_bb.jpg?fit=678%2C516&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2019\/03\/Gikfun_normal_open_2_pin_press_switch_bb.jpg?resize=332%2C252&#038;ssl=1\" alt=\"\" class=\"wp-image-2071\" width=\"332\" height=\"252\" srcset=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2019\/03\/Gikfun_normal_open_2_pin_press_switch_bb.jpg?resize=1024%2C779&amp;ssl=1 1024w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2019\/03\/Gikfun_normal_open_2_pin_press_switch_bb.jpg?resize=300%2C228&amp;ssl=1 300w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2019\/03\/Gikfun_normal_open_2_pin_press_switch_bb.jpg?resize=768%2C584&amp;ssl=1 768w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2019\/03\/Gikfun_normal_open_2_pin_press_switch_bb.jpg?resize=50%2C38&amp;ssl=1 50w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2019\/03\/Gikfun_normal_open_2_pin_press_switch_bb.jpg?w=1092&amp;ssl=1 1092w\" sizes=\"auto, (max-width: 332px) 100vw, 332px\" \/><\/figure><\/div>\n\n\n\n<p>To wire this up to the 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. The other must be connected to a pin of the resistor.<\/p>\n\n\n\n<p>The same side of the resistor that is connected to the button will be connected to the digital in pin. This is where the state of the button will be read from. The other side of the resistor is connected to the GND pin on the Arduino.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Programming the Arduino with the Gikfun push button switch<\/h2>\n\n\n\n<p>To check the state of the switch I only need to use one digital pin.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: cpp; title: ; notranslate\" title=\"\">\n#define SWITCH_PIN 2\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 configure the switch pin, pin 2, to be used as a digital input in the setup function. In addition to this, I also configure the serial connection to log the information.<\/p>\n\n\n\n<p>In the main loop the state of the switch is read using digitalRead which returns either 0 or 1. Once the value has been read it is printed to the serial connection.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Final Review<\/h2>\n\n\n\n<p>These are useful push button switches that can be used for any Arduino project where a button press is required. Since they work at a range of voltages these can be used with the standard 3.3v or 5v supply lines.<\/p>\n\n\n\n<p>I really like these as they are offered in a number of colours allowing for various colours for your project. <strong>Would buy again!<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This post talks about using the&nbsp;Gikfun Normal Open 2 pin push button switch&nbsp;with an Arduino.<\/p>\n","protected":false},"author":1,"featured_media":2050,"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 blog about the #Gikfun Normal Open 2 pin Push Button Switch\u00a0For #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-1755","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\/2019\/02\/gikfun_normal_open_2pin_pushbutton_switch_posticon.jpg?fit=800%2C800&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/p2toWX-sj","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"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":1755,"position":0},"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":2055,"url":"https:\/\/chewett.co.uk\/blog\/2055\/daorier-sensor-button-switch-input-for-arduino-review-and-code\/","url_meta":{"origin":1755,"position":1},"title":"DaoRier sensor button switch input For Arduino Review and Code","author":"Chewett","date":"May 11, 2019","format":false,"excerpt":"This post talks about using the DaoRier sensor button switch input with an Arduino. DaoRier sensor button switch input The DaoRier sensor button switch input is a simple single button trigger. Whenever the button is pressed the signal pin is set to LOW. When the button is not pressed 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\/2019\/03\/DaoRier-module-sensor-buttons-switch-input-signal-module_posticon.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\/03\/DaoRier-module-sensor-buttons-switch-input-signal-module_posticon.jpg?fit=800%2C800&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2019\/03\/DaoRier-module-sensor-buttons-switch-input-signal-module_posticon.jpg?fit=800%2C800&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2019\/03\/DaoRier-module-sensor-buttons-switch-input-signal-module_posticon.jpg?fit=800%2C800&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":2491,"url":"https:\/\/chewett.co.uk\/blog\/2491\/cylewet-3pin-spdt-micro-switch-long-hinge-lever-for-arduino-review-and-code\/","url_meta":{"origin":1755,"position":2},"title":"Cylewet 3Pin SPDT Micro Switch Long Hinge Lever for Arduino Review and Code","author":"Chewett","date":"June 27, 2020","format":false,"excerpt":"This post talks about using the Cylewet 3Pin SPDT Micro Switch Long Hinge Lever with an Arduino. Cylewet 3Pin SPDT Micro Switch Long Hinge Lever 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\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\/Cylewet-3Pin-SPDT-Micro-Switch-Long-Hinge-Lever_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\/Cylewet-3Pin-SPDT-Micro-Switch-Long-Hinge-Lever_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\/Cylewet-3Pin-SPDT-Micro-Switch-Long-Hinge-Lever_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\/Cylewet-3Pin-SPDT-Micro-Switch-Long-Hinge-Lever_post_icon.jpg?fit=800%2C800&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":558,"url":"https:\/\/chewett.co.uk\/blog\/558\/ttp223b-capacitive-touch-sensor-review-code\/","url_meta":{"origin":1755,"position":3},"title":"TTP223B Capacitive Touch Sensor Review and Code","author":"Chewett","date":"September 13, 2017","format":false,"excerpt":"The TTP223B Capacitive touch sensor is a button type sensor that allows you to detect when it is being pressed. In this post I review the sensor and provide code and a wiring diagram to use such a sensor. What can a Capacitive Touch Sensor do? The sensor is essentially\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\/08\/TTP223B_touch_sensor_article_image.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\/08\/TTP223B_touch_sensor_article_image.jpg?fit=800%2C800&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/08\/TTP223B_touch_sensor_article_image.jpg?fit=800%2C800&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2017\/08\/TTP223B_touch_sensor_article_image.jpg?fit=800%2C800&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":1879,"url":"https:\/\/chewett.co.uk\/blog\/1879\/using-the-ttp223b-capacitive-touch-sensor-with-a-wemos-d1-mini-esp8266\/","url_meta":{"origin":1755,"position":4},"title":"Using the TTP223B Capacitive Touch Sensor with a WeMos D1 Mini (ESP8266)","author":"Chewett","date":"January 5, 2019","format":false,"excerpt":"In this blog post I talk about how you can use the TTP223B Capacitive Touch sensor with a WeMos D1 Mini (ESP8266) using the Arduino IDE. Summary of the TTP223B Capacitive Touch Sensor The TTP223B capacitive touch sensor works as a standard button. The main difference being that it requires\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\/ttp223b_capacitive_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\/2019\/01\/ttp223b_capacitive_sensor_wemos.jpg?fit=800%2C800&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2019\/01\/ttp223b_capacitive_sensor_wemos.jpg?fit=800%2C800&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2019\/01\/ttp223b_capacitive_sensor_wemos.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":1755,"position":5},"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":[]}],"_links":{"self":[{"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/posts\/1755","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=1755"}],"version-history":[{"count":10,"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/posts\/1755\/revisions"}],"predecessor-version":[{"id":2492,"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/posts\/1755\/revisions\/2492"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/media\/2050"}],"wp:attachment":[{"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=1755"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=1755"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=1755"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}