Maker Pro
Maker Pro

Power on off indicator?

weatherjack

Dec 9, 2011
15
Joined
Dec 9, 2011
Messages
15
This should be simply but I am drawing a blank on this? I am building a project that has 24v input and 24v output. I have a toggle switch I want to use to turn the power on and off. I also have a green LED (on) and a red LED (off). When the power is on I have a push button switch to allow 24v to output. So I plug in the 24v input, toggle swich is off, red light is on, push button will not work, 24v does not go to output. I plug in 24v, turn the toggle switch to on, the green LED will light up, push button switch sends 24v to output. This should be so simple I have been away from electronics for some time and now getting back into things. I just simply cannot figure this out? If I get this problem worked out I will share the final project with pictures.
 

Attachments

  • project r  04.jpg
    project r 04.jpg
    14.7 KB · Views: 152

Harald Kapp

Moderator
Moderator
Nov 17, 2011
13,700
Joined
Nov 17, 2011
Messages
13,700
You use a double-pole dual throw switch (DPDT). This is actually like two switches (a and b) in one housing).
Connect GND from input to output.
Connect + from input to both center taps of the switch (thar would be pin 2 n your diagram, only you'll have 2 such pins on a DPDT switch).
Connect the Red and green LEDs to the outer positions of one of the switches (e.g. a) such that they light up as required by the on and off position of the switch.
Connect one pin of the pushbutton to switch b of the DPDT switch. Connect it to the outer pin that corresponds to the on-position (nect to the wire leading to the green LED).
Lastly, wire the second pin of the pushbutton to the + pin of the output.
 

weatherjack

Dec 9, 2011
15
Joined
Dec 9, 2011
Messages
15
Yeah thinking on this?? This powers the LED either way switch is set. Then the power is sent through with the position it is in. Let me make a drawing of this and will post. I may be over thinking this? Hint on final project>> electro-mechanical. Thanks for the reply! The double throw is what I should have gone with to begin. I am currently set up with a RShack 275-0652 an SPDT switch.
 

weatherjack

Dec 9, 2011
15
Joined
Dec 9, 2011
Messages
15
Ok Should be one of these. #1 or #2? Thanks again. BTW uploading photo to correct size is a PITB!
 

Attachments

  • Proj DPDT.bmp
    71.3 KB · Views: 210
  • Proj DPDT 2.bmp
    71.3 KB · Views: 182

weatherjack

Dec 9, 2011
15
Joined
Dec 9, 2011
Messages
15
better pic?
 

Attachments

  • Proj DPDT.jpg
    Proj DPDT.jpg
    20.5 KB · Views: 180
  • Proj DPDT 2.jpg
    Proj DPDT 2.jpg
    19.9 KB · Views: 136
Last edited:

davenn

Moderator
Sep 5, 2009
14,254
Joined
Sep 5, 2009
Messages
14,254
#1 looks great

#2 no good as you are not supplying negative power rail to the LED's


BTW uploading photo to correct size is a PITB!

not sure what you mean by that ? do you mean resizing or compressing?

cheers
Dave
 
Last edited:

(*steve*)

¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd
Moderator
Jan 21, 2010
25,510
Joined
Jan 21, 2010
Messages
25,510
The red led and the green LED will need the appropriate resistor in series with them or they will stop working (perhaps with a bang) almost as soon as power is applied.

In the tutorial section there is a long post about LEDs. In that there is an explanation as well as links to calculators which can tell you what value resistor to use.
 

weatherjack

Dec 9, 2011
15
Joined
Dec 9, 2011
Messages
15
Got the picture posting figured out. #1 is the way I am going to wire this. I did not show resisters in the last drawing just to make it simple. O yeah another hint In this project I will also be using H180-4E1-PSL. Here the latest pics.
 

Attachments

  • IMAG0211.jpg
    IMAG0211.jpg
    13 KB · Views: 143
  • IMAG0212.jpg
    IMAG0212.jpg
    13.3 KB · Views: 129

(*steve*)

¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd
Moderator
Jan 21, 2010
25,510
Joined
Jan 21, 2010
Messages
25,510
That wire seems kind of small for 24v. Maybe that's just me.

24V s not so high a voltage that you need extra thick insulation.

The wire (conductor) size is determined by the current it needs to carry, not the voltage.
 

weatherjack

Dec 9, 2011
15
Joined
Dec 9, 2011
Messages
15
picture update
 

Attachments

  • IMAG0217.jpg
    IMAG0217.jpg
    148.7 KB · Views: 101
  • IMAG0218.jpg
    IMAG0218.jpg
    128 KB · Views: 138
  • IMAG0219.jpg
    IMAG0219.jpg
    141.2 KB · Views: 123
  • IMAG0220.jpg
    IMAG0220.jpg
    130.9 KB · Views: 140
  • IMAG0221.jpg
    IMAG0221.jpg
    126.7 KB · Views: 97
  • IMAG0222.jpg
    IMAG0222.jpg
    102.3 KB · Views: 169
  • IMAG0224.jpg
    IMAG0224.jpg
    135.7 KB · Views: 134
  • IMAG0227.jpg
    IMAG0227.jpg
    148.7 KB · Views: 131
  • IMAG0226.jpg
    IMAG0226.jpg
    129.3 KB · Views: 99
  • IMAG0225.jpg
    IMAG0225.jpg
    140.4 KB · Views: 127

(*steve*)

¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd
Moderator
Jan 21, 2010
25,510
Joined
Jan 21, 2010
Messages
25,510
Looks like it works.

I would recommend some insulation to prevent those connections from shorting out with others when they're stuffed into the box.

Most often I use heatshrink tubing, but insulation tape will work for a while...
 

weatherjack

Dec 9, 2011
15
Joined
Dec 9, 2011
Messages
15
Completed! Works great. I am running it at 60psi and it will crush a can roughly to 1 1/2 inches. Next maybe a can counter? Any ideas or suggestions? Thanks for all of the replies.
 

Attachments

  • IMAG0230.jpg
    IMAG0230.jpg
    78.3 KB · Views: 150
  • IMAG0234.jpg
    IMAG0234.jpg
    49.2 KB · Views: 130
  • IMAG0237.jpg
    IMAG0237.jpg
    88.1 KB · Views: 118
  • IMAG0238.jpg
    IMAG0238.jpg
    111 KB · Views: 137
  • IMAG0241.jpg
    IMAG0241.jpg
    118.5 KB · Views: 92
  • IMAG0243.jpg
    IMAG0243.jpg
    86.1 KB · Views: 151
  • IMAG0245.jpg
    IMAG0245.jpg
    93.9 KB · Views: 133
  • IMAG0251.jpg
    IMAG0251.jpg
    40.5 KB · Views: 110
  • IMAG0248.jpg
    IMAG0248.jpg
    88.2 KB · Views: 151
  • IMAG0250.jpg
    IMAG0250.jpg
    43.5 KB · Views: 115

(*steve*)

¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd
Moderator
Jan 21, 2010
25,510
Joined
Jan 21, 2010
Messages
25,510
That's pretty cool.

Not sure why I didn't see your post yesterday.

Got a photo of a crushed can?
 
Top