Control Peristaltic Pumps with Arduino Mega and L298N

@juanmn95

You seem to have a similar topic already open

I recommend the MOSFET circuit in that topic
Don't understand why you bought a L298