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
    About the element14 Community
  • 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 2831 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

    Mr. Wiltrout,

    Thanks for the information and the suggestion. I applied a PR1004 diode across the coil and looked up some schematics online to make sure I was doing it right. Unfortunately I'm still getting the same results.

     

    Just for giggles I added my benchtop ATX PSU that I use for other projects/testing. So even with two power supplies providing two separate 12v lines in combination for the bulb I still got the same results.

     

    Another test I performed is taking my spare, identical bulb and hooking up directly to the power supply unit. The bulb powered up and glowed like normal. Then I disconnected the 12v line, turned the PSU back on, waited a few seconds, and reconnected the 12v line to the bulb. The PSU immediately shut down like before. I did the same test with a 5v line off the same PSU and there were no failures. The bulb, on the 5v line, would dimly glow each time, as is expected, but it did not affect the PSU like the 12v line no matter how many times I disconnected and reconnected the live wire.

     

    So I think your second suggestion may apply here, but if so, why would it work with the bulb connected when the PSU powers up, but fails when connected after power up? Also, the PSU states it can supply 12 amps on the 12v line and the failure occurs even with two PSUs powering the bulb. It's all confusing to me, but then I'm still rather ignorant about this subject matter at this time.

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

    Mr. Wiltrout,

    Thanks for the information and the suggestion. I applied a PR1004 diode across the coil and looked up some schematics online to make sure I was doing it right. Unfortunately I'm still getting the same results.

     

    Just for giggles I added my benchtop ATX PSU that I use for other projects/testing. So even with two power supplies providing two separate 12v lines in combination for the bulb I still got the same results.

     

    Another test I performed is taking my spare, identical bulb and hooking up directly to the power supply unit. The bulb powered up and glowed like normal. Then I disconnected the 12v line, turned the PSU back on, waited a few seconds, and reconnected the 12v line to the bulb. The PSU immediately shut down like before. I did the same test with a 5v line off the same PSU and there were no failures. The bulb, on the 5v line, would dimly glow each time, as is expected, but it did not affect the PSU like the 12v line no matter how many times I disconnected and reconnected the live wire.

     

    So I think your second suggestion may apply here, but if so, why would it work with the bulb connected when the PSU powers up, but fails when connected after power up? Also, the PSU states it can supply 12 amps on the 12v line and the failure occurs even with two PSUs powering the bulb. It's all confusing to me, but then I'm still rather ignorant about this subject matter at this time.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
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