element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
element14's The Ben Heck Show
  • Challenges & Projects
  • element14 presents
  • element14's The Ben Heck Show
  • More
  • Cancel
element14's The Ben Heck Show
Forum Relay trouble with ATX power supply
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join element14's The Ben Heck Show to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 16 replies
  • Subscribers 33 subscribers
  • Views 2657 views
  • Users 0 members are here
  • halogen
  • 12v
  • arduino nano
  • power supply
  • relays
  • atx
  • beginners
  • electronics.
  • arduino
  • novice
  • beginner
Related

Relay trouble with ATX power supply

dukeofmarshall
dukeofmarshall over 9 years ago

Full disclosure: I'm a beginner electronics enthusiast. Here is my setup:

 

(1) Arduino Nano

(1) Arduino 24v 3 amp Relay Shield

(1) MR5A001A1 12v 30 amp Relay from an Isuzu Rodeo

(1) ATX Power Supply Model ATX-1956D

(1) 12v 50w Halogen Light Bulb

 

So the end goal is to drive the halogen bulb with the Arduino. Be able to turn it on and off as needed. For my first setup, I connected the Arduino to the relay shield, ran a 12v line from the power supply unit to the common on the relay, and the NO from the relay to the halogen bulb. I did not take the amps of the bulb into account at first but soon realized my mistake when the relay fried. I replaced the Arduino relay and the PSU just to be sure and added the car relay. My current setup is Arduino Nano connected to the Arduino relay, one 12v line from the PSU is connected to the common on the Arduino relay, the NO on the Arduino relay is connected to the trigger(?) of the car relay, one 12v line from the PSU is connected to the common on the car relay, and the bulb is then connected to the NO of the car relay. The Arduino and the Arduino relay shield are both powered from a 5v line from the PSU.

 

The issue I'm having is when the Arduino relay switches on and turns on the car relay, the PSU just shuts down. Now, I can power the bulb directly with the PSU, no problem. But when connected up in this setup something's causing the PSU to shut off. Strangely enough, If I connect the bulb to the NC of the car relay, the bulb powers up with no problem. Then, as expected, when the Arduino relay switches on the car relay, the bulb goes off, but when the Arduino relay switches off and turns off the car relay, activating the NC of the car relay again, the PSU immediately shuts down like before.

 

Anyone have any ideas or suggestions about this? All the parts seem to be in order. There's not too much voltage going into any part and, now, all the parts should be able to handle the amperage with the PSU being more than enough to power the whole system. What am I missing here?

  • Sign in to reply
  • Cancel

Top Replies

  • dougw
    dougw over 9 years ago +3
    Incandescent light bulbs, including halogen types have a very low resistance when first powered up. It can take hundreds of milliseconds before they warm up to white hot and at that point their resistance…
  • jw0752
    jw0752 over 9 years ago in reply to dukeofmarshall +3
    Hi Todd, Sorry it took so long to get back to you. One thing that you might try is to use an In-Rush Thermistor in series with the bulb. I discussed these Thermistors a while back in a previous blog. https…
  • shabaz
    shabaz over 9 years ago +2
    Hi Todd, According to this ePanorama.net - Links (bottom half of that page) such PC power supplies need a certain load on their 5V rail too. It is an unexpected situation that there is a heavy load on…
Parents
  • jw0752
    jw0752 over 9 years ago

    Hi Todd,

    Another possibility is that you are getting enough of a voltage spike from the relay coil to trigger the ATX into protect mode. Make certain that you have a diode, reverse biased across the relay coil. Another possibility is the way the load of the bulb is being applied. A 56 watt halogen bulb could easily draw 10 amps for a few milliseconds until the rising temperature of the filament brings the resistance up to operational levels. Make sure that you are using the 12 Plus supply of the ATX as the negative 12 volts may only be rated for a couple amps.

    John

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • dukeofmarshall
    dukeofmarshall over 9 years ago in reply to jw0752

    Just did two more tests. I powered up the PSU and then connected a 12v computer fan, then disconnected and reconnected several times. No problems. I repeated the same test with the bright LED pads and no problems there either. So your suggestion about the bulb drawing lots of amps on connection may be correct, but how do we address that or can we? Thanks.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • jw0752
    jw0752 over 9 years ago in reply to dukeofmarshall

    Hi Todd,

    Sorry it took so long to get back to you. One thing that you might try is to use an In-Rush Thermistor in series with the bulb. I discussed these Thermistors a while back in a previous blog.

     

    https://www.element14.com/community/people/jw0752/blog/2016/03/15/identifying-the-triplets-in-a-power-supply-front-end

     

    The In-Rush Thermistor presents a current limiting resistance initially and then drops to a very low resistance as it warms up. These are used frequently in circuits and power supplies where there is an initial very high current demand.

     

    Here is one offered by Newark:

     

    http://www.newark.com/amphenol-advanced-sensors/cl-30/ntc-inrush-current-limiter-2-5/dp/81F3387

     

    The specifications on this Thermistor say that it begins at room temperature at 2.5 Ohms. This would limit the initial current to about 5 Amps. When it warms up its resistance drops to 0.06 Ohms. It is rated to handle 8 amps which is well above the 5A draw of the bulb.

     

    If you have access to scrap circuit boards you may find an inrush thermistor that you can salvage. As I mentioned in my blog these will look like a large disk capacitor and will be in series with the power feed to the circuit.

     

    You could also experiment with a capacitor across the ATX 12 volt as dougw has mentioned. If you use a capacitor that is too large it will also shut down the ATX but if you get just the right value, not to large and not too small it may solve the problem.

     

    John

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Cancel
  • dukeofmarshall
    dukeofmarshall over 9 years ago in reply to jw0752

    Mr. Wiltrout,

    Thank you for the information and reading/educational material. I was able to find an SCK 037 NTC Power Thermistor from a non-working ATX supply I had lying around. That seems to do the trick. My initial test was just powering up the PSU and then connecting the live wire with the thermistor in series to the spare bulb. I was able to do this multiple times with no issues. So then I went ahead and attached the thermistor in series to the common on my car relay. Powered the whole system up and currently don't see any problems as far as the PSU shutting down. The Arduino can turn the bulb on and off at will.

     

    Thanks again for helping out. I do have two more questions if you don't mind. 1) The thermistor seems to get REALLY hot. Is that normal for a thermistor or should I try to do something about it? 2) When the diode suggestion didn't solve the PSU issue, I removed the diode, but in some of my research it was suggested that always having a diode across a coil like you suggested is good practice. Would you agree? Should I reattach the diode to the coil?

     

    I really appreciate all the time, information, and education you've given me. Take care.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • jw0752
    jw0752 over 9 years ago in reply to dukeofmarshall

    Hi Todd,

    It is normal for the Thermistor to get hot. As the temperature increases the resistance goes down. As the resistance goes down the amount of heat produced also goes down. For a given current flow the device should heat up to an equilibrium position and then stabilize. I do not know the specifications on the device that you salvaged but if it can handle the 5 amps of your bulb it should be OK. Make certain that you have given it adequate space away from other components so the heat doesn't damage anything. You can also check around for other Thermistors to see if a different one will run cooler. The diode across the coil is usually a good idea. The only difference it might make in the circuit that you have constructed is that the contacts in the relay on your relay shield will last a little longer. I am pleased that you got things working. As frustrating as it is to have problems I always find that it provides a good learning experience.

    John

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • jw0752
    jw0752 over 9 years ago in reply to dukeofmarshall

    Hi Todd,

    It is normal for the Thermistor to get hot. As the temperature increases the resistance goes down. As the resistance goes down the amount of heat produced also goes down. For a given current flow the device should heat up to an equilibrium position and then stabilize. I do not know the specifications on the device that you salvaged but if it can handle the 5 amps of your bulb it should be OK. Make certain that you have given it adequate space away from other components so the heat doesn't damage anything. You can also check around for other Thermistors to see if a different one will run cooler. The diode across the coil is usually a good idea. The only difference it might make in the circuit that you have constructed is that the contacts in the relay on your relay shield will last a little longer. I am pleased that you got things working. As frustrating as it is to have problems I always find that it provides a good learning experience.

    John

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
Children
  • dukeofmarshall
    dukeofmarshall over 9 years ago in reply to jw0752

    Mr. Wiltrout,

    I completely agree. It was, and still is, a learning experience for a novice like myself. And as irritating as it was at the time, it's rewarding now. I kept playing around with different configurations and when that didn't work and internet searches didn't turn up anything, I decided it was time to seek professional help. Thanks again for your help.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube