Sitebase / campervan

Code and documentation for my complete campervan build
1 stars 0 forks source link

USB Plug reboot #6

Closed Sitebase closed 3 years ago

Sitebase commented 3 years ago

I have a GPIO button connected to GPIO 17 which triggers a system reboot using a python script. It seems like when I plug in my phone to USB the device reboots. This reboot seems to be triggered by the python service because when I disable it plugging in and out my phone doesn't seem to trigger a reboot anymore.

Maybe update the python service to write GPIO changes to a log file to see if there are other more stable GPIOs I can use for this.

Sitebase commented 3 years ago

This seems to be solved now that I've activated the pull-down resistors in my code.