Search code examples
pythonraspberry-pigpio

Use 5.0V instead of 3.3V with the Raspberry Pi GPIO 'in' pins


Is it possible to use the GPIO pins with 5V instead of 3.3V without destroying the Raspberry Pi? I need to handle window contacts in python, which needs 5V to work properly.

Greetings
Epileptic_Software


Solution

  • I have some experience using Raspberry GPIOs. You can not control the 5V pins, there are always set as high. Only 3.3V pins can be controlled. If you need 5V you can create a electric circuit with a relay that activates with 3.3V.

    Hope this can be useful.