Help on using relay with arduino

Hello,
I am trying to trigger a relay with an arduino mega.
i have use this cabling (see on the image)

When i put high voltage on the output 13 on arduino nothing happen on the relay
Do you know why ? Is my relay the good one ? see the picture of the relay

i took a picture of the relay it seems that it is a 6VDC relay (on the coil) ?
and it seems that this relay can manage 125VAC or 30VDC ?
please confirm?
Thanks

(deleted)

hi

the ground and the 5v are provided by arduino board (the good cabling below)
is the relay a 6VDC relay?
is this relay can manage 125VAC or 30VDC ?

Regards

pinMode (13,OUTPUT) in setup ??

Yes i did it
And 5v is in the exit if the output , i checked with a voltmeter

Maybe the Arduino 5V can't supply enough current?

BTW, when you put 5V across the relay with no other electronics to complicate things, can you hear it switch?

BTW, when you put 5V across the relay with no other electronics to complicate things, can you hear it switch?
no i can't hear it switching

but i connected my relay with only 5V and GND on the coil and this time i hear it switching.
does my electronic is wrong ?

So it seems the relay is ok?

Now try the circuit you have, but with the relay given 5V of its own, not from Arduino. (Remember to connect all the grounds)

So it seems the relay is ok?
yes i think the relay is ok

Now try the circuit you have, but with the relay given 5V of its own, not from Arduino. (Remember to connect all the grounds)
i already try to connect another 5V source (another than arduino) and of course connected the ground
but nothing move

do you have an idea ?

The transisitor? You sure it's ok? Connected the right way round?

i try 3 transistor 2x2N222A and one BC548
i was wondering if the relay was the good one
because on the side it is written

SRC-S-06VDC
1A 30VDC 125VAC

any clue about this relay ?.

Measure voltage over trasister (C-E) with logical HIGH at base. If more then 0.4..0.5V decrease R at base to 330Ohm

Measure voltage over trasister (C-E) with logical HIGH at base. If more then 0.4..0.5V decrease R at base to 330Ohm
hello

with a 220 Ohms resistance and HIGH at the base, I get 0 volts between C and E
with a 400 Ohms resistance and HIGH at the base, I get 0 volts between C and E
with a 500 Ohms resistance and HIGH at the base, I get 0 volts between C and E

Just to be sure, i put my voltmetre between C and E ? or between C and Grd ? and after C and Grd ?
what i am sure is the ouptut 13 is providing 5V.
I also changed the transistor it is the same

Your MM is dead, or something else is wrong.
Base to gnd (low output) shall result in no current through transistor, -> Uce = 5V (voltage from powersupply)
You drive base HIGH to allow current flow. The transistor shall saturate resulting in a voltage drop less then 0,5V, but NOT 0V

I'd check datasheet again. 5V to coil, other side of coil to Collector, Emitter to Gnd,

what is MM ?

multimeter (your voltmeter - set to DC)

with i hve HIGH 5v on output 13, i have 0,67 on the base
is it too much .?

yes my multimeter is set to DC and i can have 5V on output 13.

ok it 's working ... let me explain... don't laught please

i connected the 5V from arduino to Breadboard on the right side of the Breadboard
and i was using 5V to relay on the left side of the Breadboard , unfortunatly the left and right side are not connected !!!!

THANKS YOU VERY MUCH

..good to see. The ideal is to select R as big as possible, but small enough to bring transistor to saturate
U can see sat... by observing Uce < 0,5V ( 0.3..0,4 is perfect)