I have a bistable solenoid valve 9V which I would like to drive with a motor driver since the original controller is broken. I found a solution here with the relative connections explained.
I wanted to buy a L298N which instead turned to be a MX1508 (local shop, not chinese website). Anyway functionalities should be similar.
I need help with the connections:
Should I connect GND of the Argon with the GND of the 9V battery connected to P1pins?
Should I apply some protection to the analog pins like a flyback diode? how to connect this?
Apparently it is recommended to put a 100nF ceramic capacitor between the two pin H3 Motor A? what is it used for? with the connection explained here does it makes sense?
Here the schema I found: