electronicsman
Full Member level 5
Hi, for understanding purpose i have done the following to drive a motor. Please tell me which portions are absolutely wrong and which are to be modified. I have created a sine look up table and in a timer interrupt of 10ms i am loading one value each upto 256. So it is a kind of from 0 degrees to 360 degrees so one degree each every 10ms interrupt. To drive the legs for switching a vague method i have created is calculate the difference between previous voltage to present voltage and increase the duty cycle by some value of 20. I plan to change this switching sequence. I can see the motor rotating. Please suggest.