{"id":3859,"date":"2023-10-19T03:05:02","date_gmt":"2023-10-19T03:05:02","guid":{"rendered":"https:\/\/vegaprocessors.in\/blog\/?p=3859"},"modified":"2023-11-03T08:31:23","modified_gmt":"2023-11-03T08:31:23","slug":"interfacing-ttp223b-touch-sensor-module-with-vega-aries-boards","status":"publish","type":"post","link":"https:\/\/vegaprocessors.in\/blog\/interfacing-ttp223b-touch-sensor-module-with-vega-aries-boards\/","title":{"rendered":"Interfacing TTP223B Touch Sensor Module with VEGA ARIES Boards"},"content":{"rendered":"\n<p>In this tutorial, we will see how we can interface TTP223B touch sensor module to ARIES v3 board. Touch sensor also known as&nbsp;<strong>tactile sensor<\/strong>&nbsp;is used in detecting and recording&nbsp;<strong>physical touch<\/strong>. It is commonly used in robots for enabling basic movement and the ability to detect touch in its surroundings, smartphones, automotive, industrial applications.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Touch Sensor<\/h2>\n\n\n\n<p><strong>Touch sensor<\/strong>&nbsp;is a small and low-cost sensor made to replace old mechanical switches seen in the past. It works like a switch, where when there\u2019s contact, touch, or pressure on the surface of a touch sensor, it opens up an electrical circuit and allows currents to flow through it.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"292\" height=\"296\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2022\/06\/Screenshot-from-2022-06-07-09-34-27.png\" alt=\"\" class=\"wp-image-1313\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Prerequisites<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Windows 10 or above\/Linux (64 bit)<\/li>\n\n\n\n<li>Arduino IDE<\/li>\n\n\n\n<li><a href=\"https:\/\/vegaprocessors.in\/devboards\/ariesv3.php\" target=\"_blank\" rel=\"noreferrer noopener\">VEGA ARIES Board support package<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Components Required<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>ARIES v3.0 Board<\/li>\n\n\n\n<li>USB type C to USB type A cable<\/li>\n\n\n\n<li>Touch sensor<\/li>\n\n\n\n<li>Jumper Wires<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Circuit Diagram<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"628\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/10\/touchsensor-1024x628.png\" alt=\"\" class=\"wp-image-3902\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/10\/touchsensor-1024x628.png 1024w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/10\/touchsensor-300x184.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/10\/touchsensor-768x471.png 768w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/10\/touchsensor.png 1169w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Connections:<\/h2>\n\n\n\n<figure class=\"wp-block-table is-style-stripes\"><table><tbody><tr><td><strong>Touch Sensor<\/strong><\/td><td><strong>ARIES V3 board<\/strong><\/td><\/tr><tr><td>VCC<\/td><td>3V3<\/td><\/tr><tr><td>GND<\/td><td>GND<\/td><\/tr><tr><td>SIG<\/td><td>GPIO-0<\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\"><strong><em>Connection pins of Touch sensor &amp; ARIES v3.0 Board<\/em><\/strong><\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Procedure<\/h2>\n\n\n\n<p>Open and set up the Arduino IDE as described in&nbsp;<a href=\"https:\/\/vegaprocessors.in\/devboards\/ariesv3.php\" target=\"_blank\" rel=\"noreferrer noopener\">Getting Started with ARIES v3.0<\/a>.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Make sure you have selected&nbsp;<strong>ARIES v3<\/strong>&nbsp;Board from&nbsp;<strong>Tools<\/strong>&nbsp;-&gt;&nbsp;<strong>Board<\/strong>&nbsp;-&gt;&nbsp;<strong>VEGA Processor: ARIES Boards<\/strong>&nbsp;-&gt;&nbsp;<strong>ARIES v3<\/strong><\/li>\n\n\n\n<li>Select<strong> Tools -&gt; Flash Mode -&gt; Enabled<\/strong><\/li>\n\n\n\n<li>Select Programmer as VEGA FLASHER from&nbsp;<strong>Tools<\/strong>&nbsp;-&gt;&nbsp;<strong>Programmer<\/strong>&nbsp;-&gt;&nbsp;<strong>VEGA FLASHER<\/strong><\/li>\n\n\n\n<li>Also select appropriate port from\u00a0<strong>Tools<\/strong>\u00a0->\u00a0<strong>Port\u00a0-> COM* (ARIES Board)<\/strong><\/li>\n<\/ul>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"962\" height=\"630\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/11\/Screenshot-3-19.png\" alt=\"\" class=\"wp-image-4437\" style=\"aspect-ratio:1.5269841269841269;width:644px;height:auto\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/11\/Screenshot-3-19.png 962w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/11\/Screenshot-3-19-300x196.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/11\/Screenshot-3-19-768x503.png 768w\" sizes=\"auto, (max-width: 962px) 100vw, 962px\" \/><\/figure>\n\n\n\n<p>Now, Open&nbsp;<strong>Files<\/strong>&nbsp;-&gt;&nbsp;<strong>Examples<\/strong>&nbsp;-&gt; Under&nbsp;<strong>Examples for ARIES v3<\/strong>&nbsp;<strong>-&gt;&nbsp;GPIO-&gt;&nbsp;touch_sensor<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"521\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-07-203149-1024x521.png\" alt=\"\" class=\"wp-image-3861\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-07-203149-1024x521.png 1024w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-07-203149-300x153.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-07-203149-768x391.png 768w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/10\/Screenshot-2023-10-07-203149.png 1467w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Finally <strong>Upload <\/strong>the code to ARIES v3.0 board<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Output<\/h2>\n\n\n\n<p>&#8220;Sensor is touched&#8221; message will be display and green led will blink if sensor get touched<\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/10\/1-3-1-1024x576.jpeg\" alt=\"\" class=\"wp-image-4078\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/10\/1-3-1-1024x576.jpeg 1024w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/10\/1-3-1-300x169.jpeg 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/10\/1-3-1-768x432.jpeg 768w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/10\/1-3-1-1536x864.jpeg 1536w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/10\/1-3-1-2048x1152.jpeg 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>When sensor is not touched Internal GREEN LED is in OFF state<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/10\/1-4-1024x576.jpeg\" alt=\"\" class=\"wp-image-4079\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/10\/1-4-1024x576.jpeg 1024w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/10\/1-4-300x169.jpeg 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/10\/1-4-768x432.jpeg 768w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/10\/1-4-1536x864.jpeg 1536w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/10\/1-4-2048x1152.jpeg 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>When sensor is touched Internal GREEN LED is in ON state<\/p>\n<\/div>\n<\/div>\n\n\n\n<p>Open the serial monitor in 115200 baud rate and it will display the message &#8220;sensor is touched&#8221; when you touch the sensor.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"590\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/10\/Screenshot-14-1024x590.png\" alt=\"\" class=\"wp-image-4077\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/10\/Screenshot-14-1024x590.png 1024w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/10\/Screenshot-14-300x173.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/10\/Screenshot-14-768x442.png 768w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/10\/Screenshot-14.png 1327w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Demonstration<\/h2>\n\n\n\n<figure class=\"wp-block-video\"><video height=\"896\" style=\"aspect-ratio: 1280 \/ 896;\" width=\"1280\" controls src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/10\/1-2-1.mp4\"><\/video><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, we will see how we can interface TTP223B touch sensor module to ARIES v3 board. Touch sensor also known as&nbsp;tactile sensor&nbsp;is used in detecting and recording&nbsp;physical touch. It is commonly used in robots for enabling basic movement and the ability to detect touch in its surroundings, smartphones, automotive, industrial applications. Touch Sensor [&hellip;]<\/p>\n","protected":false},"author":13,"featured_media":4079,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[94,98],"tags":[95,76,7,68,31,24],"class_list":["post-3859","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-aries-with-arduinoide","category-training-2","tag-aries-v3-board","tag-c-dac","tag-cdac","tag-gpio","tag-thejas32","tag-vegaprocessor"],"_links":{"self":[{"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/posts\/3859","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/comments?post=3859"}],"version-history":[{"count":8,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/posts\/3859\/revisions"}],"predecessor-version":[{"id":4439,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/posts\/3859\/revisions\/4439"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/media\/4079"}],"wp:attachment":[{"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/media?parent=3859"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/categories?post=3859"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/tags?post=3859"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}