8 Port relay module + ACS712, delay time not turning on for right amount of time

I'll get around to commenting, in the meantime, have a look into the Streaming library.