If I use a resistor between the supply and the vcc pin, will that fix the problem?
I am still leaning towards the voltage as it is the only changing variable. Like I mentioned, it works perfectly with the 5v usb attached to the VCC.
I am attaching the positive from the battery supply to the vcc and the negative obviously to ground.
RAW. For supplying a raw (unregulated) voltage to the board.