Rotary encoder mounting on gpio connectors

I use 3.3 volts.