different methods of interfacing relay with micro controller

Status
Not open for further replies.

arbabar

Member level 2
Joined
Aug 11, 2011
Messages
46
Helped
5
Reputation
10
Reaction score
5
Trophy points
1,288
Location
Islamabad
Visit site
Activity points
1,640




hello , i want to interfaceing a 12v relay with pic microcontroller...

i need 6 realyz for switching 6 different comportment,
so for that purpose i need 6 diffenet transister for driving relay?
(as in figure npn transistor acting as switch and provide relay for operate)
isn't it only a simple circuit which can drive 6 diffirent relays rather than six npn transistors..... and huge repeated circuit.?


other method for interfacing relay with micro controller will be appreciate.....

thankx
 

If you use small transistors as SOT32 this is not huge, or you can use suggested ULN2803 or other similar IC.

Additional to this you can use relays with coil voltage at 5V.

µC dont have capability to support higher currents on I/O pins, and this current is in range of 10-25mA per pin, also there is µC total pins current factor for lots µC is around 70mA.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…