bionstudy.blogg.se

Computer time converter
Computer time converter








computer time converter

When DTR is high, Q1 turns on and allows the circuit to operate normally. This circuit draws only 2mA, so the extra capacity is available for powering an external sensor or amplifier. Power is supplied by a 9V battery via the linear regulator (IC2), whose output capacity is 40mA. If power is not a concern, either device is suitable for level-shifting the converter's SCLK, DOUT, and active-low CS signals to RS-232 levels. The PC reads this result by clocking DTR while sampling DSR 12 times.Īs a low-power version of the venerable (10mA) MAX232, the MAX220 draws only 0.5mA.

computer time converter

The end of conversion, indicated by a high level on DOUT, leaves the 12-bit result stored in the converter's output shift register. Conversions are initiated by a high-to-low transition on active-low CS and take less than 8.5µs.

#Computer time converter serial#

IC3 is an 8-pin DIP that includes a 12-bit ADC, voltage reference, track/hold, serial interface, and clock generator, plus a 3-wire digital interface consisting of chip select (active-low CS), serial clock (SCLK), and data out (DOUT). Conversion data appears on the data-set-ready (DSR) line. A single-supply RS-232 interface chip (IC1) converts these signals from RS-232 levels to CMOS-logic levels (and inverts them in the process). The port's request-to-send (RTS) line provides a chip-select signal, and its data-terminal-ready (DTR) line provides a synchronous-clock signal. Interface to the PC is an RS-232 port rather than the transmitter/receiver lines of a UART.

computer time converter

This micropower circuit enables a PC's RS-232 serial port to control a 12-bit A/D converter (IC3). Power consumption is low: The 2mA operating current drops to only 15♚ in shutdown.įigure 1. The circuit shown in Figure 1 performs a task usually carried out by a microcontroller-that of driving a 12-bit A/D converter (ADC) from the serial port of a PC.










Computer time converter