smoothed? so u connected gnd of the battery AND the mega AND the rainbowduino? is there any error code given?