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
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum Hit the power button (jumper) on another PC ?
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 11 replies
  • Subscribers 683 subscribers
  • Views 1991 views
  • Users 0 members are here
  • raspberry_pi
Related

Hit the power button (jumper) on another PC ?

Former Member
Former Member over 12 years ago

So, I'm a bad sysadmin and I have to physically hit the power button on my servers every now and then.  The problem is my machines are in a server room that I can't always get to.

 

Sorry if this is the wrong place to post this.  image

 

 

So, I think it would be cool to have another machine on the rack that can hit the power button on one or more of the PC's on the rack.

 

My first thought is to stick a Raspberry Pi on the rack and plug the PC's pwr and rst jumper leads into a relay board like this: http://www.amazon.com/SainSmart-8-Channel-Relay-Module-Arduino/dp/B0057OC5WK/ref=sr_1_sc_1?ie=UTF8&qid=1367855066&sr=8-1-spell&keywords=8+channel+relaay+board

 

I would need a relay board, right?  Would the Raspberry Pi's output leads work on a jumper?

 

Would there be grounding issues?  I can plug the Raspberry Pi's power supply into the same outlet as my server, but it won't have a third 'ground' prong.  If there are grounding issues, would using the relay board solve them?

 

What's the simplest way to set this up?  Is there a board that has good library support or easy connectivity with the Raspberry Pi?

 

Has someone already done this or something similar?

 

Am I an idiot?

 

Thanks!  Any info is helpful!

 

 

 

An aside -- the normal solution to this would be a remotely controlled power strip.  Unfortunately, my motherboard doesn't always boot on power, despite having that attribute set in BIOS.  For example, if you do a shutdown, the motherboard won't boot the system on a power cycle.  890fxa-gd70, if anyone's interested. Wake on Lan only seems to work from 'suspended,' not shut down.  Also gonna look at an ethernet NIC WOL, but I don't expect that to work.

  • Sign in to reply
  • Cancel
  • Former Member
    Former Member over 12 years ago

    I know this topic is really old, but I just happened to come across it searching for something completely different, and just having done something similar at home, I thought i should at least comment.

     

    Firstly, I'm no ee expert and maybe my machine will fry eventually, but this worked and was extremity cheap. I wanted to keep my desktop machine powered down but have the ability to power it on remotely in case i needed something from it. Since I have an rpi sitting next to my desktop, accessible from the Internet, always powered on, I figured I could do something similar to what you mention.

     

    I basically wired an npn transistor in parallel between the pc case power switch and motherboard (using the collector and emitter pins) and use a gpio on the rpi to bring the base pin (on the npn) high when I need to simulate pressing the power button. (With a resistor between the rpi and base pin)

     

    This was like literally less than $2 in parts and has worked perfectly for me over the last several months. I also thought about wol, but this is better in the cases where the machine is hard locked. (Leave the pin high for 4 seconds, and you hard cycle it) I think I got the circuit from an arduino example for controlling a relay.. It's very simple.

    • 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