Arduino error in light sensor circuit

Power supply, big spikes from inductors when you switch them, something like that...