GPIO

Raspberry Pi GPIO has voltage limitation. A avltages near 3.3V. is interpreted as a logic high and a voltage near zero volts is a logic zero.
For more details about GPIO wiring, visit Raspberry Pi pinout page.