I'm still learning English so accept my apologies if I did not describe things well due to poor language.
I wish you can help me to solve my problem.
I'm trying to build a circuit to drive a dc motor using Arduino pro mini and Nextion to control speed and time>
the problem is: noise while starting the motor (running) effect on the PWM signal and I get some transient value from speed sensor since I printed to Nexton screen (like actual speed 1000rpm while i get 4xxx or 6xxx)
motor 230 v dc: 400 W brush motor
ultrafast recovery diode ( HFA15PB60).
2sk2843 or 2sk3505 (n-chanal MOSFET)
supply for Arduino 5v from (Hi-Link)
supply 12 v on pin 4 (Anode) of pc817 to driving the gate of the MOSFET.
the ground of Arduino completely separated from the ground of 12v driving circuit.
230 Vdc was regulated from 220 v ac using kbl406 and 220 uf/450v capacitor.
please see the attachments.
TapScanner 03-18-2021-13.38.pdf (182 KB)