Thanks everyone for your comments and help. I've seperated all of the components so they're powered independantly instead of all powered from the 5v pin on the nano. Also changed the inputs for the amp to use the DAC outputs on the mini player. Everything is working now.
