pulseDuration = pulseIn(INJECTOR_PIN, HIGH);
pulseFrequency = 60000 / pulseDuration; // Frequency in minutes
pulseProduct = pulseDuration * pulseFrequency;
This part of your code is blocking nano.
See in the simulator.
" Nano_seensor - Wokwi ESP32, STM32, Arduino Simulator
With this part released, it does not print on the serial,
but with this part commented,
the value read from the potentiometer (simulating the sensor) appears on the serial.
Run the simulator with the part released and then comment on the part and run it again.
and vary the potentiometer value.