Arduino pins not working
My best guess (not knowing what the pins are driving) is that your trying to draw too much current from the Arduino gpio.

Ref: https://playground.arduino.cc/Main/ArduinoPinCurrentLimitations