====== Arty General I/O Demo ====== {{:arty:img_1594.jpg?direct&500|}} ===== Overview ===== ==== Description ==== Introductory level demonstration project for the Arty's LEDs, switches, buttons, and USB-UART bridge. ==== Features Used ==== | ^ Not Used ^ Used ^ ^ 4 User Switches | | X | ^ 4 User LEDs | | X | ^ 4 User RGB LEDSs | | X | ^ 4 User Push Buttons | | X | ^ 4 Pmod Connectors | X | | ^ XADC Analog Input | X | | ^ USB-UART Bridge | | X | ^ Serial Flash for Application Data | X | | ----- ===== Prerequisites ===== ===Hardware=== * **Arty FPGA board** * **Micro-USB cable** ===Software=== * **Vivado Design Suite 2016.4** * //Newer versions can be used, but the procedure may vary slightly// * **Digilent Board Support Files for Vivado** * Follow the [[vivado:boardfiles|Vivado Board Files for Digilent 7-Series FPGA Boards]] guide on how to install Board Support Files for Vivado. ----- ===== Downloads ===== Arty GPIO Project Support Repository -- [[https://github.com/Digilent/Arty-GPIO/releases/download/v2016.4-1/Arty-GPIO-2016.4-1.zip|ZIP Archive]] [[https://github.com/Digilent/Arty-GPIO|GIT Repo]] ------ ===== Download and Launch the Arty GPIO Demo ===== >1.) Follow the [[:learn:programmable-logic:tutorials:github-demos:start:|Using Digilent Github Demo Projects]] Tutorial. This is an HDL design project, and as such does not support Vivado SDK, select the tutorial options appropriate for a Vivado-only design. When prompted to return... >2.) To see the UART communication channel, open a terminal program on your computer set to 9600 baud, 8 data bits, no parity bit and 1 stop bit. Choose the COM port that your ARTY is connected to (To determine what COM port your Arty is connected to, open up Device Manager on your machine. Under Ports (COM & LPT) you should see something like 'USB Serial Port (COMX)' where the X is the number of the connected COM port). Then return to the Github Project Tutorial to finish programming and running the demo. ===== Run the Project ===== To run all the features of this demo, you will only need the Arty board. ==== 1. Using the Switches with Leds ==== >For this section, all the switches are tied to their corresponding led. Every time a switch is toggled, the led directly above it will toggle with it. > >{{:arty:img_1594.jpg?direct&300|}}{{:arty:img_1597.jpg?direct&300|}} > >The four tri-color LEDs will cycle colors with no interruption from other I/O. ==== 2. UART Communication Using the Buttons ==== >On startup, ARTY will transmit "ARTY GPIO/UART DEMO!". Whenever a button is pressed, ARTY transmits "Button press detected!". > >{{:arty:restart.png?450|}}{{:arty:buttonpress.png?450|}} {{tag>learn programmable-logic project arty}}