Current version of the OpenAuto Pro is 12
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Power off by a button
To power off the raspberry pi i use the following script:

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]
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.
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
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."

 - 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
I am sorry for not responding i trow the raspberry pi in a corner because of this problem and lack of time :0
but i working on the project again, i just order a 5 inch screen i think thats big enough and since the airco works again i need to be able to use the fan switches Smile, the 7 inch was bit to big.

could you provide me a link what cable i should use?

Forum Jump:

Users browsing this thread: 1 Guest(s)