Current version of the OpenAuto Pro is 7.0
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Power off by a button
#1
To power off the raspberry pi i use the following script:
https://howchoo.com/g/mwnlytk3zmm/how-to...spberry-pi

it worked for a while, until the car went to the airco service and the mechanics at the airco servers apparently pull out some wires out of the pi.
i discover this after i pull out the raspberry pi because it didn't work anymore, since it was out of the car i went and update the pi and now the pi wont shutdown with this script i try everything double check everything maybe someone on here can help me out if i mis something?:

[Image: 2MDNWD.jpg]
those wires with the tape goes to the button.

[Image: 3b8lKr.jpg]
Reply
#2
hello, first of all I recommend the continuity of the wires and in general of all the connections (unfortunately this kind of connectors and buttons are often faulty).
Then, what do you mean for "update the pi"? Because if you changed the  OAP version, it is normal that the script won't work anymore and you have to re-install it completely.
Reply
#3
Did you made script executable? Do you have power on 3v3 rail?
Raspberry Pi 4b-4gb / Official 7" touchscreen / OAP 5.0 / Honor 8x (AndroidAuto 5.) / USB sound card / USB microphone
Reply
#4
What pins are you plugged into? Doesn't look right? .... isn't it:

"Simply put, shorting pins 5 and 6 (GPIO3 and GND) together will wake the Pi up from a halt state."

GFunkbus76
 - Working on dual screen setup to run 1976 bus AV and dash... eventually.
 - Work in long-term progress lol

YouTube Channel for some related videos
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)