MikroElektronika PIC Microcontrollers PIC16 Especificaciones Pagina 114

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 186
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 113
Chapter 6 - Samples
Connecting the optocoupler and relay to a microcontroller
A relay can also be activated via an optocoupler which at the same time amplifies the current
related to the output of the microcontroller and provides a high degree of isolation. High current
optocouplers usually contain a 'darlington' output transistor to provide high output current.
Connecting via an optocoupler is recommended especially for microcontroller applications, where
motors are activated as the commutator noise from the motor can get back to the microcontroller
via the supply lines. The optocoupler drives a relay and the relay activates the motor.
The figure below shows the program needed to activate the relay, and includes some of the
already discussed macros.
http://www.mikroelektronika.co.yu/english/product/books/PICbook/6_06Poglavlje.htm (2 of 4) [4/2/2003 16:18:54]
Vista de pagina 113
1 2 ... 109 110 111 112 113 114 115 116 117 118 119 ... 185 186

Comentarios a estos manuales

Sin comentarios