Click here to Skip to main content
15,891,981 members

Comments by Emrah Duatepe (Top 12 by date)

Emrah Duatepe 24-Nov-19 4:32am View    
Yes ,you are right.chinese products have usually bad source.
Emrah Duatepe 10-Oct-19 1:37am View    
the code that I indicate above is not good approach already wrong.I am trying to create a table related with motor moving and encoder values to open phases in right sequence.Because of encoder resolution I get resolution error.60 electrical degree for 20 poles motor for 60 electrical degree equals 8.53333 encoder value.Totally electrical degree is 20*360 for 20 poles,but formula say (20/2)*360 ? I am confused.20 poles means 20 magnetic and every magnetic creates one 360 electrical degree.
Emrah Duatepe 9-Oct-19 5:48am View    
every 6 mechanical degree equals 60 electrical degree according to 10 poles motors,so for encoder max 1024 counting, 360/1024 = 0.3515625 and 6 mechanical degree equals about 17 encoder value.I am gonna try to make an encoder maps like

1,2,3 encoder value is corresponding table[1],table[2],table[3] = activate A and C phases like that probably it works table[18] = activate different phases.
Emrah Duatepe 17-Jul-18 12:50pm View    
Okay ,thank you for information.
Emrah Duatepe 16-Jul-18 16:32pm View    
I mean , malloc and calloc function cause a fragmentation if free() that memory.If I use these code unless free().Will I encounter any problem I wonder.