system
November 7, 2011, 3:18am
1
The circuit I am using is http://www.instructables.com/file/FYS8BEJFQ2DZ0X6/?size=ORIGINAL
For some reason, no matter what I try, the relay won't activate. Connecting 12V power to one side of the coil and 12V gnd to the other makes it click, but the Arduino won't activate the relay through the transistor. (Yes, I checked the transistor direction. )
Please help! I need to get this project done.
system
November 7, 2011, 3:22am
2
What did you use for the resistor value? Are you sure you have control over D13 (that is, how do you know your sketch is actually working?)
--
The Basic Motor Driver : simple, inexpensive motor driver for 1 stepper motor or 2 DC motors
system
November 7, 2011, 3:27am
3
Resistor value is 33K ohms and the built-in led on pin 13 is lighting up and turning off.
system
November 7, 2011, 3:28am
4
33k is probably too high. Try for 1k or lower (no lower than 220 ohms or so).
--
The Gadget Shield : accelerometer, RGB LED, IR transmit/receive, speaker, microphone, light sensor, potentiometer, pushbuttons
system
November 7, 2011, 3:35am
5
Tried 1K ohm, no luck. Also tried switching out the transistor with another identical one, still no cigar.
Did you remember to wire the ground of the 12volt supply to a arduino ground pin? It is required.
Lefty
system
November 7, 2011, 3:41am
7
Here's a picture if it helps:
system
November 7, 2011, 3:42am
8
Oh, no I did not. (nice post sniping, btw XD) IT WORKS! Thank you so much. Major props.