5v ROB-11015 to arduino

Hi

I have an arduino that I want to use to control 1 ROB-11015 5V soleniod. How can I best set this up. I am very new to all this so any help will be appreciated.

I know i need to hook up the solenoid dto and external soruce, which is a 9V battery (from what I understand this isnt the best solution but its only going to be used for a short time during a presentation). I am using a voltage regulator with capacitors to reduce the voltage. I have tested this and am getting 5v output.

When I connect to the arduino, do I need a transistor, or can I connect it straight into a digital pin? Also, the solenoid only has 2 wires (from what I can see, Its still coming in the mail)..does the ground go to the arduino digital pin?

Hopefully this makes sense. :smiley:

T-money

Hi, with link to information about solenoid below

bump

i really need some advice please. I have my solenoid and purchased a n type mosfet as the switch.

I have the solenoid connected in parallel to a diode. These are both connected to a 5v source. The other wire is connected to the D on the mosfet. The S is connected to ground and the G is connected to pin6 on the leostick.

i have used the following mosfet.

http://tronixstuff.wordpress.com/2011/12/06/review-freetronics-module-family/

I have uploaded a test solenoid code onto the leostick

const int SOLENOID2_pin=6;
const int LED_pin=13;

void setup() {
Serial.begin(9600);
pinMode(SOLENOID2_pin, OUTPUT);
digitalWrite(SOLENOID2_pin, LOW);
digitalWrite(LED_pin, LOW);
}

void loop() {

delay(500);
digitalWrite(SOLENOID2_pin,HIGH);
digitalWrite(LED_pin, HIGH);
Serial.println("2 high");
delay(500);
digitalWrite(SOLENOID2_pin,LOW);
digitalWrite(LED_pin, LOW);
Serial.println("2 low");
delay(500);
}

however this is not working. Can you please tell me where I may be going wrong???

thanks

  1. 9V PP3-size battery simply won't be powerful enough, give up on that idea. 4xAA cells perhaps? Best to power the solenoid separately from the Arduino anyhow.
  2. Can't work out what current that solenoid takes, but it will be in 0.2 to 1A range I suspect from the datasheet for the series - you need a power source that can provide this.
  3. circuit and code look basically OK on a quick inspection, MOSFET definitely up for driving that and larger solenoids nicely. Add a 150 ohm resistor between gate and pin6, you don't want to over-current the pin repeatedly, could burn it out.

gud evening .. may I know where you buy 5v ROB-11015 ?
I really need this in my thesis. thanks you for the response .

Did you think of putting any of those words into a google search?

yes. actually. i just finding hope or chance that there is 5v soleniod ROB-11015, here in Philippines.

thnx for the response.