donrecardo
Senior Member
Hi
I need to control 6 small 5v relays with a Picaxe.
The relays draw too much current ( around 25Ma each) for the picaxe so
I need to boost it up a tad
In my parts draw I have a ULN2003 which claims to supply 500Ma and has
7 outputs ( more than enough for my 6 relays )
I have never used this device before and after looking at the data sheet
I am still not 100% sure how to connect up .
Obviously my Picaxe outputs will feed the ULN2003 inputs ( are resistors needed ? )
I assume I then connect one side of each relay to 5v and take the other side of the coils to the ULN2003 outputs so they will sink the current . Now there is another pin ( pin 9) which is labeled common and I believe from looking at the data sheet that this is for the reverse protection diodes when the relays are turned off , to dump the back emf . My problem is I am not quite sure where to connect this common pin . I am guessing to the 5v line , but is that right or have I missunderstood.
Lastly , will the relays still turn on with a high on the picaxe input pins or will it reverse the action so that a low turns the relay on
Regards
Don
I need to control 6 small 5v relays with a Picaxe.
The relays draw too much current ( around 25Ma each) for the picaxe so
I need to boost it up a tad
In my parts draw I have a ULN2003 which claims to supply 500Ma and has
7 outputs ( more than enough for my 6 relays )
I have never used this device before and after looking at the data sheet
I am still not 100% sure how to connect up .
Obviously my Picaxe outputs will feed the ULN2003 inputs ( are resistors needed ? )
I assume I then connect one side of each relay to 5v and take the other side of the coils to the ULN2003 outputs so they will sink the current . Now there is another pin ( pin 9) which is labeled common and I believe from looking at the data sheet that this is for the reverse protection diodes when the relays are turned off , to dump the back emf . My problem is I am not quite sure where to connect this common pin . I am guessing to the 5v line , but is that right or have I missunderstood.
Lastly , will the relays still turn on with a high on the picaxe input pins or will it reverse the action so that a low turns the relay on
Regards
Don