{"id":3430,"date":"2023-12-20T04:36:47","date_gmt":"2023-12-20T04:36:47","guid":{"rendered":"https:\/\/vegaprocessors.in\/blog\/?p=3430"},"modified":"2023-12-20T04:36:47","modified_gmt":"2023-12-20T04:36:47","slug":"interfacing-round-lcd-display-with-vega-aries-boards","status":"publish","type":"post","link":"https:\/\/vegaprocessors.in\/blog\/interfacing-round-lcd-display-with-vega-aries-boards\/","title":{"rendered":"Interfacing Round LCD display with VEGA ARIES boards"},"content":{"rendered":"\n<p>In this tutorial we will learn how to interface 1.3&#8243; colour round LCD with ARIES v2 boards. In this experiment we will use an RTC module and display the analog and digital watch face in Round LCD module.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">1.3&#8243; Round LCD<\/h2>\n\n\n\n<p>The&nbsp;<strong>1.3inch SPI Color Round LCD (240&#215;240) Breakout<\/strong>&nbsp;features a high-resolution and vibrant IPS display, offering excellent viewing angles.  This round display is ideally shaped for things like watch faces, speedometers and displaying data in interesting circular ways like pie charts and polar area graphs. You could also use it to add animated eyes to cosplay masks, build a moon phase tracker or just for displaying all the best round GIFs of pizzas, hypnotic spirals and chonky animals. <\/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-full\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"600\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/roundlcd.webp\" alt=\"\" class=\"wp-image-3432\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/roundlcd.webp 600w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/roundlcd-300x300.webp 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/roundlcd-150x150.webp 150w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/figure>\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-full\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"600\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/roundlcdBack.webp\" alt=\"\" class=\"wp-image-3433\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/roundlcdBack.webp 600w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/roundlcdBack-300x300.webp 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/roundlcdBack-150x150.webp 150w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/figure>\n<\/div>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\">DS3231 RTC<\/h2>\n\n\n\n<p>The&nbsp;<strong>DS3231<\/strong>&nbsp;RTC module is low cost and communicates over&nbsp;<strong>I2C interface<\/strong>&nbsp;having a supply voltage range from 2.3V to 5.5V . It has an in built crystal oscillator and temperature sensor which makes the IC more compact. A secondary EEPROM IC of 32 KB size is also provided with this module. To provide uninterrupted power supply, there is a provision to provide battery also.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"737\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/rtcBack.jpg\" alt=\"\" class=\"wp-image-3434\" style=\"width:304px;height:292px\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/rtcBack.jpg 768w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/rtcBack-300x288.jpg 300w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/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\/ariesv2.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 v2.0 Board<\/li>\n\n\n\n<li>Micro USB type B to USB type A cable<\/li>\n\n\n\n<li>DS3231 RTC<\/li>\n\n\n\n<li>1.3&#8243; Round LCD<\/li>\n\n\n\n<li>Jumper Wires<\/li>\n<\/ul>\n\n\n\n<p><strong>Not<\/strong><strong>e:<\/strong>&nbsp;All of the following boards can be used for this project<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/vegaprocessors.in\/devboards\/ariesv2.php\">ARIES v2.0<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/vegaprocessors.in\/devboards\/ariesv3.php\">ARIES v3.0<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/vegaprocessors.in\/devboards\/ariesmicro.php\">ARIES Micro<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/vegaprocessors.in\/devboards\/ariesdot.php\">ARIES DOT<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/vegaprocessors.in\/devboards\/ariesiot.php\">ARIES IoT<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Connection Diagram<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"603\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/roundlcd-1024x603.png\" alt=\"\" class=\"wp-image-3452\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/roundlcd-1024x603.png 1024w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/roundlcd-300x177.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/roundlcd-768x452.png 768w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/roundlcd.png 1281w\" 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>1.3&#8243; Round LCD<\/strong><\/td><td><strong>ARIES v2 board<\/strong><\/td><\/tr><tr><td>VCC<\/td><td>3.3V<\/td><\/tr><tr><td>GND<\/td><td>GND<\/td><\/tr><tr><td>CS<\/td><td>GPIO-10<\/td><\/tr><tr><td>SCK<\/td><td>SCLK-0<\/td><\/tr><tr><td>MOSI<\/td><td>MOSI-0<\/td><\/tr><tr><td>DC<\/td><td>GPIO-8<\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\"><strong><em>Connection pins of 1.3&#8243; Round LCD &amp; ARIES v2.0 Board<\/em><\/strong><br><\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-table is-style-stripes\"><table><tbody><tr><td><strong>DS3231 RTC<\/strong><\/td><td><strong>ARIES v2 board<\/strong><\/td><\/tr><tr><td>VCC<\/td><td>3.3V<\/td><\/tr><tr><td>GND<\/td><td>GND<\/td><\/tr><tr><td>SCL<\/td><td>SCL-0<\/td><\/tr><tr><td>SDA<\/td><td>SDA-0<\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\"><strong><em>Connection pins of DS3231 RTC &amp; ARIES v2.0 Board<\/em><\/strong><br><\/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\/ariesv2.php\" target=\"_blank\" rel=\"noreferrer noopener\">Getting Started with ARIES v2.0<\/a>.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Make sure you have selected&nbsp;<strong>ARIES v2<\/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 v2<\/strong><\/li>\n\n\n\n<li>Select Programmer as VEGA XMODEM from&nbsp;<strong>Tools<\/strong>&nbsp;-&gt;&nbsp;<strong>Programmer<\/strong>&nbsp;-&gt;&nbsp;<strong>VEGA XMODEM<\/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<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"424\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/roundlcdtool-1024x424.png\" alt=\"\" class=\"wp-image-3437\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/roundlcdtool-1024x424.png 1024w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/roundlcdtool-300x124.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/roundlcdtool-768x318.png 768w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/roundlcdtool.png 1276w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Now, Open\u00a0<strong>Files<\/strong>\u00a0->\u00a0<strong>Examples<\/strong>\u00a0-> Under\u00a0<strong>Examples for ARIES v<\/strong>2\u00a0<strong>->\u00a0SPI->\u00a0Round_LCD<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"629\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/roundlcdexample-1024x629.png\" alt=\"\" class=\"wp-image-3438\" style=\"width:750px;height:461px\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/roundlcdexample-1024x629.png 1024w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/roundlcdexample-300x184.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/roundlcdexample-768x471.png 768w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/roundlcdexample.png 1357w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Libraries Required<\/h2>\n\n\n\n<p>Arduino libraries are an extension of the standard Arduino API and consists of thousands of libraries, both official and contributed by the community. Libraries simplifies the use of complex codes. Every version of Arduino IDE has a library manager for installing Arduino software libraries. The libraries required for this projects are<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Adafruit_GFX Library<\/li>\n\n\n\n<li>DS1307RTC<\/li>\n\n\n\n<li>Time<\/li>\n\n\n\n<li>VEGA_ST7735_and_ST7789_Library<\/li>\n<\/ul>\n\n\n\n<p>To install the libraries required for this project.<\/p>\n\n\n\n<p>Go to&nbsp;<strong>Tools -&gt; Manage Libraries<\/strong>&nbsp;-&gt; and search with the library name<\/p>\n\n\n\n<p>If prompted to install with dependencies then Click on<strong>&nbsp;Install all<\/strong><\/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-full\"><img loading=\"lazy\" decoding=\"async\" width=\"975\" height=\"550\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/roundlcdlib3.png\" alt=\"\" class=\"wp-image-3443\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/roundlcdlib3.png 975w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/roundlcdlib3-300x169.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/roundlcdlib3-768x433.png 768w\" sizes=\"auto, (max-width: 975px) 100vw, 975px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"975\" height=\"542\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/roundlcdlib4.png\" alt=\"\" class=\"wp-image-3444\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/roundlcdlib4.png 975w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/roundlcdlib4-300x167.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/roundlcdlib4-768x427.png 768w\" sizes=\"auto, (max-width: 975px) 100vw, 975px\" \/><\/figure>\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-full\"><img loading=\"lazy\" decoding=\"async\" width=\"971\" height=\"545\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/roundlcdlib2.png\" alt=\"\" class=\"wp-image-3442\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/roundlcdlib2.png 971w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/roundlcdlib2-300x168.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/roundlcdlib2-768x431.png 768w\" sizes=\"auto, (max-width: 971px) 100vw, 971px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"977\" height=\"543\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/roundlcdlib6.png\" alt=\"\" class=\"wp-image-3446\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/roundlcdlib6.png 977w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/roundlcdlib6-300x167.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/roundlcdlib6-768x427.png 768w\" sizes=\"auto, (max-width: 977px) 100vw, 977px\" \/><\/figure>\n<\/div>\n<\/div>\n\n\n\n<p>Once you have downloaded the required libraries you can upload the code to ARIES board.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Output<\/h2>\n\n\n\n<p>This demo is used to display clock using Round LCD and RTC. Use the inbuilt DIP switch (GPIO-16) in ARIES v2 board to change the clock display from Analog to digital.<\/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=\"575\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/roundlcdoutput1-1024x575.jpeg\" alt=\"\" class=\"wp-image-3447\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/roundlcdoutput1-1024x575.jpeg 1024w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/roundlcdoutput1-300x169.jpeg 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/roundlcdoutput1-768x431.jpeg 768w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/roundlcdoutput1-1536x863.jpeg 1536w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/roundlcdoutput1-2048x1150.jpeg 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\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=\"458\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/roundlcdoutput2-1024x458.jpeg\" alt=\"\" class=\"wp-image-3449\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/roundlcdoutput2-1024x458.jpeg 1024w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/roundlcdoutput2-300x134.jpeg 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/roundlcdoutput2-768x343.jpeg 768w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/roundlcdoutput2-1536x687.jpeg 1536w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/roundlcdoutput2-2048x916.jpeg 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Demonstration<\/h2>\n\n\n\n<figure class=\"wp-block-video\"><video height=\"1296\" style=\"aspect-ratio: 640 \/ 1296;\" width=\"640\" controls src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2023\/09\/roundlcdvideo.mp4\"><\/video><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial we will learn how to interface 1.3&#8243; colour round LCD with ARIES v2 boards. In this experiment we will use an RTC module and display the analog and digital watch face in Round LCD module. 1.3&#8243; Round LCD The&nbsp;1.3inch SPI Color Round LCD (240&#215;240) Breakout&nbsp;features a high-resolution and vibrant IPS display, offering [&hellip;]<\/p>\n","protected":false},"author":13,"featured_media":3447,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[94],"tags":[75,76,7,66,67,77,31,24],"class_list":["post-3430","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-aries-with-arduinoide","tag-aries-v2-board","tag-c-dac","tag-cdac","tag-iic","tag-spi","tag-thejas-32","tag-thejas32","tag-vegaprocessor"],"_links":{"self":[{"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/posts\/3430","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=3430"}],"version-history":[{"count":11,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/posts\/3430\/revisions"}],"predecessor-version":[{"id":4617,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/posts\/3430\/revisions\/4617"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/media\/3447"}],"wp:attachment":[{"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/media?parent=3430"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/categories?post=3430"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/tags?post=3430"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}