Serial Port Complete: Programming and Circuits for RS-232 and RS-485 with Disk

4 valoración promedio
( 11 valoraciones por Goodreads )
9780965081924: Serial Port Complete: Programming and Circuits for RS-232 and RS-485 with Disk

serial interface information to jump-start projects on several platforms. This it the first book to have extensive on RS-485 , a widely used, industry standard interface for networks. This reference features original content based on the author's firsthand research and experience, not just rewritten specifications and marketing materials. Programmers, engineers and developers will use the designs in this book to get projects up an running quickly. Installation and maintenance staff will find tips for ensuring reliable operation and problem tracking. Students and computer enthusiast can use the book's complete, original examples and tools to design experimental projects for several computer platforms.

"Sinopsis" puede pertenecer a otra edición de este libro.

About the Author:

Jan Axelson writes about computer programming and electronic technology. Jan's books include USB Embedded Hosts, USB Complete, Serial Port Complete, and USB Mass Storage. Jan's articles have appeared in Circuit Cellar, EDN, Embedded Systems Programming, and Nuts & Volts.

Excerpt. © Reprinted by permission. All rights reserved.:

From Chapter 6, Linking Two Devices with RS-232:

Port-powered Circuits

Some low-power circuits that connect to an RS-232 port don't need an external power supply. Instead, they draw all the power they need from the interface itself.

The power comes from unused outputs. To meet the standard, an RS-232 driver's output must be at least 5V with a 3,000-ohm load. From this, we can use Ohm's law to deduce that each output can source at least 1.6 milliampere at 5V. In practice, most RS-232 outputs exceed the minimum, but staying within the specification will ensure that a circuit will work on any port.

Using Signals as a Power Source

Figure 6-7 shows ways of using RS-232 outputs as a power source. When in the On state, RTS and DTR are between +5 and +15V. To set the signals to On in Visual Basic, set MSComm's RTSEnable and DTREnable properties to True.

Figure 6-7A shows a simple unregulated output. When an output is positive, it can serve as a positive voltage source. To double the output current, tie two lines together as shown, with a 1N5819 Schottky diode in each line. This prevents current from feeding back into the interface if the voltages differ. You can use any rectifier diodes, but Schottkys have a lower forward voltage than other silicon diodes.

You can even use the TD line as a power source by setting the Break signal, but of course this prevents you from using the line for data. However, this technique might be useful if you're using the port as a synchronous interface, using handshaking lines for the clock and data.

Regulating the Voltage

Adding a high-efficiency regulator results in a steady output voltage with little wasted power. Figure 6-7B shows a regulated 5V output using the MAX667 low-dropout, linear regulator. The input can be as high as 18V, and it needs to be just 10 millivolts greater than the output, so it will work with most ports. The regulator's quiescent current is under 100 microamperes with a load of several milliamperes.

For a circuit that will work even if the RS-232 output drops below 5V, use the MAX770, which is a switching regulator that has a 5V output with an input between 2V and 16V. The '770 requires several external components, including an inductor and output transistor. If you need only one or a few supplies, Maxim has an inexpensive evaluation kit containing a PC board with all of the components installed.

Another option for port power is to use a lower regulated voltage, either by connecting voltage-divider resistors between Vout, Set, and Gnd as described in the MAX667's data sheet, or by using a regulator with a lower fixed output such as the 3V MAX689.

Because you can count on getting at most a few milliamperes from the port, use care in choosing components that will use port power. Use the lowest-power components you can find, and use a 3V supply if possible.

"Sobre este título" puede pertenecer a otra edición de este libro.

Comprar nuevo Ver libro

Gastos de envío: EUR 4,24
A Estados Unidos de America

Destinos, gastos y plazos de envío

Añadir al carrito

Los mejores resultados en AbeBooks


Axelson, Janet Louise; Axelson, Jan
Editorial: Lakeview Research
ISBN 10: 0965081923 ISBN 13: 9780965081924
Nuevos PAPERBACK Cantidad: 1
Cloud 9 Books
(Wellington, FL, Estados Unidos de America)

Descripción Lakeview Research. PAPERBACK. Estado de conservación: New. 0965081923 New Condition. Nº de ref. de la librería NEW6.0645961

Más información sobre esta librería | Hacer una pregunta a la librería

Comprar nuevo
EUR 61,29
Convertir moneda

Añadir al carrito

Gastos de envío: EUR 4,24
A Estados Unidos de America
Destinos, gastos y plazos de envío