answersLogoWhite

0


Best Answer

you cannot directly interface a relay to a microcontroller, you need a buffer circuit in between the two, you can use a NPN transistor BC 547, connect the controller pin directly to the base of the transistor (since there is an internal 10k pull up resistor inside the controller no need of any base resistor). Connect the transistors emitter to the gnd & the collector to the relay coil, the another end of the relay coil goes to the supply, check this link for complete information http://www.dnatechindia.com/index.php/Tutorials/8051-Tutorial/Relay-Interfacing.html

User Avatar

Wiki User

15y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you interface a relay to a microprocessor type 89C51?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

When configuring Frame Relay interface which LMI type is service provider least likely to offer?

- Q933a


What is a tagging interface type?

A tagging interface type in Java is an interface that has not defined methods such as the java.io.Serializable interface.


What type of value can be assigned to a value of interface type?

An interface doesn't have instances!


The storage type used by microprocessor is?

lifo


What is the most popular type of microprocessor?

ARM


What type of program provides the user interface?

what type of program is used to provides the graphical user interface


When the first microprocessor was found?

Type your answer here...  The first microprocessor was found in 1971 by Intel, and it's name was Intel 4004.


What is the role of microprocessor?

Microprocessor are widely used in this generation for performing any type of electrical signal processing task. because of it's feaatures. Some of them are described here- 1> very fast processing 2> programmable 3> easily interface between peripherals 4>less extra hardware. 5> reliable 6>economical. 7>compact and portable.


What type of interface does Linux use?

You need to be more clear in what type of "interface" you are inquiring about. Linux has it's own API (Application Programming Interface) and ABI (Application Binary Interface). If you are referring to the user interface, Linux can have a GUI, a command line, or even no interface at all.


Why programmer must know model of microprocessor before writing?

Because each microprocessor type has its own unique machine code.


What type of microprocessor is used in server based system?

which type of microprocessors are used in servers


How does a microprocessor transmit information?

transmit is a type of light ray. what type i dont know