{"id":11801,"date":"2016-01-06T09:15:38","date_gmt":"2016-01-06T17:15:38","guid":{"rendered":"https:\/\/blog.digilentinc.com\/?p=11801"},"modified":"2021-06-16T15:41:35","modified_gmt":"2021-06-16T22:41:35","slug":"creating-an-fpga-led-finite-state-machine","status":"publish","type":"post","link":"https:\/\/digilent.com\/blog\/creating-an-fpga-led-finite-state-machine\/","title":{"rendered":"Creating an FPGA LED Finite State Machine"},"content":{"rendered":"<p>Now that we&#8217;re back from vacation, it&#8217;s time to focus on some new projects. <a href=\"http:\/\/www.instructables.com\/id\/FPGA-LED-FSM\/?ALLSTEPS\">This one<\/a> was created by Instructables user <a href=\"http:\/\/www.instructables.com\/member\/harlowchris\/\" rel=\"author\">harlowchris<\/a>\u00a0and three schoolmates for a class.<\/p>\n<p>For this project, you&#8217;ll need a Basys 3 FPGA board, an infrared motion detector, a transistor, wires, an LED, a breadboard, and jumper wires for using with the breadboard.<\/p>\n<p><a href=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/01\/basys-3-fsm-instructables.jpg\" rel=\"attachment wp-att-11807\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-11807\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/01\/basys-3-fsm-instructables-450x600.jpg\" alt=\"basys-3-fsm-instructables\" width=\"450\" height=\"600\" data-wp-pid=\"11807\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/01\/basys-3-fsm-instructables-450x600.jpg 450w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/01\/basys-3-fsm-instructables.jpg 465w\" sizes=\"auto, (max-width: 450px) 100vw, 450px\" \/><\/a><\/p>\n<p>This FPGA is wired up to both an infrared motion sensor as well as an LED. When motion is detected, the sensor can send out a &#8220;high&#8221; signal to the Basys 3. At this point, the external LED is turned on and a counter is activated and stays on until the sensor is no longer sending the signal. The value for how much power is consumed during the duration of the signal is calculated and displayed.<\/p>\n<p>This project includes the schematic for how to configure it, as well as all the files you need to do this in Vivado. It&#8217;s a good way to get back into the swing of things for the beginning of the year!<\/p>\n<p>&nbsp;<\/p>\n<div class='watch-action'><div class='watch-position align-left'><div class='action-like'><a class='lbg-style6 like-11801 jlk' data-task='like' data-post_id='11801' data-nonce='ce332c8207' rel='nofollow'><img src='https:\/\/digilent.com\/blog\/wp-content\/plugins\/wti-like-post-pro\/images\/pixel.gif' title='Like' \/><span class='lc-11801 lc'>0<\/span><\/a><\/div><div class='action-unlike'><a class='unlbg-style6 unlike-11801 jlk' data-task='unlike' data-post_id='11801' data-nonce='ce332c8207' rel='nofollow'><img src='https:\/\/digilent.com\/blog\/wp-content\/plugins\/wti-like-post-pro\/images\/pixel.gif' title='Unlike' \/><span class='unlc-11801 unlc'>0<\/span><\/a><\/div><\/div> <div class='status-11801 status align-left'>Be the 1st to vote.<\/div><\/div><div class='wti-clear'><\/div>","protected":false},"excerpt":{"rendered":"<p>Get back to doing projects with this finite state machine done with a Basys 3.<\/p>\n","protected":false},"author":7,"featured_media":10722,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false,"_ppma_block_editor_authors":""},"categories":[4327,35],"tags":[104,453],"ppma_author":[4464],"class_list":["post-11801","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-projects","category-fpga","tag-project-2","tag-vivado"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Creating an FPGA LED Finite State Machine - Digilent Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/digilent.com\/blog\/creating-an-fpga-led-finite-state-machine\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Creating an FPGA LED Finite State Machine - Digilent Blog\" \/>\n<meta property=\"og:description\" content=\"Get back to doing projects with this finite state machine done with a Basys 3.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/digilent.com\/blog\/creating-an-fpga-led-finite-state-machine\/\" \/>\n<meta property=\"og:site_name\" content=\"Digilent Blog\" \/>\n<meta property=\"article:published_time\" content=\"2016-01-06T17:15:38+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-06-16T22:41:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/10\/basys-3-bit-counter.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"620\" \/>\n\t<meta property=\"og:image:height\" content=\"465\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Amber Mear\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Amber Mear\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/digilent.com\\\/blog\\\/creating-an-fpga-led-finite-state-machine\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/digilent.com\\\/blog\\\/creating-an-fpga-led-finite-state-machine\\\/\"},\"author\":{\"name\":\"Amber Mear\",\"@id\":\"https:\\\/\\\/digilent.com\\\/blog\\\/#\\\/schema\\\/person\\\/c33500b30135cd0853e452b0ccfa2bcb\"},\"headline\":\"Creating an FPGA LED Finite State Machine\",\"datePublished\":\"2016-01-06T17:15:38+00:00\",\"dateModified\":\"2021-06-16T22:41:35+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/digilent.com\\\/blog\\\/creating-an-fpga-led-finite-state-machine\\\/\"},\"wordCount\":184,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/digilent.com\\\/blog\\\/creating-an-fpga-led-finite-state-machine\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/digilent.com\\\/blog\\\/wp-content\\\/uploads\\\/2015\\\/10\\\/basys-3-bit-counter.jpg\",\"keywords\":[\"project\",\"Vivado\"],\"articleSection\":[\"Digilent Projects \u2013 Blog\",\"FPGA Products: What They Are &amp; How to Use Them - Digilent\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/digilent.com\\\/blog\\\/creating-an-fpga-led-finite-state-machine\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/digilent.com\\\/blog\\\/creating-an-fpga-led-finite-state-machine\\\/\",\"url\":\"https:\\\/\\\/digilent.com\\\/blog\\\/creating-an-fpga-led-finite-state-machine\\\/\",\"name\":\"Creating an FPGA LED Finite State Machine - Digilent Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/digilent.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/digilent.com\\\/blog\\\/creating-an-fpga-led-finite-state-machine\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/digilent.com\\\/blog\\\/creating-an-fpga-led-finite-state-machine\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/digilent.com\\\/blog\\\/wp-content\\\/uploads\\\/2015\\\/10\\\/basys-3-bit-counter.jpg\",\"datePublished\":\"2016-01-06T17:15:38+00:00\",\"dateModified\":\"2021-06-16T22:41:35+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/digilent.com\\\/blog\\\/#\\\/schema\\\/person\\\/c33500b30135cd0853e452b0ccfa2bcb\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/digilent.com\\\/blog\\\/creating-an-fpga-led-finite-state-machine\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/digilent.com\\\/blog\\\/creating-an-fpga-led-finite-state-machine\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/digilent.com\\\/blog\\\/creating-an-fpga-led-finite-state-machine\\\/#primaryimage\",\"url\":\"https:\\\/\\\/digilent.com\\\/blog\\\/wp-content\\\/uploads\\\/2015\\\/10\\\/basys-3-bit-counter.jpg\",\"contentUrl\":\"https:\\\/\\\/digilent.com\\\/blog\\\/wp-content\\\/uploads\\\/2015\\\/10\\\/basys-3-bit-counter.jpg\",\"width\":620,\"height\":465},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/digilent.com\\\/blog\\\/creating-an-fpga-led-finite-state-machine\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/digilent.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Creating an FPGA LED Finite State Machine\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/digilent.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/digilent.com\\\/blog\\\/\",\"name\":\"Digilent Blog\",\"description\":\"Learning for Engineers, Students, and Hobbyists\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/digilent.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/digilent.com\\\/blog\\\/#\\\/schema\\\/person\\\/c33500b30135cd0853e452b0ccfa2bcb\",\"name\":\"Amber Mear\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d0fc56ab4035f79884675bde2a948e84c1d14dd33b730b4c142dde6f1a962395?s=96&d=mm&r=gfaace292e54f77e65a2a49c9902b2a29\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d0fc56ab4035f79884675bde2a948e84c1d14dd33b730b4c142dde6f1a962395?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d0fc56ab4035f79884675bde2a948e84c1d14dd33b730b4c142dde6f1a962395?s=96&d=mm&r=g\",\"caption\":\"Amber Mear\"},\"description\":\"I was the Digilent blog editor, and now I'm a contributor. I love learning about wearables and writing about social issues in STEM. Outside of work, I can be found watching Netflix with my cat, working on an art project, or trying to find new, delicious local foods.\",\"url\":\"https:\\\/\\\/digilent.com\\\/blog\\\/author\\\/amber_mear\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Creating an FPGA LED Finite State Machine - Digilent Blog","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:\/\/digilent.com\/blog\/creating-an-fpga-led-finite-state-machine\/","og_locale":"en_US","og_type":"article","og_title":"Creating an FPGA LED Finite State Machine - Digilent Blog","og_description":"Get back to doing projects with this finite state machine done with a Basys 3.","og_url":"https:\/\/digilent.com\/blog\/creating-an-fpga-led-finite-state-machine\/","og_site_name":"Digilent Blog","article_published_time":"2016-01-06T17:15:38+00:00","article_modified_time":"2021-06-16T22:41:35+00:00","og_image":[{"width":620,"height":465,"url":"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/10\/basys-3-bit-counter.jpg","type":"image\/jpeg"}],"author":"Amber Mear","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Amber Mear","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/digilent.com\/blog\/creating-an-fpga-led-finite-state-machine\/#article","isPartOf":{"@id":"https:\/\/digilent.com\/blog\/creating-an-fpga-led-finite-state-machine\/"},"author":{"name":"Amber Mear","@id":"https:\/\/digilent.com\/blog\/#\/schema\/person\/c33500b30135cd0853e452b0ccfa2bcb"},"headline":"Creating an FPGA LED Finite State Machine","datePublished":"2016-01-06T17:15:38+00:00","dateModified":"2021-06-16T22:41:35+00:00","mainEntityOfPage":{"@id":"https:\/\/digilent.com\/blog\/creating-an-fpga-led-finite-state-machine\/"},"wordCount":184,"commentCount":0,"image":{"@id":"https:\/\/digilent.com\/blog\/creating-an-fpga-led-finite-state-machine\/#primaryimage"},"thumbnailUrl":"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/10\/basys-3-bit-counter.jpg","keywords":["project","Vivado"],"articleSection":["Digilent Projects \u2013 Blog","FPGA Products: What They Are &amp; How to Use Them - Digilent"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/digilent.com\/blog\/creating-an-fpga-led-finite-state-machine\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/digilent.com\/blog\/creating-an-fpga-led-finite-state-machine\/","url":"https:\/\/digilent.com\/blog\/creating-an-fpga-led-finite-state-machine\/","name":"Creating an FPGA LED Finite State Machine - Digilent Blog","isPartOf":{"@id":"https:\/\/digilent.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/digilent.com\/blog\/creating-an-fpga-led-finite-state-machine\/#primaryimage"},"image":{"@id":"https:\/\/digilent.com\/blog\/creating-an-fpga-led-finite-state-machine\/#primaryimage"},"thumbnailUrl":"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/10\/basys-3-bit-counter.jpg","datePublished":"2016-01-06T17:15:38+00:00","dateModified":"2021-06-16T22:41:35+00:00","author":{"@id":"https:\/\/digilent.com\/blog\/#\/schema\/person\/c33500b30135cd0853e452b0ccfa2bcb"},"breadcrumb":{"@id":"https:\/\/digilent.com\/blog\/creating-an-fpga-led-finite-state-machine\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/digilent.com\/blog\/creating-an-fpga-led-finite-state-machine\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/digilent.com\/blog\/creating-an-fpga-led-finite-state-machine\/#primaryimage","url":"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/10\/basys-3-bit-counter.jpg","contentUrl":"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/10\/basys-3-bit-counter.jpg","width":620,"height":465},{"@type":"BreadcrumbList","@id":"https:\/\/digilent.com\/blog\/creating-an-fpga-led-finite-state-machine\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/digilent.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Creating an FPGA LED Finite State Machine"}]},{"@type":"WebSite","@id":"https:\/\/digilent.com\/blog\/#website","url":"https:\/\/digilent.com\/blog\/","name":"Digilent Blog","description":"Learning for Engineers, Students, and Hobbyists","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/digilent.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/digilent.com\/blog\/#\/schema\/person\/c33500b30135cd0853e452b0ccfa2bcb","name":"Amber Mear","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/d0fc56ab4035f79884675bde2a948e84c1d14dd33b730b4c142dde6f1a962395?s=96&d=mm&r=gfaace292e54f77e65a2a49c9902b2a29","url":"https:\/\/secure.gravatar.com\/avatar\/d0fc56ab4035f79884675bde2a948e84c1d14dd33b730b4c142dde6f1a962395?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d0fc56ab4035f79884675bde2a948e84c1d14dd33b730b4c142dde6f1a962395?s=96&d=mm&r=g","caption":"Amber Mear"},"description":"I was the Digilent blog editor, and now I'm a contributor. I love learning about wearables and writing about social issues in STEM. Outside of work, I can be found watching Netflix with my cat, working on an art project, or trying to find new, delicious local foods.","url":"https:\/\/digilent.com\/blog\/author\/amber_mear\/"}]}},"jetpack_sharing_enabled":true,"authors":[{"term_id":4464,"user_id":7,"is_guest":0,"slug":"amber_mear","display_name":"Amber Mear","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/d0fc56ab4035f79884675bde2a948e84c1d14dd33b730b4c142dde6f1a962395?s=96&d=mm&r=g","author_category":"","user_url":"","last_name":"Mear","last_name_2":"","first_name":"Amber","first_name_2":"","job_title":"","description":"I was the Digilent blog editor, and now I'm a contributor. I love learning about wearables and writing about social issues in STEM. Outside of work, I can be found watching Netflix with my cat, working on an art project, or trying to find new, delicious local foods."}],"jetpack_featured_media_url":"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/10\/basys-3-bit-counter.jpg","post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/11801","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/comments?post=11801"}],"version-history":[{"count":0,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/11801\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/media\/10722"}],"wp:attachment":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/media?parent=11801"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/categories?post=11801"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/tags?post=11801"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/ppma_author?post=11801"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}