L298N without Arduino

I have following components

  1. Ir sensor
  2. L298N driver module( https://robu.in/product/l298n-2a-based-motor-driver-module-good-quality/)
  3. 3-6v dc water pump
  4. 5v dc supply .350A to 1A
    Now i want to run this pump using signal from that ir sensor and from l298N module. Please help me out how to do that?
    (No Arduino or no l293d module must be included)

take a minute, look at the parts
make a sketch
the answers will present themselves quickly.

if not, post your sketch and we can guide you to the solution.
but without an Arduino, do you think this should be on the Arduino forum ?

My queries are

  1. Will l298n run on 5v ?
  2. Where to connect output of ir sensor in l298n?

Ditch the L298N (not just because it's a very inefficient and old part, also because it's useless in this situation). Get a logic level N-MOSFET and connect the output of the sensor to the gate. Add the required resistors to the gate (10k pull-down, 100-500Ω gate current limiting) and of course the flyback diode.

Easy peasy.