Hello everyone ! I’m a student and i have got a college project about speed Subjugation of a DC Motor ( 60V ) , so i got a PWM speed controller for the task ... this speed controller includes a physical 100kohm pot to control the PWM modulation ( 100kohm = 0V = 0 RPM , 50kohm = 2,5V = 5000 RPM )
so the problem is that i burned the circuit while manipulating because i took off the original pot and inserted the 3 wires to the NI card which is 6024E series.
So i bought a digital pot to replace the old one and make it more secure, now i’m stuck on how to make a loop to control this digital pot in order for it to send the correct voltage ( i’m using an optosensor on Motor shaft in order to get the instant speed value and compare it with a give value that the user chooses before running the loop)
i really need help i have a week to make this work !!!
thanks for listenting.