Go Down

Topic: Relay issues (Read 271 times) previous topic - next topic

finkej4

The goal of this project is to control 12vDC solenoid valve.  I bought this http://dx.com/p/4-channel-12v-high-level-trigger-relay-module-for-arduino-151684 and am having some trouble getting everything to work.  My first hack at it was to hook power/ground/in all up to the arduino board.  I am able to turn on the light sensor but am not able to flip the relay.  My second method was to hook power/ground up to a 12vdc transformer and in to the arduino board which wasn't even allowing the In indicator to light up.  I feel complete lost and have searched and searched for the right solution.  If anyone has some helpful input I would really appreciate it.  Thanks.

Erdin

If you buy from Sparkfun or Adafruit, you get good and useful items and with the information how to use it.

The relays are 12V. So you need 12V somewhere.
You have to follow the traces on the pcb how to use it (reverse engineering).

Grumpy_Mike

Connect Vcc to your 12V +ve line and the GND of the 12V -ve line, also connect this point to the arduino ground. Then the IN connections go to the arduino output pins.

finkej4

thanks.  Ok, so I did have it set up before but wasn't able to get anything working.  Its a small solenoid so power shouldn't be an issue.  I'm just running a straight line in to the relay to power the external object correct?

Grumpy_Mike

Can you here the relay click when you switch it with the arduino?

Go Up