{"id":23733,"date":"2018-02-07T08:00:29","date_gmt":"2018-02-07T16:00:29","guid":{"rendered":"https:\/\/blog.digilentinc.com\/?p=23733"},"modified":"2021-06-10T14:26:42","modified_gmt":"2021-06-10T21:26:42","slug":"python-programming-with-the-arty-z7","status":"publish","type":"post","link":"https:\/\/digilent.com\/blog\/python-programming-with-the-arty-z7\/","title":{"rendered":"Python Programming with the Arty Z7"},"content":{"rendered":"<p>In the January<a href=\"http:\/\/shop.cqpub.co.jp\/hanbai\/books\/MIF\/MIF201801.html\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-23785 alignright\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2018\/02\/MIF201801l-423x600.jpg\" alt=\"\" width=\"180\" height=\"256\" data-wp-pid=\"23785\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2018\/02\/MIF201801l-423x600.jpg 423w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2018\/02\/MIF201801l.jpg 631w\" sizes=\"auto, (max-width: 180px) 100vw, 180px\" \/><\/a> 2018 issue of <a href=\"http:\/\/www.kumikomi.net\/interface\/contents\/201801.php\">CQ\u2019s Interface<\/a> magazine, authors Nakahara Hiaki and Masuro Suzuki present a deep dive into Python programming in a special feature titled \u201cResearch on Real-Time Python\u201d. This feature is the first print publication to present the <a href=\"https:\/\/digilent.com\/shop\/arty-z7-apsoc-zynq-7000-development-board-for-makers-and-hobbyists\/\">Arty Z7 Zynq-7000 Development Board<\/a>\u00a0as a Python programming platform with numerous supporting projects to get you running in no time.\u00a0Using the <a href=\"http:\/\/pynq.readthedocs.io\/en\/latest\/getting_started.html\">Python environment<\/a> developed for the <a href=\"https:\/\/digilent.com\/blog\/python-zynq-pynq-introducing-our-latest-collaboration\/\">PYNQ-Z1 Development Board<\/a>\u00a0(PYNQ = Python + Zynq), the authors review setting up the Arty Z7 (from configuration to real time image recognition) before introducing multiple I\/O projects using a variety of Digilent Pmods. Continue reading to learn more about the projects covered and additional resources for your Python based applications.<\/p>\n<p>The featured article in <a href=\"http:\/\/www.kumikomi.net\/interface\/contents\/201801.php\">Interface<\/a> magazine spans pages 40-68 and is divided into four chapters covering real-time Python applications. In Chapter 1, the authors begin with a brief introduction to Python and the benefits of programming in an integrated development environment. They then transition into Chapter 2 with our first look at the <a href=\"https:\/\/digilent.com\/shop\/arty-z7-apsoc-zynq-7000-development-board-for-makers-and-hobbyists\/\">Arty Z7<\/a> as a Python programming platform. Introduced as a &#8220;$200 FPGA control board that can also be used from Python&#8221; the Arty Z7 is chosen due to its ability for use with a previously developed Python environment for the <a href=\"https:\/\/digilent.com\/shop\/pynq-z1-python-productivity-for-zynq\/\">PYNQ-Z1 hardware<\/a>. While the Arty Z7 does not include the electret microphone with PDM output present on the PYNQ-Z1, both boards are built around the Xilinx ZYNQ XC7Z020-1CLG400C APSoC, making the Arty Z7 an ideal drop-in substitution and Python development solution. The second chapter is concluded with Suzuki walking readers through the two step PYNQ environment installation process and a real time image recognition application using the HDMI input\/output and a USB camera.<\/p>\n<p><a href=\"http:\/\/www.kumikomi.net\/interface\/contents\/201801.php\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-23794 aligncenter\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-01-at-3.45.55-PM-600x430.png\" alt=\"\" width=\"600\" height=\"430\" data-wp-pid=\"23794\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-01-at-3.45.55-PM-600x430.png 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-01-at-3.45.55-PM-768x550.png 768w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-01-at-3.45.55-PM-1024x734.png 1024w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-01-at-3.45.55-PM-800x573.png 800w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2018\/02\/Screen-Shot-2018-02-01-at-3.45.55-PM.png 1026w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>New expectations of hardware familiarity segue into the beginning of Chapter 3 where Suzuki introduces a variety of I\/O control projects featuring select\u00a0<a href=\"https:\/\/digilent.com\/shop\/pmod-modules\/\">Digilent Pmods<\/a>\u00a0and an Arduino. The first two projects lead users through simple modifications, using the <a href=\"https:\/\/digilent.com\/shop\/pmod-oled-128-x-32-pixel-monochromatic-oled-display\/\">Pmod OLED<\/a> and <a href=\"https:\/\/digilent.com\/shop\/pmod-als-ambient-light-sensor\/\">Pmod ALS<\/a>\u00a0(both with available source code on the <a href=\"http:\/\/pynq.readthedocs.io\/en\/latest\/index.html\">PYNQ.io website<\/a>) to get users comfortable with the PYNQ environment. This chapter ends with three more projects teaching users how to control the MIDI interface, use SPI devices with GPIO, and controlling an LED with GPIO.<\/p>\n<p>Read more about the <a href=\"https:\/\/digilent.com\/shop\/arty-z7-apsoc-zynq-7000-development-board-for-makers-and-hobbyists\/\">Arty Z7<\/a> as a useful Python development platform in the <a href=\"http:\/\/www.kumikomi.net\/interface\/contents\/201801.php\">January 2018 issue of Interface<\/a> magazine <strong>(Note: <\/strong>written in Japanese), or attempt each project on your own by visiting the open-source\u00a0<a href=\"http:\/\/www.pynq.io\/\">PYNQ.io website<\/a>. You can also visit the <a href=\"https:\/\/digilent.com\/reference\/programmable-logic\/arty-z7\/start\">Arty Z7 Wiki<\/a> for additional documentation, tutorials, projects, and more to support your development needs.<\/p>\n<p>Let us know your favorite use for the Arty Z7 in the comments below or share your story <a href=\"https:\/\/digilent.com\/blog\/social-hub\/\">on social media<\/a> by tagging us <strong>@Digilentinc<\/strong>.<\/p>\n<div class='watch-action'><div class='watch-position align-left'><div class='action-like'><a class='lbg-style6 like-23733 jlk' data-task='like' data-post_id='23733' data-nonce='e5335d04d0' rel='nofollow'><img src='https:\/\/digilent.com\/blog\/wp-content\/plugins\/wti-like-post-pro\/images\/pixel.gif' title='Like' \/><span class='lc-23733 lc'>0<\/span><\/a><\/div><div class='action-unlike'><a class='unlbg-style6 unlike-23733 jlk' data-task='unlike' data-post_id='23733' data-nonce='e5335d04d0' rel='nofollow'><img src='https:\/\/digilent.com\/blog\/wp-content\/plugins\/wti-like-post-pro\/images\/pixel.gif' title='Unlike' \/><span class='unlc-23733 unlc'>0<\/span><\/a><\/div><\/div> <div class='status-23733 status align-left'>Be the 1st to vote.<\/div><\/div><div class='wti-clear'><\/div>","protected":false},"excerpt":{"rendered":"<p>Learn about the power of Python and the Arty Z7!<\/p>\n","protected":false},"author":37,"featured_media":23785,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4323,35],"tags":[1662,36],"ppma_author":[4483],"class_list":["post-23733","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software","category-fpga","tag-fpga","tag-xilinx"],"jetpack_featured_media_url":"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2018\/02\/MIF201801l.jpg","authors":[{"term_id":4483,"user_id":37,"is_guest":0,"slug":"quinnsullivan","display_name":"Quinn Sullivan","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/c63f13c551dcac2232dd40bfbd9dffb7?s=96&d=mm&r=g","author_category":"","user_url":"","last_name":"Sullivan","last_name_2":"","first_name":"Quinn","first_name_2":"","job_title":"","description":"I am an apparel merchandiser who found comfort in the world of electronics after discovering a passion for making projects with copious amounts of glitter. Every day I work on learning and uncovering novel solutions that guide me towards solving life\u2019s little problems. My optimism and two rescue puppies have kept me sane throughout this endeavor as I figure out how to blend two diverse backgrounds in fashioning something amazing that will eventually lead to world domination."}],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/23733","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\/37"}],"replies":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/comments?post=23733"}],"version-history":[{"count":0,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/23733\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/media\/23785"}],"wp:attachment":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/media?parent=23733"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/categories?post=23733"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/tags?post=23733"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/ppma_author?post=23733"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}