Here's my circuit. It's basically the same as yours, just minor mods so that I can use it with my own stepper driver board instead of the L298N. Hence the additional Enable line, as per the L6506 IC.Thank you @sarahMCML ! Very cool explanation !
This is my first time when I encounter these sense resistors. Very new concept to me. I understand something from your explanation. I will practice them as you explained. LM358 I have x200pcs. Also uA741 x100pcs. And one or 2 of some other types opamps but not many, <5 and they are scrapped.
I dont understand this part. Draw it.
I used the 2.5v reference chip just to ensure a stable point for the comparator positive inputs, against any drift in the +5v supply. In any case, I have about 100 of them!

I have a number of jumpers on my board which aren't shown on this diagram which I can link across to the L298N module.
As I use one of the pre-built L298N modules from AliExpress, I had to cut the two tracks on the bottom of the PCB to isolate pins 1 and 15 of the chip and bring them out to my board.










