This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SSD Booting : low power issue
#16
I started off just installing a power switch.  momentary switch was connected across pins 39 (GND) and 40 (GPIO21).  an LED was connected up between pin 38 (GPIO20) and the same GND (39).

In the file /boot/config.txt (use sudo nano /boot/config.txt)

Add the following:

#on/off switch
dtoverlay=gpio-shutdown,gpio_pin=21
dtoverlay=gpio-poweroff,gpiopin=20,active_low="y"

this will command a shutdown when pin 21 is grounded and then when power is off, pin 20 will go low - this is a simple demonstrator and works well (and you can prototype with simple components)

mine looked like this:
     
   
simple and easy to use, but breakers got switched off...
Reply


Messages In This Thread
SSD Booting : low power issue - by HeviiSailor - 2023-01-07, 06:43 PM
RE: SSD Booting : low power issue - by Techstyle - 2023-01-09, 05:27 PM
RE: SSD Booting : low power issue - by Techstyle - 2023-01-10, 02:57 AM
RE: SSD Booting : low power issue - by Techstyle - 2023-01-10, 03:42 PM
RE: SSD Booting : low power issue - by Techstyle - 2023-01-10, 05:17 PM
RE: SSD Booting : low power issue - by Sailoog - 2023-01-10, 07:05 PM
RE: SSD Booting : low power issue - by Techstyle - 2023-03-03, 07:31 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)