5v relay and IR sensor interface 8051
What is Relay, IR sensor interface with 8051? The relay is a switch like our home switch using light, fan, TV etc., single channel relay to use Light or fan or TV. Relay Function: Inside the relay have coil, low power circuit to operate high volts, it generates magnet filed then its Open and Close the relay. It required diodes 1n4007, resistor and transistor BC547 or BC548. when giving power supply 5v need transistor BC547 or 12v to relay need ULN drivers for 4 channel relays. Remember need to see amps like 10amp, 20amp or 30amp, it will give lifetime to use. 5v 30Amp single channel Relay If you want to do Relay project to ON and OFF the Light, then need to do that first prepare C code in Embedded language. By using Keil C51 software to do program in it. When doing the project need to concentrate the pins of microcontroller and resistors. use resistors like 1k, 220ohms or 330ohms. When connection relay to microcontroller 8051 need BC547 transistor, it has three terminals one is Vcc, GN...