Digital electronics is the affection and body of avant-garde computers. The adeptness to set and apprehend agenda curve is capital to agenda ambit diagnostics.
This lab focuses on NI ELVIS II agenda tools, such as a agenda clock, agenda counter, and a argumentation accompaniment analyzer, to abstraction agenda circuits.
Download the files above to admission the courseware pertaining to this assignment that allegorize how the NI ELVIS II can be acclimated with NI Multisim and NI LabVIEW accoutrement a ambit of accoutrement from anterior akin contest to architecture challenges.
Figure 5.0. Four bit Agenda Adverse Ambit on NI ELVIS II Protoboard
Required Soft Advanced Panels (SFPs)
Digital biographer (DigOut)
Digital clairvoyant (DigIn)
FGEN (TTL outputs)
10 kW resistor RA (brown, black, orange)
100 kW resistor RB (brown, black, yellow)
1 mF capacitor C
555 timer chip
7493 4-bit bifold counter
The NI ELVIS II protoboard has a coffer of eight blooming LEDs with ascribe pin sockets labeled LED <0 .. 7>. You can use them as beheld indicators of agenda argumentation states (On = HI and Off = LO).
Complete the afterward accomplish to achievement a agenda arrangement application the Agenda Writer:
For example, affix DIO 0 alias band 0 to the pin atrium LED <0>. Alone one advance is appropriate because the area are affiliated internally aural NI ELVIS II.
Note: The agenda I/O curve are amid on the appropriate ancillary of the protoboard.
A new agenda argumentation analytic window opens, so you can set/reset any of the agenda curve to a HI or LO state. By default, the agenda I/O curve <0..7> are alleged from the three 8-bit ports in the Curve to Write box.
Figure 5.1. Dig Out advanced console window
The agenda achievement curve are labeled 0 to 7 account appropriate to larboard in the Manual Arrangement box. You can set/reset (HI/LO) any bit by beat on the top or basal allocation of the basic switch. Collectively, these 8 $.25 aggregate a byte that can be apprehend in a binary, octal, hexadecimal, or decimal format, or in an SI characters in the affectation box aloft the switches. By beat on the grayed-out portion, you can set the basis (format) of this indicator.
Figure 5.2. LabVIEW indicators for Binary, Hexadecimal or Decimal Displays
Note: You can set the Generation Mode to achievement a distinct arrangement or to continuously achievement the pattern. In connected operation, the accouterments is adapted continuously with the accepted pattern.
The set arrangement is echoed on the band states (blue LED indicators) of the Bus Accompaniment on the SFP. Also, with the Action ons of the SFP, you can toggle, rotate, or about-face the bit arrangement appropriate or left.
In testing a agenda ambit , you can baddest from several frequently acclimated patterns for analytic checks.
End of Exercise 5.1
You can configure a 555 timer chip, calm with resistors RA, RB, and capacitor C, to act as a agenda alarm source.
Figure 5.3. 555 Agenda Alarm Circuit
Complete the afterward accomplish to body and accomplish abstracts on a 555 agenda alarm circuit:
Figure 5.4. 555 Timer dent Configured as a Agenda Oscillator
Power ( 5 V) goes to pins 8 and 4, and GROUND goes to pin 1. The timing alternation of RA, RB, and C straddles the ability supply. It has a affiliation amid the resistors activity to pin 7 and a affiliation amid RB and C activity to pins 2 and 6.
By absence the additional 8-bit anchorage is set to ascribe (Lines to Apprehend 8-15).
Figure 5.5. Agenda Biographer account bit 0, band DIO <0>
The Agenda Clairvoyant allows the accepted accompaniment of a alongside ascribe anchorage to be apprehend on appeal (single shot) or continuously. You should see the accompaniment of band 0 flashing. If not, bang on the Stop on and use the DMM[V] to analysis voltage levels on the 555 pins (stop the Agenda Clairvoyant first).
With the alarm ambit running, you can now accomplish some advantageous agenda ambit measurements.
The 555 timer oscillator ambit has a Aeon T of
T = 0.695 (RA 2 RB) C (seconds)
The 555 timer oscillator abundance is accompanying to the aeon by
F = 1/T (Hz)
The 555 timer oscillator ambit has an On time of
T = 0.695 (RA RB) C (seconds)
The 555 timer oscillator ambit has a Assignment Aeon (On time/period) of
DC = (RA RB) / (RA 2 RB)
T = __________________ (seconds)
Ton = __________________ (seconds)
DC = __________________
F = __________________ (Hz)
End of Exercise 5.2
Complete the afterward accomplish to body a 4-bit agenda counter.
Figure 5.6. Schematic Diagram 4-bit Bifold Counter
End of Exercise 5.3
The antecedent contest accept covered alone the accompaniment of agenda outputs at one point in time. This exercise shows how you can anatomy a timing diagram by stringing consecutive states calm sampled analogously in time. Plotting several agenda curve calm on the aforementioned blueprint generates a agenda timing diagram as illustrated in Figure 5.7.
A bifold adverse has a different timing diagram area the falling bend of the antecedent bit causes the aing bit to toggle.
Figure 5.7. Timing Diagram of a four bit Bifold Counter
Using the LabVIEW APIs for the agenda I/O, you can body a simple 4-bit argumentation accompaniment analyzer. The Agenda I/O palette is amid in Functions»Programming»Measurement I/O»NI ELVISmx»NI ELVISmx Agenda Reader.
Figure 5.8. Location of NI ELVISmx Agenda Reader
Launch LabVIEW and again accessible Bifold CounterMx.vi from the Hands-On-NI ELVIS II library folder.
In the Block Diagram, the NI-ELVISmx Agenda Clairvoyant has been initialized to use curve 0 to 7 (blue arena constant) for ascribe from the protoboard.
Note: In this example, the NI ELVIS USB advice anchorage is Device 3. Depending on how abounding DAQ cards you accept in you computer, it could be Device 1, 2, or 3. With alone the NI ELVIS USB anchorage available, it would be Device 1. Change the Dev # to bout your NI ELVIS II.
Figure 5.9. Block Diagram for the affairs Bifold CounterMx.vi
The 4-bit argumentation accompaniment analyzer samples NI ELVIS curve <0..7> and presents the band states as a Boolean arrangement (thick blooming line). The basis arrays abstract $.25 <0..3> (Q1, Q2, Q3, Q4) to the corresponding trace indicators and again into a numeric amount (0 or 1) for bundling with the added traces for the timing diagram plot. With the abounding LabVIEW blueprint architecture options, you can present the abstracts in a timing diagram format.
A archetype of the abstracts additionally goes to the AND gate, area $.25 <4..7> are set to zero. The resultant abstracts is adapted to a numeric (0 to 15) and presented on the advanced panel.
End of Exercise 5.4
Design an 8-bit decimal adverse with two 7-segment displays. Use a 555 timer IC to accomplish the alarm signal.
Figure 5.10. Multisim schmatic of the decision of a 4-bit Bifold Counter
Figure 5.11. Decimal Account of a 4-bit Bifold Counter
Why You Must Experience 10 Pin Rocker Switch Wiring Diagram At Least Once In Your Lifetime | 10 Pin Rocker Switch Wiring Diagram – 8 pin rocker switch wiring diagram
| Welcome to be able to my own weblog, on this time I am going to provide you with with regards to 8 pin rocker switch wiring diagram