Solenoids turning on at startup of arduino

When the arduino is starting up my solenoid turns on. Three rapid click
I need it to turn on when a push button not at start-up.

Is the a hardware problem or coding problem.

I am following the instruction http://bildr.org/2011/03/high-power-control-with-arduino-and-tip120/

I don't see any code to comment on. I don't want to look at some tutorial because I KNOW that works. If you whatever you are doing is NOT working then you need to post your code because telling us about someone else who is doing something different and not having problems isn't going to tell us what you are doing wrong. Post your code.
POST YOUR CODE , POST YOUR CODE oh post your code post your code, la la la la la lah ,lah la lah..

It might not be either a hardware nor a coding problem. You code cannot directly control what happens when your device is powered up.

If this is an issue, there are approached which can be taken to circumvent it. We would need more details of your circuit to give more specific advice.

Hi,
Start with some information about Arduino Power HERE:

In particular see the section about start-up. A code fragment, showing that you may need to set the output levels FIRST, and THEN set the pins as output:

//-------( Initialize Pins so relays are inactive at reset)----
  digitalWrite(Relay_1, RELAY_OFF);
  digitalWrite(Relay_2, RELAY_OFF);
  digitalWrite(Relay_3, RELAY_OFF);
  digitalWrite(Relay_4, RELAY_OFF);  
  
//---( THEN set pins as outputs )----  
  pinMode(Relay_1, OUTPUT);   
  pinMode(Relay_2, OUTPUT);  
  pinMode(Relay_3, OUTPUT);  
  pinMode(Relay_4, OUTPUT);    
  delay(4000); //Check that all relays are inactive at Reset

On the Uno all pins but 0, 1 and 13 are set to INPUT LOW at power on / reset
by the hardware. 13 is toggled by the bootloader and 0 and 1 are RX and TX which are
pulled up externally I believe.

Does anyone know what the Green diamond means next the Karma count number ?

On the Uno all pins but 0, 1 and 13 are set to INPUT LOW at power on / reset by the hardware.

So you may need to add pullup or pulldown resistors to the solenoid control pins to force them high or low as needed until the bootloader finishes and your sketch kicks in to control the pins.

What green diamond? I only see a little plus sign.

The green diamond next to your "490" karma count stat.

I'll have to log out and see if I can see that.

raschemmel:
Does anyone know what the Green diamond means next the Karma count number ?

I believe it being green means you can bump the members karma count if you wish. There is a time frame imposed so you can't just keep incrementing it at one time, no matter how much you like the member. :wink:

A member is not allowed to leave him/herself karma so that member will not see a green diamond next to their own karma count, no matter how much they like themselves.

I tried logging out, cookies kept it looking like I was logged in.

I only see a Plus sign, not a diamond, for all posters in this topic (and none for me of course).
Do others see a diamond also?
Maybe it's a moderator thing, or related to posts/karma quantity, like the 5 blue stars.

I see a +

I see greenies also.

That's wierd. If you log out you lose your Green (Lantern) Diamond vision...

raschemmel:
That's wierd. If you log out you lose your Green (Lantern) Diamond vision...

Possibly because only log in members are allowed to leave karma?

Yeah ! that's it. The button has to be invisible to non-members. Duh. No wonder your karma is so high XD
"click"