(Topic ID: 310037)

Adding LED to magnet activation

By Aquapin

2 years ago


Topic Heartbeat

Topic Stats

You

Linked Games

No games have been linked to this topic.

    #1 2 years ago

    Wanting to add an led what would illuminate when the magnet is activated in a Spike 2 machine. Has anyone done this or have insight on what I would need?

    #2 2 years ago

    I'm actually about to try that this week when parts arrive on my Godzilla. Hoping to use the magnet, bridge coil, and mecha moter as triggers.

    My experiment includes high voltage diodes, voltage step down, and an octocoupler that switches on/off a separate power source for the LEDs. If all goes to plan the node system will be safe and sound.

    What game are you going for and what have you learned? We should collaborate and be cautious because keeping the game safe is priority when using higher voltage. From what I hear Spike 2 is sensasitive

    #3 2 years ago

    I suspect the task is much easier that it appears at first. (See reply from John_I below for the one resistor solution)

    #4 2 years ago
    Quoted from Markharris2000:

    I suspect the task is much easier that it appears at first. The coil is driven by 48v DC, so you should be able to use 2 resistors to make a voltage divider, and just feed it to the LED directly. Clip it across the coil, making sure positive is correct, and then the rest is obvious.
    [quoted image]

    That seems way easier.

    #5 2 years ago
    Quoted from digitaldocc:

    That seems way easier.

    (Deleted in favor of John's solution below)

    #6 2 years ago
    Quoted from Aquapin:

    Wanting to add an led what would illuminate when the magnet is activated in a Spike 2 machine. Has anyone done this or have insight on what I would need?

    Quoted from Markharris2000:

    I suspect the task is much easier that it appears at first. The coil is driven by 48v DC, so you should be able to use 2 resistors to make a voltage divider, and just feed it to the LED directly. Clip it across the coil, making sure positive is correct, and then the rest is obvious.
    [quoted image]

    Actually you need just one current limiting resistor and not a voltage divider. Assuming a standard LED socket #44 bulb running at 5v and more importantly 20mA (0.020 amps).

    So the old formula you might remember from high school is V=IR. (I = current, V is voltage and R is resistance)

    V=IR -----> R = V/I

    R = 48 / 0.02
    R = 2400 ohms or 2.4 K ohms

    So you just need to put a resistor of something like 2.4 Kohms in series with the LED assuming it is a standard 5 volt LED.

    If you plug the numbers in right here it comes out very similar:
    https://www.digikey.com/en/resources/conversion-calculators/conversion-calculator-led-series-resistor

    #7 2 years ago
    Quoted from John_I:

    Actually you need just one current limiting resistor and not a voltage divider. Assuming a standard LED socket #44 bulb running at 5v and more importantly 20mA (0.020 amps).
    So the old formula you might remember from high school is V=IR. (I = current, V is voltage and R is resistance)
    V=IR -----> R = V/I
    R = 48 / 0.02
    R = 2400 ohms or 2.4 K ohms
    So you just need to put a resistor of something like 2.4 Kohms in series with the LED assuming it is a standard 5 volt LED.
    If you plug the numbers in right here it comes out very similar:
    https://www.digikey.com/en/resources/conversion-calculators/conversion-calculator-led-series-resistor

    One last note. Use a big resistor. This resistor will be pulling a full watt of power so need a 2 watt resistor!! There are probably better ways to do this by using a trigger with a 5v output. The resistor is a brute force method.

    #8 2 years ago

    If you wanted to be able to do a fancy light shows based on the magnet, you could use a reed switch located on the underside of the magnet as an input to a Arduino or other similar micro controller. Then, your LED light show would be independent of the power to the magnet and could continue after the magnet finishes pulsing.

    #10 2 years ago

    Thanks for the suggestions.

    Reason I was asking:
    Buddy has a Mandalorian with one of the animated Grogu dolls that goes on and off all the time, even in attract mode (runs off optical sensor) which gets irritating after awhile. My thought was to have a light tied into the magnet so it would only go off during actual gameplay.

    #11 2 years ago

    This Reed switch has me fascinated. Is there one you used that worked well in a pinball game that you can link us to? How close do you have to mount it to the magnet?

    #12 2 years ago

    In the case of using the moter could this 48v to 12v step down work? I think I still want to use a separate power supply with an octocoupler. Especially if I'm using multi LED strips and want to do no harm to the node system.

    Some advantage to using the below products as apposed to 2watt resisters?

    ebay.com link: Power Converter Regulator DC 24V 36V 48V Step Down to DC 12V 120W 10A Waterproof

    Or this one

    ebay.com link: Buck Converter Step Down Power Module 200W 15A DC DC 8 60V TO 1 36V

    #13 2 years ago
    Quoted from Aquapin:

    Thanks for the suggestions.
    Reason I was asking:
    Buddy has a Mandalorian with one of the animated Grogu dolls that goes on and off all the time, even in attract mode (runs off optical sensor) which gets irritating after awhile. My thought was to have a light tied into the magnet so it would only go off during actual gameplay.

    Look in the Grogu thread. There is a circuit that does exactly what you are asking for and triggers off of a rollover switch. Grogu looks terrible in the ones that trigger on lights. During multiball he keeps triggering over and over and looks spastic. Not to mention moving during attract mode. Better off not moving at all than that mess.

    Here is a board that basically does what you are looking for and even has timers and cool programmable features.

    https://www.amazon.com/DROK-Controller-Delay-off-0-01s-9999mins-Switching/dp/B07DFT2WDS/ref=sr_1_1_sspa

    #14 2 years ago
    Quoted from John_I:

    V=IR -----> R = V/I
    R = 48 / 0.02
    R = 2400 ohms or 2.4 K ohms
    So you just need to put a resistor of something like 2.4 Kohms in series with the LED assuming it is a standard 5 volt LED.

    Actually, the 5V taken by the LED should be subtracted from the coil voltage 48V (although it does not make a big difference here), so R=(48V-5V)/0.02A = 2150 ohm. A 2.2k resistor would be fine, with power capacity of 1W or 2W. (48V-5V)x0.02A = 0.86W but since the LED is not on for long time, probably 1W is OK.

    #15 2 years ago
    Quoted from digitaldocc:

    This Reed switch has me fascinated. Is there one you used that worked well in a pinball game that you can link us to? How close do you have to mount it to the magnet?

    Reed switches are fairly sensitive. You would want to mount it on the backside of the magnet up against the central core. The orientation of the switch is important. If it is oriented with the leafs parallel to the magnetic field it probably won’t work. (You want the magnet to pull the leafs together.) I haven’t tried one in this application but I think it’s very likely that it would work. The nice thing about using it here or is it isolates Your LED from the magnet voltage. LEDs are low current. You might be able to simply use the Reed as a simple switch to turn the LED on when the magnet is active. But, the true power is in using the switch to trigger a micro controller so you can do something really fancy with your light show. You could also use a hall switch. But this is a tiny bit more complicated.

    Reply

    Wanna join the discussion? Please sign in to reply to this topic.

    Hey there! Welcome to Pinside!

    Donate to Pinside

    Great to see you're enjoying Pinside! Did you know Pinside is able to run without any 3rd-party banners or ads, thanks to the support from our visitors? Please consider a donation to Pinside and get anext to your username to show for it! Or better yet, subscribe to Pinside+!


    This page was printed from https://pinside.com/pinball/forum/topic/adding-led-to-magnet-activation- and we tried optimising it for printing. Some page elements may have been deliberately hidden.

    Scan the QR code on the left to jump to the URL this document was printed from.