Module2 - Physics 434 Fall 2010 Module 2 - Digital I/O In...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Physics 434 Fall 2010 Module 2 - Digital I/O In this exercise, we will use the 8 digital (DIO0-DIO7) lines of the DAQ board, both for input and for output. The steps are briefly, Output: Use the output port to provide signals to display a number on a seven segment light emitting display (LED) display by wiring up the breadboard to connect it to the 8 digital lines on the break-out board. Test this interface with a VI that lets you enter a number on the front panel and then displays the number on the seven- segment LED. The VI should turn the LED’s off when it quits (how do you do this?). Input: Use the input port to read a binary pattern created by setting the switches on a dual in-line package (DIP) switch module, and mount the device on the breadboard and connect it to the same 8 digital lines on the break-out board. Test this interface with another (or part of the previous) VI. You are encouraged to look at the Digital I/O examples for guidance, you are also encouraged to go beyond the minimal requirement of the lab, and be creative! There is a lot of information associated with this lab, below are the relevant chapters in the text. Learning with LabVIEW CH-Sec. Structures 5 Arrays and Clusters 6 Data Acquisition 8 Part I. Digital Output to a Seven Segment LED A seven segment LED is a device that displays numbers and letters. It contains seven LED bars which can be turned on by placing the appropriate signals on the appropriate pins. For example to light segment A, in the common cathode device used here, one merely grounds one of the two common cathode pins (4, 12) and places a logic 1 voltage on pin 14. In practice, because it is never advisable to connect an output of an output device directly to ground, one connects the digital output to the display device through a current limiting resistor. Wire up the display: Insert the wires according to Table I, using the blue wire for line D0, the white wire for D1, etc. Do not connect the other end of the wires to the breakout board just yet. Now insert the seven-segment LED in its place. Make sure to insert the device carefully so that all pins go into their correct positions and do not become bent over. Now connect the pins of the LED to the digital output lines using appropriate combinations of the current limiting resistors and wire jumpers. Before making the connections from the breadboard to the breakout board, (a) double
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 5

Module2 - Physics 434 Fall 2010 Module 2 - Digital I/O In...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online