{"id":77082,"date":"2024-06-19T14:38:06","date_gmt":"2024-06-19T18:38:06","guid":{"rendered":"https:\/\/www.engineersgarage.com\/?p=77082"},"modified":"2024-06-20T16:16:45","modified_gmt":"2024-06-20T20:16:45","slug":"sensor-value-display-on-tft-lcd-using-arduino-part-i","status":"publish","type":"post","link":"https:\/\/www.engineersgarage.com\/sensor-value-display-on-tft-lcd-using-arduino-part-i\/","title":{"rendered":"Sensor value display on TFT LCD using Arduino: Part I"},"content":{"rendered":"<p><strong>Displaying potentiometer value and temperature using LM35<br \/>\n<\/strong>In my previous tutorial series on displaying sensor data (value) on OLED display, I have explained how to display values of different sensors like a potentiometer, LM35, soil moisture sensor, DHT, HC SR04, etc. on a tiny 1\u201d OLED display. This time, I will demonstrate and explain how to display various sensor values on a multicolor TFT LCD screen.<\/p>\n<p>TFT LCDs are very widely used attractive displays that can display TEXT, digits, numbers, figures, images, graphics, etc. They are available in different sizes such as:<\/p>\n<ul>\n<li>Small &#8211; 1.4\u201d, 1.8\u201d, 2.4\u201d<\/li>\n<li>Medium &#8211; 2.8\u201d, 3.2\u201d, 3.5\u201d<\/li>\n<li>Big &#8211; 5\u201d, 7\u201d<\/li>\n<\/ul>\n<p>Most of these TFT LCDs work on SPI protocol. All these TFT LCDs can be easily interfaced with Arduino because Arduino has SPI pins (MOSI, MISO, SCK). In Arduino IDE, there is also a TFT library.<\/p>\n<p>Displaying sensor data on a TFT LCD looks very attractive because it has 64K to 256K colors.\u00a0 Also, it is possible to show colorful TEXT or image animation on this TFT LCD using Arduino. Here, I am using a 1.8\u201d TFT LCD with 128&#215;160 pixels, as shown in the figure. It works on SPI protocol and has eight pins for interfacing with Arduino.<\/p>\n<p>NO PIX<\/p>\n<p>Let&#8217;s start with a straightforward analog sensor\u2014potentiometer (POT). I will show you how to display the POT value on TFT LCD. The circuit diagram is followed by its connections, working, and operation.<\/p>\n<p><strong>Circuit diagram<br \/>\n<\/strong>The figure shows that the circuit consists of only three components\u2014POT (potentiometer), Arduino NANO board, and 1.8\u201d TFT LCD.<\/p>\n<p><a href=\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2022\/08\/TFT-LCD-and-POT.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-77085 size-large\" src=\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2022\/08\/TFT-LCD-and-POT-1024x454.jpg\" alt=\"\" width=\"740\" height=\"328\" srcset=\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2022\/08\/TFT-LCD-and-POT-1024x454.jpg 1024w, https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2022\/08\/TFT-LCD-and-POT-300x133.jpg 300w, https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2022\/08\/TFT-LCD-and-POT-768x341.jpg 768w, https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2022\/08\/TFT-LCD-and-POT-368x163.jpg 368w, https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2022\/08\/TFT-LCD-and-POT.jpg 1348w\" sizes=\"auto, (max-width: 740px) 100vw, 740px\" \/><\/a><\/p>\n<p><strong>Circuit connections<br \/>\n<\/strong>The potentiometer has three terminals. The two end terminals are connected with +5V and GND pins of the Arduino board, as shown. The middle-slider terminal is connected with analog input pin A0. Thus, rotating POT\u2019s analog input voltage at pin A0 varies from 0 to 5V.<\/p>\n<p>The TFT LCD has a total of eight pins. It works on SPI protocol, so its pins are connected with the SPI pins of the Arduino board.<\/p>\n<p><a href=\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2022\/08\/Screen-Shot-2022-08-19-at-1.21.24-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-77087\" src=\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2022\/08\/Screen-Shot-2022-08-19-at-1.21.24-PM.png\" alt=\"\" width=\"606\" height=\"308\" srcset=\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2022\/08\/Screen-Shot-2022-08-19-at-1.21.24-PM.png 606w, https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2022\/08\/Screen-Shot-2022-08-19-at-1.21.24-PM-300x152.png 300w, https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2022\/08\/Screen-Shot-2022-08-19-at-1.21.24-PM-368x187.png 368w\" sizes=\"auto, (max-width: 606px) 100vw, 606px\" \/><\/a><\/p>\n<p>The Arduino 5V supply output directly powers the circuit. Since the Arduino is powered by the computer\u2019s USB port (PC \/ laptop), there is no need for any external power supply.<\/p>\n<p><strong>Circuit operation<u><br \/>\n<\/u><\/strong>The POT is used to vary the analog voltage from 0 to 5V. This analog voltage is given to Arduino pin A0 as input. Arduino reads this analog voltage and converts it into a digital value between 0 to 1023. It is first converted into a string and then into an array of characters because TFT LCD can only display characters. The value is displayed as characters on TFT LCD.\u00a0 Arduino has a TFT library \u201cTFT.h\u201d that is used here along with other two libraries, \u201cSPI.h\u201d and \u201cwire.h\u201d.<\/p>\n<p>The Arduino TFT library has direct functions to display TEXT, graphics, and images in various colors on the TFT LCD. Since the TFT LCD works on SPI, we need an SPI library and wire library to communicate.Below is the software program in Arduino IDE for displaying POT value on TFT LCD<\/p>\n<style>\n.gist-data{    height:250px; \/\/ Any height    overflow: auto;<br \/>}<\/style>\n<p><script src=\"https:\/\/gist.github.com\/Ajak58a\/11dfdecd09857e012667e87a4a2f92bf.js\"><\/script><br \/>\nHere is the snap of circuit arrangement with pot value displayed on the TFT LCD screen.<\/p>\n<p><a href=\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2022\/08\/TFT-and-POT-small.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-77084\" src=\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2022\/08\/TFT-and-POT-small.jpg\" alt=\"\" width=\"1000\" height=\"462\" srcset=\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2022\/08\/TFT-and-POT-small.jpg 1000w, https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2022\/08\/TFT-and-POT-small-300x139.jpg 300w, https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2022\/08\/TFT-and-POT-small-768x355.jpg 768w, https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2022\/08\/TFT-and-POT-small-368x170.jpg 368w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/a><\/p>\n<p>Now we can connect any analog sensor with Arduino and display its data on TFT LCD.<\/p>\n<p>I will replace the POT with a widely-used and accurate temperature sensor, the LM35. It gives analog output voltage as ten mV\/<sup>o<\/sup>C. Now, I will show you how to measure accurate room temperature and display it on TFT LCD. First, see the circuit diagram below.<\/p>\n<p><strong>Circuit diagram<\/strong><\/p>\n<p><a href=\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2022\/08\/TFT-LCD-and-LM35.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-77086 size-large\" src=\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2022\/08\/TFT-LCD-and-LM35-1024x454.jpg\" alt=\"\" width=\"740\" height=\"328\" srcset=\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2022\/08\/TFT-LCD-and-LM35-1024x454.jpg 1024w, https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2022\/08\/TFT-LCD-and-LM35-300x133.jpg 300w, https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2022\/08\/TFT-LCD-and-LM35-768x341.jpg 768w, https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2022\/08\/TFT-LCD-and-LM35-368x163.jpg 368w, https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2022\/08\/TFT-LCD-and-LM35.jpg 1348w\" sizes=\"auto, (max-width: 740px) 100vw, 740px\" \/><\/a>As shown in the circuit, I have replaced the LM35 sensor module in place of the POT.<\/p>\n<p>The LM35 temperature sensor module also has three pins (terminals) (1) +V (2) G(-) and (3) S (signal). +V and G(-) are connected to +5V and GND of the Arduino board. S (signal) is the sensor\u2019s analog output and is connected to analog input pin A0 of Arduino.<\/p>\n<p><strong>Circuit operation<br \/>\n<\/strong>The LM35 sensor sense room temperature and gives analog voltage output from 0 to 1V. This analog voltage is given to Arduino pin A0 as input. Arduino reads this analog voltage and converts it into a digital value between 0 to 1023. This value is multiplied by a factor of 0.488* to get the exact room temperature value. This value is the float number. It is first converted into a string and further into an array of characters because TFT LCD can only display characters.<\/p>\n<p>We will now display this temperature reading on TFT. It is handled again similarly by TFT library functions. Here is the program code to display room temperature on TFT LCD<\/p>\n<style>\n.gist-data{    height:250px; \/\/ Any height    overflow: auto;<br \/>}<\/style>\n<p><script src=\"https:\/\/gist.github.com\/Ajak58a\/fbcea11a526e22790bc1e498ec491914.js\"><\/script><\/p>\n<p>Here is the snap of circuit arrangement with pot value displayed on the TFT LCD screen.<\/p>\n<p><a href=\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2022\/08\/temp-sensor-small.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-77083\" src=\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2022\/08\/temp-sensor-small-969x1024.jpg\" alt=\"\" width=\"740\" height=\"782\" srcset=\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2022\/08\/temp-sensor-small-969x1024.jpg 969w, https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2022\/08\/temp-sensor-small-284x300.jpg 284w, https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2022\/08\/temp-sensor-small-768x811.jpg 768w, https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2022\/08\/temp-sensor-small-225x238.jpg 225w, https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2022\/08\/temp-sensor-small.jpg 977w\" sizes=\"auto, (max-width: 740px) 100vw, 740px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>In the next article of this tutorial series, I will demonstrate how to display temperature, humidity, and soil moisture content on a TFT LCD using the DHT11 and soil moisture sensor.<\/p>\n<p>&nbsp;<\/p>\n<p>*Note \u2013 detailed explanation is given in the program code<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Displaying potentiometer value and temperature using LM35 In my previous tutorial series on displaying sensor data (value) on OLED display, I have explained how to display values of different sensors like a potentiometer, LM35, soil moisture sensor, DHT, HC SR04, etc. on a tiny 1\u201d OLED display. This time, I will demonstrate and explain how&hellip;<\/p>\n","protected":false},"author":64,"featured_media":77084,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","footnotes":""},"categories":[32,13,1853],"tags":[1175],"class_list":{"2":"type-post","11":"entry","12":"has-post-thumbnail"},"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v25.2 (Yoast SEO v25.2) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Sensor value display on TFT LCD using Arduino: Part I<\/title>\n<meta name=\"description\" content=\"The TFT LCD has a total of eight pins. It works on SPI protocol, so its pins are connected with the SPI pins of the Arduino board.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.engineersgarage.com\/sensor-value-display-on-tft-lcd-using-arduino-part-i\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Sensor value display on TFT LCD using Arduino: Part I\" \/>\n<meta property=\"og:description\" content=\"The TFT LCD has a total of eight pins. It works on SPI protocol, so its pins are connected with the SPI pins of the Arduino board.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.engineersgarage.com\/sensor-value-display-on-tft-lcd-using-arduino-part-i\/\" \/>\n<meta property=\"og:site_name\" content=\"Engineers Garage\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/engineersgarage\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2022\/08\/TFT-and-POT-small.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1000\" \/>\n\t<meta property=\"og:image:height\" content=\"462\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Ashutosh Bhatt\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@EngineersGarage\" \/>\n<meta name=\"twitter:site\" content=\"@EngineersGarage\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ashutosh Bhatt\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.engineersgarage.com\/sensor-value-display-on-tft-lcd-using-arduino-part-i\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.engineersgarage.com\/sensor-value-display-on-tft-lcd-using-arduino-part-i\/\"},\"author\":{\"name\":\"Ashutosh Bhatt\",\"@id\":\"https:\/\/www.engineersgarage.com\/#\/schema\/person\/ff80aa34dc1249eb691d684fec9d1c06\"},\"headline\":\"Sensor value display on TFT LCD using Arduino: Part I\",\"datePublished\":\"2024-06-19T18:38:06+00:00\",\"dateModified\":\"2024-06-20T20:16:45+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.engineersgarage.com\/sensor-value-display-on-tft-lcd-using-arduino-part-i\/\"},\"wordCount\":826,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.engineersgarage.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.engineersgarage.com\/sensor-value-display-on-tft-lcd-using-arduino-part-i\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2022\/08\/TFT-and-POT-small.jpg\",\"keywords\":[\"Arduino\"],\"articleSection\":[\"Arduino Projects\",\"Electronic Projects\",\"Featured Contributions\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.engineersgarage.com\/sensor-value-display-on-tft-lcd-using-arduino-part-i\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.engineersgarage.com\/sensor-value-display-on-tft-lcd-using-arduino-part-i\/\",\"url\":\"https:\/\/www.engineersgarage.com\/sensor-value-display-on-tft-lcd-using-arduino-part-i\/\",\"name\":\"Sensor value display on TFT LCD using Arduino: Part I\",\"isPartOf\":{\"@id\":\"https:\/\/www.engineersgarage.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.engineersgarage.com\/sensor-value-display-on-tft-lcd-using-arduino-part-i\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.engineersgarage.com\/sensor-value-display-on-tft-lcd-using-arduino-part-i\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2022\/08\/TFT-and-POT-small.jpg\",\"datePublished\":\"2024-06-19T18:38:06+00:00\",\"dateModified\":\"2024-06-20T20:16:45+00:00\",\"description\":\"The TFT LCD has a total of eight pins. It works on SPI protocol, so its pins are connected with the SPI pins of the Arduino board.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.engineersgarage.com\/sensor-value-display-on-tft-lcd-using-arduino-part-i\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.engineersgarage.com\/sensor-value-display-on-tft-lcd-using-arduino-part-i\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.engineersgarage.com\/sensor-value-display-on-tft-lcd-using-arduino-part-i\/#primaryimage\",\"url\":\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2022\/08\/TFT-and-POT-small.jpg\",\"contentUrl\":\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2022\/08\/TFT-and-POT-small.jpg\",\"width\":1000,\"height\":462},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.engineersgarage.com\/sensor-value-display-on-tft-lcd-using-arduino-part-i\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.engineersgarage.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Sensor value display on TFT LCD using Arduino: Part I\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.engineersgarage.com\/#website\",\"url\":\"https:\/\/www.engineersgarage.com\/\",\"name\":\"Engineers Garage\",\"description\":\"Electronic Projects, Electrical Engineering Resources, Makers Articles and Product News\",\"publisher\":{\"@id\":\"https:\/\/www.engineersgarage.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.engineersgarage.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.engineersgarage.com\/#organization\",\"name\":\"Engineer's Garage - WTWH Media\",\"url\":\"https:\/\/www.engineersgarage.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.engineersgarage.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2019\/08\/EGlogo.png\",\"contentUrl\":\"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2019\/08\/EGlogo.png\",\"width\":372,\"height\":52,\"caption\":\"Engineer's Garage - WTWH Media\"},\"image\":{\"@id\":\"https:\/\/www.engineersgarage.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/engineersgarage\",\"https:\/\/x.com\/EngineersGarage\",\"https:\/\/www.youtube.com\/channel\/UC0VITh11JSYk-UW7toLebUw\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.engineersgarage.com\/#\/schema\/person\/ff80aa34dc1249eb691d684fec9d1c06\",\"name\":\"Ashutosh Bhatt\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.engineersgarage.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/68b3974894b20e23ded96f2892a241268df7ecec2258979fa47e5e0955676822?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/68b3974894b20e23ded96f2892a241268df7ecec2258979fa47e5e0955676822?s=96&r=g\",\"caption\":\"Ashutosh Bhatt\"},\"url\":\"https:\/\/www.engineersgarage.com\/author\/abhatt\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Sensor value display on TFT LCD using Arduino: Part I","description":"The TFT LCD has a total of eight pins. It works on SPI protocol, so its pins are connected with the SPI pins of the Arduino board.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.engineersgarage.com\/sensor-value-display-on-tft-lcd-using-arduino-part-i\/","og_locale":"en_US","og_type":"article","og_title":"Sensor value display on TFT LCD using Arduino: Part I","og_description":"The TFT LCD has a total of eight pins. It works on SPI protocol, so its pins are connected with the SPI pins of the Arduino board.","og_url":"https:\/\/www.engineersgarage.com\/sensor-value-display-on-tft-lcd-using-arduino-part-i\/","og_site_name":"Engineers Garage","article_publisher":"https:\/\/www.facebook.com\/engineersgarage","og_image":[{"width":1000,"height":462,"url":"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2022\/08\/TFT-and-POT-small.jpg","type":"image\/jpeg"}],"author":"Ashutosh Bhatt","twitter_card":"summary_large_image","twitter_creator":"@EngineersGarage","twitter_site":"@EngineersGarage","twitter_misc":{"Written by":"Ashutosh Bhatt","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.engineersgarage.com\/sensor-value-display-on-tft-lcd-using-arduino-part-i\/#article","isPartOf":{"@id":"https:\/\/www.engineersgarage.com\/sensor-value-display-on-tft-lcd-using-arduino-part-i\/"},"author":{"name":"Ashutosh Bhatt","@id":"https:\/\/www.engineersgarage.com\/#\/schema\/person\/ff80aa34dc1249eb691d684fec9d1c06"},"headline":"Sensor value display on TFT LCD using Arduino: Part I","datePublished":"2024-06-19T18:38:06+00:00","dateModified":"2024-06-20T20:16:45+00:00","mainEntityOfPage":{"@id":"https:\/\/www.engineersgarage.com\/sensor-value-display-on-tft-lcd-using-arduino-part-i\/"},"wordCount":826,"commentCount":0,"publisher":{"@id":"https:\/\/www.engineersgarage.com\/#organization"},"image":{"@id":"https:\/\/www.engineersgarage.com\/sensor-value-display-on-tft-lcd-using-arduino-part-i\/#primaryimage"},"thumbnailUrl":"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2022\/08\/TFT-and-POT-small.jpg","keywords":["Arduino"],"articleSection":["Arduino Projects","Electronic Projects","Featured Contributions"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.engineersgarage.com\/sensor-value-display-on-tft-lcd-using-arduino-part-i\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.engineersgarage.com\/sensor-value-display-on-tft-lcd-using-arduino-part-i\/","url":"https:\/\/www.engineersgarage.com\/sensor-value-display-on-tft-lcd-using-arduino-part-i\/","name":"Sensor value display on TFT LCD using Arduino: Part I","isPartOf":{"@id":"https:\/\/www.engineersgarage.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.engineersgarage.com\/sensor-value-display-on-tft-lcd-using-arduino-part-i\/#primaryimage"},"image":{"@id":"https:\/\/www.engineersgarage.com\/sensor-value-display-on-tft-lcd-using-arduino-part-i\/#primaryimage"},"thumbnailUrl":"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2022\/08\/TFT-and-POT-small.jpg","datePublished":"2024-06-19T18:38:06+00:00","dateModified":"2024-06-20T20:16:45+00:00","description":"The TFT LCD has a total of eight pins. It works on SPI protocol, so its pins are connected with the SPI pins of the Arduino board.","breadcrumb":{"@id":"https:\/\/www.engineersgarage.com\/sensor-value-display-on-tft-lcd-using-arduino-part-i\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.engineersgarage.com\/sensor-value-display-on-tft-lcd-using-arduino-part-i\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.engineersgarage.com\/sensor-value-display-on-tft-lcd-using-arduino-part-i\/#primaryimage","url":"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2022\/08\/TFT-and-POT-small.jpg","contentUrl":"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2022\/08\/TFT-and-POT-small.jpg","width":1000,"height":462},{"@type":"BreadcrumbList","@id":"https:\/\/www.engineersgarage.com\/sensor-value-display-on-tft-lcd-using-arduino-part-i\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.engineersgarage.com\/"},{"@type":"ListItem","position":2,"name":"Sensor value display on TFT LCD using Arduino: Part I"}]},{"@type":"WebSite","@id":"https:\/\/www.engineersgarage.com\/#website","url":"https:\/\/www.engineersgarage.com\/","name":"Engineers Garage","description":"Electronic Projects, Electrical Engineering Resources, Makers Articles and Product News","publisher":{"@id":"https:\/\/www.engineersgarage.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.engineersgarage.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.engineersgarage.com\/#organization","name":"Engineer's Garage - WTWH Media","url":"https:\/\/www.engineersgarage.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.engineersgarage.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2019\/08\/EGlogo.png","contentUrl":"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2019\/08\/EGlogo.png","width":372,"height":52,"caption":"Engineer's Garage - WTWH Media"},"image":{"@id":"https:\/\/www.engineersgarage.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/engineersgarage","https:\/\/x.com\/EngineersGarage","https:\/\/www.youtube.com\/channel\/UC0VITh11JSYk-UW7toLebUw"]},{"@type":"Person","@id":"https:\/\/www.engineersgarage.com\/#\/schema\/person\/ff80aa34dc1249eb691d684fec9d1c06","name":"Ashutosh Bhatt","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.engineersgarage.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/68b3974894b20e23ded96f2892a241268df7ecec2258979fa47e5e0955676822?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/68b3974894b20e23ded96f2892a241268df7ecec2258979fa47e5e0955676822?s=96&r=g","caption":"Ashutosh Bhatt"},"url":"https:\/\/www.engineersgarage.com\/author\/abhatt\/"}]}},"featured_image_src":"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2022\/08\/TFT-and-POT-small-600x400.jpg","featured_image_src_square":"https:\/\/www.engineersgarage.com\/wp-content\/uploads\/2022\/08\/TFT-and-POT-small-600x462.jpg","author_info":{"display_name":"Ashutosh Bhatt","author_link":"https:\/\/www.engineersgarage.com\/author\/abhatt\/"},"_links":{"self":[{"href":"https:\/\/www.engineersgarage.com\/wp-json\/wp\/v2\/posts\/77082","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.engineersgarage.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.engineersgarage.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.engineersgarage.com\/wp-json\/wp\/v2\/users\/64"}],"replies":[{"embeddable":true,"href":"https:\/\/www.engineersgarage.com\/wp-json\/wp\/v2\/comments?post=77082"}],"version-history":[{"count":0,"href":"https:\/\/www.engineersgarage.com\/wp-json\/wp\/v2\/posts\/77082\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.engineersgarage.com\/wp-json\/wp\/v2\/media\/77084"}],"wp:attachment":[{"href":"https:\/\/www.engineersgarage.com\/wp-json\/wp\/v2\/media?parent=77082"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.engineersgarage.com\/wp-json\/wp\/v2\/categories?post=77082"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.engineersgarage.com\/wp-json\/wp\/v2\/tags?post=77082"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}