
L298’s are good motor controller (relay) chips. The author found there are not alot of good write-ups on the combining the two. Of course there are many write-ups on using shields that have this chip built in…
https://www.instructables.com/id/Connect-L298N-IC-to-Arduino/