element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • 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 Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • 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
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • 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 Pi Desktop - control power by button
  • 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 34 replies
  • Subscribers 669 subscribers
  • Views 3987 views
  • Users 0 members are here
  • rpi3
  • raspberry-pi3
  • raspberry_pi_space
  • pi desktop
Related

Pi Desktop - control power by button

pepeel
pepeel over 7 years ago

Hi all

I have Raspberry Pi3. I want buy Pi Desktop and connect it with RPI3 and add mSata hard disk SSD. I use it for home automation application. But i have a problem becuase Pi Desktop has own POWER BUTTON. And one problem which i have before buy is that after lost POWER all RPI3+Pi Desktop no start automaticaly when POWER come back. I must click on POWER BUTTON.

Is any chance to configure this to when power lost and when power lost RPI3 worsk , and then when power come back to RPI3 + Pi Desktop start automaticaly ?

Rpi3 without Pi desktop start automatical but power adapter is connected to RPI3 but when use with Pi Desktop powerd adapter is connected to Pi Desktop(and power is transport also to RPI3 by GPIO or USB)

 

I need have auto start rpi3+pi desktop because it is use for home automation and when it not start auto , when power lost and come back my home automation control stop working. But when i am away home i can not power On it by button.

 

Please help me.

  • Sign in to reply
  • Cancel
  • shabaz
    shabaz over 7 years ago in reply to pepeel

    Perhaps no-one else sees a need to use a desktop case for home automation, not fit a bigger battery, etc.

    If you wish to be the first to develop some unique use-case, then you'll need some scripting and electronics experience.

    I'm happy to recommend some books.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • gadget.iom
    gadget.iom over 7 years ago in reply to pepeel

    pepeel  wrote:

     

    But other people maybe not use Pi Desktop to Home Automation to connect Ssd disc.

    That may be because they evaluated the option and determined that it wasn't a feasible solution.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • gadget.iom
    gadget.iom over 7 years ago in reply to shabaz

    shabaz  wrote:

     

    If you wish to be the first to develop some unique use-case, then you'll need some scripting and electronics experience.

     

    On that subject, I noticed (while searching for possible solutions here) that the Pi Desktop board has an "MCU Program" header, My best guess is that this could be used to re-program the MCU with custom code.

    There doesn't seem to be much information about it out there though, at least none that I could find. 

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • shabaz
    shabaz over 7 years ago in reply to gadget.iom

    Hi Paul,

     

    Interesting.. nice opportunity for people to experiment with it. I wonder what microcontroller it is. I guess it is doing stuff like pausing for a bit to allow the Pi to shut down gracefully, causing some people to ask why repeatedly pressing the power button does not work, if the MCU is doing its pause, and preventing a restart until the Pi has fully shut down.. (just speculating what the implementation might be doing).

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • gadget.iom
    gadget.iom over 7 years ago in reply to shabaz

    I don't own a desktop-pi, so cannot be sure, but judging by photos it might be an ST STM8S005K6:

    http://uk.farnell.com/stmicroelectronics/stm8s005k6t6c/mcu-8bit-stm8-16mhz-lqfp-32/dp/2070944?ost=STM8S005K6&iscrfnonsku=false&ddkey=http%3Aen-GB%2FElement14_United_Kingdom%2Fsearch

     

    image

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • pepeel
    pepeel over 7 years ago

    But reprogramm is very hard...

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • jgcobra
    jgcobra over 7 years ago

    Here's a fully working on-off push button solution for Raspberry Pi 3:

    https://grahamwhome.wixsite.com/tetchytechie/single-post/2018/01/10/A-working-Raspberry-Pi-3-power-button

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • gadget.iom
    gadget.iom over 7 years ago in reply to jgcobra

    Hi jgcobra

     

    Welcome to the element14 community. image

    Unfortunately I don't think he's after a power button at all for his application but would rather it works continuously on power-up.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • jgcobra
    jgcobra over 7 years ago in reply to gadget.iom

    Thanks. Apologies but I think I replied to the wrong post. I will find the one I meant to reply to!

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • gadget.iom
    gadget.iom over 7 years ago in reply to jgcobra

    No Worries. image

    • 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 © 2025 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