Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
test-and-measurement:digital-discovery:pmod-kypd-output-to-console [2021/05/14 23:05] – ↷ Page moved from reference:test-and-measurement:digital-discovery:pmod-kypd-output-to-console to test-and-measurement:digital-discovery:pmod-kypd-output-to-console Arthur Browntest-and-measurement:digital-discovery:pmod-kypd-output-to-console [2022/10/04 11:38] (current) – external edit 127.0.0.1
Line 9: Line 9:
 This project streams key press data from the Pmod KYPD. The presses are displayed on the console in WaveForms' //Script Editor// instrument. The script can be used in any project that requires input from the Pmod KYPD. This project streams key press data from the Pmod KYPD. The presses are displayed on the console in WaveForms' //Script Editor// instrument. The script can be used in any project that requires input from the Pmod KYPD.
  
-The Pmod KYPD uses pull up and pull down resistors to determine which rows and columns have closed switches, correlating to button presses. See the {{https://reference.digilentinc.com/_media/reference/pmod/pmodkypd/pmodkypd_sch.pdf|Pmod KYPD Schematic}} for the KYPD circuit diagram. The Discovery device detects button presses by scanning through DIO pints 0-4. Those pins are set as open drains, meaning that when the Discovery activates a certain pin, it provides a path to ground. Otherwise, inactive pins provide a high impedance (high Z). If a key is pressed, DIO pins 4-7 will detect a logic low signal on the row that was selected. By correlating the row and column to an array containing the possible characters, the script prints the key presses.+The Pmod KYPD uses pull up and pull down resistors to determine which rows and columns have closed switches, correlating to button presses. See the {{/reference/pmod/pmodkypd/pmodkypd_sch.pdf|Pmod KYPD Schematic}} for the KYPD circuit diagram. The Discovery device detects button presses by scanning through DIO pints 0-4. Those pins are set as open drains, meaning that when the Discovery activates a certain pin, it provides a path to ground. Otherwise, inactive pins provide a high impedance (high Z). If a key is pressed, DIO pins 4-7 will detect a logic low signal on the row that was selected. By correlating the row and column to an array containing the possible characters, the script prints the key presses.
  
 ---- ----
 ===== Inventory ===== ===== Inventory =====
   * A Discovery Device with Digital I/O:   * A Discovery Device with Digital I/O:
-    * [[https://store.digilentinc.com/digital-discovery-portable-usb-logic-analyzer-and-digital-pattern-generator/|Digital Discovery]] +    * [[https://digilent.com/shop/digital-discovery-portable-usb-logic-analyzer-and-digital-pattern-generator/|Digital Discovery]] 
-    * [[https://store.digilentinc.com/analog-discovery-studio-a-portable-circuits-laboratory-for-every-student/|Analog Discovery Studio]] +    * [[https://digilent.com/shop/analog-discovery-studio-a-portable-circuits-laboratory-for-every-student/|Analog Discovery Studio]] 
-    * [[https://store.digilentinc.com/analog-discovery-2-100msps-usb-oscilloscope-logic-analyzer-and-variable-power-supply/|Analog Discovery 2]]+    * [[https://digilent.com/shop/analog-discovery-2-100ms-s-usb-oscilloscope-logic-analyzer-and-variable-power-supply/|Analog Discovery 2]]
     * //An Analog Discovery (Legacy) can also be used.//     * //An Analog Discovery (Legacy) can also be used.//
-  * [[https://store.digilentinc.com/pmod-kypd-16-button-keypad/|Pmod KYPD]], a 16-button keypad+  * [[https://digilent.com/shop/pmod-kypd-16-button-keypad/|Pmod KYPD]], a 16-button keypad
   * {{reference:test-and-measurement:analog-discovery-2:pmod-kypd-output-to-console:script-keypad-output-to-console.zip|Keypad Output to Console Workspace ZIP Archive}}   * {{reference:test-and-measurement:analog-discovery-2:pmod-kypd-output-to-console:script-keypad-output-to-console.zip|Keypad Output to Console Workspace ZIP Archive}}
  
Line 55: Line 55:
 ---- ----
 ===== Final Notes ===== ===== Final Notes =====
-For more guides and example projects for your Test and Measurement device, please visit its Resource Center, which can be found through this wiki's [[reference:test-and-measurement:start]] page.+For more guides and example projects for your Test and Measurement device, please visit its Resource Center, which can be found through this wiki's [[test-and-measurement:start]] page.
  
 For technical support, please visit the [[https://forum.digilentinc.com|Digilent Forums]]. For technical support, please visit the [[https://forum.digilentinc.com|Digilent Forums]].
  
 {{tag>project digital-discovery analog-discovery-2 analog-discovery analog-discovery-studio}} {{tag>project digital-discovery analog-discovery-2 analog-discovery analog-discovery-studio}}