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 > PicStep Controllers


PicStep Controllers Discuss PicStep Controllers here!


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 04-21-2005, 05:54 PM
 
Join Date: Jul 2003
Location: USA
Posts: 271
randyf1965 is on a distinguished road
PicStep useage questions

ok, troubleshooting my 2 axis controllers that don't work

Thought I had 1 axis working but in further testing using Mach2 the stepper just vibrates back and forth never making a complete rotation.



4 wire stepper on a picstep 3.05 (3.0 - led's and resistors)
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 04-21-2005, 07:16 PM
Garfield2's Avatar  
Join Date: Sep 2004
Location: Australia
Posts: 232
Garfield2 is on a distinguished road
Originally Posted by randyf1965
ok, troubleshooting my 2 axis controllers that don't work

Thought I had 1 axis working but in further testing using Mach2 the stepper just vibrates back and forth never making a complete rotation.



4 wire stepper on a picstep 3.05 (3.0 - led's and resistors)

Dumb question, are you sure you have your motors wired the right way? If one of the coils is back-to-front to the other the motor will not rotate but just sit there and buzz.

Alan.
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 04-21-2005, 07:44 PM
 
Join Date: Jul 2003
Location: USA
Posts: 271
randyf1965 is on a distinguished road
The motor I am using is a Mitsumi stepper from an old dot matrix printer. wires 1&2 are 10ohms and 3& 4 are 10 ohms.

I have tried wire 1 on a2out and wire 2 on a1out and 3&4 on b2out & b1out.

I have mach2 setup so the pulse count is low, it make what appears to be 2 steps clockwise then 2 steps counter clockwise
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 04-21-2005, 07:51 PM
Garfield2's Avatar  
Join Date: Sep 2004
Location: Australia
Posts: 232
Garfield2 is on a distinguished road
Originally Posted by randyf1965
The motor I am using is a Mitsumi stepper from an old dot matrix printer. wires 1&2 are 10ohms and 3& 4 are 10 ohms.

I have tried wire 1 on a2out and wire 2 on a1out and 3&4 on b2out & b1out.

I have mach2 setup so the pulse count is low, it make what appears to be 2 steps clockwise then 2 steps counter clockwise

Yes, it sounds very much like one coil is back-to-front. You have currently

1 - a2out
2 - a1out
3 - b2out
4 - b1out

Have you tried:-

1 - a1out
2 - a2out
3 - b2out
4 - b1out

Or one of your LMD's isn't working correctly so only one coil is being energized, but the fact that it's stepping on each pulse means it's likely to be a cabling issue.

Try all this in FULL step mode (eg all mode lines shorted to ground) before venturing into the microstepping modes.

Alan.
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 04-21-2005, 08:33 PM
 
Join Date: Jul 2003
Location: USA
Posts: 271
randyf1965 is on a distinguished road
in full step

When I jog left it buzzes slow (steps per unit 100) but when I jog right it buzzes so much faster (so fast it look stopped until I hold onto the gear then I feel it moving back and forth)



Any troubleshooting tips for a 'scope poor person?
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 04-21-2005, 08:45 PM
Garfield2's Avatar  
Join Date: Sep 2004
Location: Australia
Posts: 232
Garfield2 is on a distinguished road
Originally Posted by randyf1965
in full step

When I jog left it buzzes slow (steps per unit 100) but when I jog right it buzzes so much faster (so fast it look stopped until I hold onto the gear then I feel it moving back and forth)



Any troubleshooting tips for a 'scope poor person?
Without a scope go back to the 'old school' method and use a multimeter to buzz out all the tracks on the boards vs the schematic. Once that's done, buzz out all the tracks on the interface board. Then finally verify all the pins in the cables from the interface to the driver are correct, and also the cable from the interface to the parallel port.

Make sure there are no shorts on your boards, and also check there are no breaks in any of the traces. Failing all that and there still isn't an apparent problem, what model PIC uC's are you using (are they 16F628A's?).

Then finally, try another motor..

Alan.
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 04-21-2005, 09:37 PM
 
Join Date: Jul 2003
Location: USA
Posts: 271
randyf1965 is on a distinguished road
Argh! I give up!!!!!

I reflowed some solder joints that didn't look good.... now it doesn't work. seeing the same resistance readings as my other 2 boards!!!

example gnd to R5 was 10k now 3 meg

I can trace the 5volt and 12 (my stepper voltage) around the board but haven't had time to sit down and theoritically figure voltage drops, etc .

Anyone have this circuit in a simulator that could be used to produce test points for a given voltage?

I have checked for shorts and traced out the board. without a known good board to get readings off I don't know how the lm18245 and the pic react to taking resistance readings

Are the LM18245's very susceptible to static damage in circuit?

Pic's are 16f628a's and I have tried 3 different motors... same buzzing
Tweet this Post!Share on Facebook
Reply With Quote

  #8   Ban this user!
Old 04-22-2005, 03:23 AM
 
Join Date: Nov 2004
Location: UK
Posts: 65
da21 is on a distinguished road
Originally Posted by randyf1965
Argh! I give up!!!!!

I reflowed some solder joints that didn't look good.... now it doesn't work. seeing the same resistance readings as my other 2 boards!!!

example gnd to R5 was 10k now 3 meg

I can trace the 5volt and 12 (my stepper voltage) around the board but haven't had time to sit down and theoritically figure voltage drops, etc .

Anyone have this circuit in a simulator that could be used to produce test points for a given voltage?

I have checked for shorts and traced out the board. without a known good board to get readings off I don't know how the lm18245 and the pic react to taking resistance readings

Are the LM18245's very susceptible to static damage in circuit?

Pic's are 16f628a's and I have tried 3 different motors... same buzzing

try altering the tuning of the motors in mach2 , if using the jog function in cont mode , by pressing the direction key the motor moves one step each time you press in the same direction then your motors are correct , however
stepper motors need to be tuned to get the best step rate you may be , this is just trial and error but try first of all lowering the speed right down , then if all is ok , bring the slider up bit by bit untill the motor shudders , you then have passed the optimun point , so just bring it back down untill it runs again

i would check the pcb resistance readings without the pic in place
it's much easier .

if you have MSN etc perhaps we can talk you through checking it
although i am in the UK

Dave
Tweet this Post!Share on Facebook
Reply With Quote

  #9   Ban this user!
Old 04-22-2005, 03:23 PM
 
Join Date: Jul 2003
Location: USA
Posts: 271
randyf1965 is on a distinguished road
What is the time dif between Chicago IL USA and there 6 hours ahead?

Not bad. I will be online tonight until it works or I pass out! whichever comes first.

I think I will desolder the 2 lm18245's and ohm out everything

Is the buzz that normally happens the stepper stepping clockwise then counterclockwise? Tha tis what was happening to me it appeared to be 1 step clockwise then like 1/2 a step clockwise and 1/2 counterclockwise then 1 step counter followed by a 1/2 counter the clockwise step... repeated over and over

I adjusted the accel slider and velocity
Tweet this Post!Share on Facebook
Reply With Quote

  #10   Ban this user!
Old 04-22-2005, 10:41 PM
 
Join Date: Jul 2003
Location: USA
Posts: 271
randyf1965 is on a distinguished road
If I press the 6 key to move to the right, I get 1 pulse in the proper direction then next press moves the opposite way.

Glad my PicStep thread got moved to the SERVO group!

Last edited by randyf1965; 04-23-2005 at 12:37 AM.
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #11  
Old 04-24-2005, 04:34 PM
MrBean's Avatar
Gold Member
 
Join Date: Oct 2003
Location: UK
Posts: 593
MrBean is on a distinguished road
What do you have "Velocity" set to, in Mach2?
Tweet this Post!Share on Facebook
Reply With Quote

  #12   Ban this user!
Old 04-25-2005, 06:38 AM
 
Join Date: Jul 2003
Location: USA
Posts: 271
randyf1965 is on a distinguished road
the back and forth motion was a problem with the pic. I have 4 pics and 2 of them cause the same back and forth issue.

Now the stepper moves smoothly 1 direction but rough and missing steps the other direction.

Any idea why that would happen?
Tweet this Post!Share on Facebook
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 On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
a million questions about starting cnc Data General Metal Working Machines 28 04-14-2008 12:49 PM
Picstep problems continue randyf1965 PicStep Controllers 11 07-12-2005 02:24 AM
Picstep problems continue randyf1965 PicStep Controllers 0 05-28-2005 05:04 PM
Some Gecko 201 Questions mikie Gecko Drives 3 08-10-2004 12:40 AM
A few honest questions HuFlungDung CamSoft Products 8 06-15-2004 07:24 PM




All times are GMT -5. The time now is 09:09 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