{"id":1467,"date":"2022-06-13T10:55:56","date_gmt":"2022-06-13T10:55:56","guid":{"rendered":"https:\/\/vegaprocessors.in\/blog\/?p=1467"},"modified":"2022-06-22T05:46:12","modified_gmt":"2022-06-22T05:46:12","slug":"tm1637-7-segment-display-with-aries-v2-0-board","status":"publish","type":"post","link":"https:\/\/vegaprocessors.in\/blog\/tm1637-7-segment-display-with-aries-v2-0-board\/","title":{"rendered":"TM1637 4 Digit 7-Segment Display with ARIES v2.0 Board"},"content":{"rendered":"\n<p class=\"has-text-align-left\">This tutorial is about interfacing the TM1637 module with ARIES v2.0 board.  The TM1637 module is a 7-segment 4-digit display that can be easily controlled with a few wires.The TM1637 module <strong>operates on a supply voltage of 3.3 to 5 volts and communicates via a two-wire bus<\/strong>.The TM1637 supports many functions \u2013 including ON\/OFF and brightness control of the LEDs as well as accessing each of the segments.<\/p>\n\n\n\n<p><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2022\/06\/image-14.png\" alt=\"\" class=\"wp-image-1468\" width=\"272\" height=\"272\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2022\/06\/image-14.png 1000w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2022\/06\/image-14-300x300.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2022\/06\/image-14-150x150.png 150w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2022\/06\/image-14-768x768.png 768w\" sizes=\"auto, (max-width: 272px) 100vw, 272px\" \/><figcaption><strong><em>TM1637 7-Segmet Display<\/em><\/strong><\/figcaption><\/figure>\n<\/div>\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=\"576\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2022\/06\/tm1673-1024x576.webp\" alt=\"\" class=\"wp-image-1624\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2022\/06\/tm1673-1024x576.webp 1024w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2022\/06\/tm1673-300x169.webp 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2022\/06\/tm1673-768x432.webp 768w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2022\/06\/tm1673-1536x864.webp 1536w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2022\/06\/tm1673-2048x1152.webp 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Connections:<\/h2>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\">\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\">\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\" style=\"flex-basis:100%\">\n<figure class=\"wp-block-table is-style-stripes\"><table><tbody><tr><td class=\"has-text-align-center\" data-align=\"center\">    <strong>TM1637 7-Segment Display Module<\/strong><\/td><td class=\"has-text-align-center\" data-align=\"center\">                  <strong>Aries v2 Board<\/strong>                       <\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">VCC<\/td><td class=\"has-text-align-center\" data-align=\"center\">+3.3V<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">DIO<\/td><td class=\"has-text-align-center\" data-align=\"center\">GPIO0<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">CLK<\/td><td class=\"has-text-align-center\" data-align=\"center\">GPIO1<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">GND<\/td><td class=\"has-text-align-center\" data-align=\"center\">GND<\/td><\/tr><\/tbody><\/table><figcaption><em><strong>Connections Between the TM1637 7-Segment Display Module and <\/strong><\/em> <strong><em>Vega 2.0<\/em><\/strong><\/figcaption><\/figure>\n<\/div>\n<\/div>\n<\/div><\/div>\n<\/div><\/div>\n\n\n\n<p>Now, for powering up the ARIES v2 board via USB port of a Laptop\/Desktop\/PC and burning the code into the ARIES v2 board, we have to use a micro USB type B to USB type A cable. The cable should be connected to <strong>UART0<\/strong> port of the ARIES v2 board, and the Laptop\/Desktop\/PC should be preinstalled with VEGA SDK and Toolchain.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Procedure:<\/h2>\n\n\n\n<p>After setting up the toolchain and SDK path environments, build the example program for the TM1637 module by:<\/p>\n\n\n\n<p>cd examples\/gpio\/TM1637DisplayProgram\/<\/p>\n\n\n\n<p>Commands which are given to the terminal as follows:<\/p>\n\n\n\n<p>To clean the executable: <em> make clean<\/em><\/p>\n\n\n\n<p>To build the project: <em>make<\/em><\/p>\n\n\n\n<p>Now, we can transfer the built program to the board, before transfer please ensure that you have connected the board UART0 connector to the PC. Open a new terminal and execute the following command:<\/p>\n\n\n\n<p>sudo minicom aries<\/p>\n\n\n\n<p>Now we can see the minicom terminal opened and the board UART terminal is ready. Press Reset Button to set the Aries Board.:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"820\" height=\"689\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2022\/06\/image-15.png\" alt=\"\" class=\"wp-image-1469\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2022\/06\/image-15.png 820w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2022\/06\/image-15-300x252.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2022\/06\/image-15-768x645.png 768w\" sizes=\"auto, (max-width: 820px) 100vw, 820px\" \/><figcaption>Press&nbsp;<strong>CTRL+A<\/strong> and then press <strong>S<\/strong>&nbsp;to enter file sending menu and select&nbsp;<strong>xmodem<\/strong>&nbsp;by pressing&nbsp;<strong>Enter<\/strong> as follows:<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"850\" height=\"420\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2022\/06\/image-16.png\" alt=\"\" class=\"wp-image-1470\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2022\/06\/image-16.png 850w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2022\/06\/image-16-300x148.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2022\/06\/image-16-768x379.png 768w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/figure>\n\n\n\n<p>In the next window, with&nbsp;the space bar,&nbsp;select the&nbsp;<strong><em>tm1637_display_sensor.bin<\/em><\/strong>&nbsp;file to be transferred. By pressing&nbsp;<strong>Enter<\/strong>, the transfer process starts.<\/p>\n\n\n\n<p>Wait until the process is completed. The screen should display how much data has been transferred.<\/p>\n\n\n\n<p>After completing transfer the program will start to execute.<\/p>\n\n\n\n<p>The expected output:  Initially <strong>1234 <\/strong>is displayed.<\/p>\n\n\n\n<p>                                    After approximately 1 sec, <strong>12:34<\/strong> is displayed. <\/p>\n\n\n\n<p>                                    After another 1 sec, String  &#8220;<strong>HELLo on oFF trUE FALSE Error 1234567890<\/strong>&#8221; is <\/p>\n\n\n\n<p>                                   scrolled continuously.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1178\" height=\"583\" src=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2022\/06\/TM1637-2-edited.png\" alt=\"\" class=\"wp-image-1475\" srcset=\"https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2022\/06\/TM1637-2-edited.png 1178w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2022\/06\/TM1637-2-edited-300x148.png 300w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2022\/06\/TM1637-2-edited-1024x507.png 1024w, https:\/\/vegaprocessors.in\/blog\/wp-content\/uploads\/2022\/06\/TM1637-2-edited-768x380.png 768w\" sizes=\"auto, (max-width: 1178px) 100vw, 1178px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>This tutorial is about interfacing the TM1637 module with ARIES v2.0 board. The TM1637 module is a 7-segment 4-digit display that can be easily controlled with a few wires.The TM1637 module operates on a supply voltage of 3.3 to 5 volts and communicates via a two-wire bus.The TM1637 supports many functions \u2013 including ON\/OFF and [&hellip;]<\/p>\n","protected":false},"author":10,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15,14,1],"tags":[],"class_list":["post-1467","post","type-post","status-publish","format-standard","hentry","category-getting-started","category-tutorials","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/posts\/1467","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\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/comments?post=1467"}],"version-history":[{"count":25,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/posts\/1467\/revisions"}],"predecessor-version":[{"id":1675,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/posts\/1467\/revisions\/1675"}],"wp:attachment":[{"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/media?parent=1467"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/categories?post=1467"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vegaprocessors.in\/blog\/wp-json\/wp\/v2\/tags?post=1467"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}