Subscribe to EDN
RSS
Reprints/License
Print
Email

General-purpose components implement USB-based data-acquisition system

A serial ADC communicates with a PC's USB port through a serial-to-parallel converter and a USB-interface IC.

V Gopalakrishnan, Indira Gandhi Centre for Atomic Research, Kalpakkam, India; Edited by Martin Rowe and Fran Granville -- EDN, June 26, 2008

Figure 1 presents a Design Idea for a USB-based data-acquisition system that uses a serial ADC employing general-purpose components, such as D flip-flops, a binary counter, and a shift register. Using the DLP-USB245M FIFO-to-USB-converter module from DLP Design, you can communicate with the peripheral device through the USB port of a host computer. You can write your own program to read and write the data through this module or simply download free test-application software available from DLP’s Web site. Additionally, you could download National Instruments’ LabView serial-read and-write VIs (virtual instruments).

Writing a dummy block of data from the host computer to the buffer of the DLP-USB245M generates a spike at the module’s pin, which triggers the D flip-flop, FF2 of the 74LS74. The flip-flop’s pin initiates the conversion cycle of the MAX187 serial ADC from Maxim by pulling down its chip-select pin. The ADC’s end-of-conversion cycle causes a low-to-high transition from its DOUT pin, which triggers the other D flip-flop, FF1 of the 74LS74, to generate a gating pulse, Q1, for the serial-clock pulses that read the data from the same DOUT pin of the ADC. The 74LS90 binary counter counts the serial-clock pulses. When the count reaches nine, the counter resets the gating pulse for the serial clock and pushes back the chip-select signal to a high level by resetting both FF1 and FF2, ending the ADC’s acquisition cycle.

The system acquires the data at the falling edge of the MAX187’s SCLK pin and shifts it into the 74LS164 serial-to-parallel shift register at the rising edge of the next SCLK. The MAX187 needs nine serial-clock pulses to shift valid 8-bit data. This circuit uses only 8 bits of the 12-bit ADC. If the circuit requires all 12 bits, then you must connect all NAND gates at the appropriate outputs of the binary counter to generate a reset signal by its 13th clock pulse, and you must make the shift register larger.

The serial data from the ADC converts to parallel data in the serial-to-parallel shift register; a WR (write) signal to the DLP-USB245M then transfers this data to the PC. This action is a complement of the signal from Q2 of the 74LS74. The DLP-USB245M’s pin generates a trigger to initiate the conversion cycle and clears the previous data of the shift register.

RSS
Reprints/License
Print
Email
Talkback
Canon Resource Center

Featured Company


Most Recent Resources

Advertisement
Related Content

No related content found.

  • 0 rated items found.
Advertisement

KNOWLEDGE CENTER

Datasheets.com Parts Search

185 million searchable parts
(please enter a part number or hit search to begin)
Featured Job On
Scroll for More Jobs
Advertisement
About EDN   |   Site Map   |   Contact Us   |   Subscription   |   RSS
© 2012 UBM Electronics. All rights reserved.
Use of this Web site is subject to its Terms of Use | Privacy Policy

Please visit these other UBM Canon sites

UBM Canon | Design News | Test & Measurement World | Packaging Digest | EDN | Qmed | Pharmalive | Appliance Magazine | Plastics Today | Powder Bulk Solids | Canon Trade Shows