CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > Electronics > PIC Programing / Design


PIC Programing / Design Discuss programing of PIC chips here and design of electronics using PIC chips.


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #97   Ban this user!
Old 12-01-2008, 10:54 PM
pminmo's Avatar  
Join Date: Jun 2003
Location: St. Peters, Mo USA
Age: 59
Posts: 3,325
pminmo is on a distinguished road

The file Sstepper4-7.asm.txt‎ is a wave drive piece of code, thats all.
__________________
Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
Vist my websites - http://pminmo.com & http://millpcbs.com
Reply With Quote

  #98   Ban this user!
Old 12-01-2008, 11:12 PM
 
Join Date: Aug 2006
Location: USA
Posts: 2,624
kreutz is on a distinguished road

Originally Posted by student1616 View Post
at first i think of same.but micro stepping works.i tried and i can see the change in stepping pattern(imean microstepping) i have no idea how it works :-)
but the only problem i felt is current regulation and mosfet burn out.if i can solve these 2 issues,i can give full results.
and i think ur right kreutz.may be PIC is not switch on and off the mosfet completely.during microstepping that's why they are blowing out.

and what abt current regulation.how to calculate the current limiting resistor value
One way you can see micro-stepping in action is by using a fixture similar to my micro-stepper accuracy test fixture, a laser pointer mounted perpendicular to the motor axle and on its center, and projecting the laser light about 10 feet away. Otherwise you would not be able to discern them from a 90 degrees of a full step (0.045 degrees mechanical) or a complete full step (1.8 degrees mechanical on a 200 full steps per rev stepper motor).

A full step sequence is made of 4 movements, hence the 0.045 degrees per movement, if you are able to discern finer than that (micro-stepping) without an instrument, you really have an exceptionally good eyesight. Congratulations!!

The current limit resistors' value is calculated the following way:
R >= (Vps - Vmotor)/Imotor

Resistor power rating calculation:

P >= 2*(Imotor * Imotor * R)

Where P = resistor power rating in watts, use next commercial value equal or higher than the calculated value.
Imotor is the maximum specified current for your motor
Vps is the power supply voltage
Vmotor is the specified motor winding voltage
R is the value of external resistor in ohms, approximate to the nearest commercial value equal or higher than the value calculated.

You could use 2 resistors (in series respectively to the center tap of the phase windings for 6 wires motors) or 4 resistors (one respectively in series with each coil winding for 8 wires motors).

My 2 cents: if you are doing this for learning , please, continue spending money on parts and further experimentation. I also advise to read more about stepper driving at: http://www.cs.uiowa.edu/~jones/step/ in order to understand what you are seeing. If you want real micro-stepping results, please, use the original lini-stepper schematics and give it a try, you already have half of the parts for it.
Reply With Quote

  #99   Ban this user!
Old 12-01-2008, 11:55 PM
 
Join Date: Jan 2007
Location: US
Posts: 100
student1616 is on a distinguished road

Thanks kreutz
thanks for the detailed resistance calculation.

and i placed a clip over my motor shaft.(which is 3'' in length) to observe microstepping.
it might not be correct.but i can see the difference between full stepping and other micro stepping modes.and i used both 7.5 and 1.8 degree motors for this trial.

and as i said before original linistepper is sure a GEM.i also build the posix version for my small mill and still its working like charm.thanks guys..
mean wile i am just looking around and trying to build other controllers too(particularly with micro stepping)
Reply With Quote

  #100   Ban this user!
Old 12-02-2008, 07:49 AM
 
Join Date: Aug 2006
Location: USA
Posts: 2,624
kreutz is on a distinguished road

Originally Posted by student1616 View Post
...... i am just looking around and trying to build other controllers too(particularly with micro stepping)
Well you can also check the following links: www.pminmo.com and
http://mardus-kreutz.blogspot.com/ if you want to learn a little more about other DIY micro-stepper drives.
Reply With Quote

Sponsored Links
  #101   Ban this user!
Old 04-04-2009, 02:52 AM
 
Join Date: May 2007
Location: india
Posts: 3
vishal pandey is on a distinguished road
Talking help me

i have bild stepper driver using pic 16f84a & 122 transister for 12v stepper motor .
but i have 90v ,5A stepper motor any one can me send good idea to bild 90v ,5a stepper motor driver


thanks
Reply With Quote

  #102   Ban this user!
Old 10-19-2009, 02:25 PM
 
Join Date: Jun 2005
Location: South Africa
Age: 57
Posts: 44
aubrey is on a distinguished road

Hi All
Has anyone thought of making up some of these (hex code debugged) for sale?
What will 3 cost?
Full step will give me a resolution of 0.01mm which for my needs is sufficient.
(its a hobby machine lol. who needs micron resolution?)
I tried to diy drivers but all I got was expensive smoke - no more for me.

Last edited by aubrey; 10-19-2009 at 02:26 PM. Reason: spelling
Reply With Quote

  #103   Ban this user!
Old 10-20-2009, 02:46 PM
James Newton's Avatar  
Join Date: May 2005
Location: USA
Posts: 756
James Newton is on a distinguished road
Buy me a Beer?

Originally Posted by aubrey View Post
Hi All
Has anyone thought of making up some of these (hex code debugged) for sale?
What will 3 cost?
Full step will give me a resolution of 0.01mm which for my needs is sufficient.
(its a hobby machine lol. who needs micron resolution?)
I tried to diy drivers but all I got was expensive smoke - no more for me.
It's all available at http://www.linistepper.com
Reply With Quote

  #104   Ban this user!
Old 10-20-2009, 11:34 PM
 
Join Date: Jun 2005
Location: South Africa
Age: 57
Posts: 44
aubrey is on a distinguished road
Thanks

Thanks James
See you also have the gadget that goes between them and the pc.:
I just had a quick look but will check out the whole site over the weekend.
All the best
Aubrey
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Lini-Stepper Revisited ( hacked ) kowell PIC Programing / Design 0 06-29-2007 06:12 AM
My hacked HP printer flatbed Graham S General Electronics Discussion 7 06-02-2007 05:31 PM
Lini Mod OCNC PIC Programing / Design 0 07-24-2006 10:19 PM




All times are GMT -5. The time now is 03:48 AM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361