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 05-28-2005, 08:43 PM
 
Join Date: Jul 2003
Location: USA
Posts: 271
randyf1965 is on a distinguished road
Picstep problems continue

I had 2 boards working with my 2 good pic's.. replaced the bad one. Tried to put my breakout board (non OPTO) in place. NOTHING works. I can see the step and direction signal come from the breakout board to the picstep. If I short S1 on the breakout board I get 2 of the led (2 led wired opposite with a resistor to limit current)to dimly light. tried 3 board 4 pic's same issues.

I have also removed the breakout board and wired
parallel pin 2 to picstep pin 7
parallel pin 3 to picstep pin 8
5v to picstep pin 1
gnd to picstep pin 10
gnd parallel pin 22

same thing is seen on output.

thought I was on a roll after the laser printer pc board etching worked so well.... but all has gone rapidly downhill from there,
Tweet this Post!Share on Facebook
Reply With Quote

  #2  
Old 05-29-2005, 06:39 AM
jerber's Avatar
Gold Member
 
Join Date: Nov 2004
Location: Netherlands
Posts: 140
jerber is on a distinguished road

When I wired my 1st board to my parallel port, I found out that you have to connect pin 3 (enable/brake) to the +5V.

Are you also sure that you programmed your pic's the right way ?
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 06-04-2005, 03:12 AM
 
Join Date: Jul 2003
Location: USA
Posts: 271
randyf1965 is on a distinguished road

I found I have to GROUND pin 3 on th epicstep board... All 3 of my boards work GREAT hard wired to the parallel port.... my breakout board had MAJOR issues... only works 1 direction (and it stutters that direction) BUT it turned out to be the 5v line!
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 06-04-2005, 03:52 AM
 
Join Date: Jul 2003
Location: USA
Posts: 271
randyf1965 is on a distinguished road

Man... doesn't take long for your jaws to start hurting watching 3 steppers spin as you run a test.nc file thru turbo cnc while grinning like a madman!

WOOHOOO!!!!!!
Tweet this Post!Share on Facebook
Reply With Quote

  #5  
Old 06-04-2005, 06:37 AM
jerber's Avatar
Gold Member
 
Join Date: Nov 2004
Location: Netherlands
Posts: 140
jerber is on a distinguished road

Originally Posted by randyf1965
I found I have to GROUND pin 3 on th epicstep board... All 3 of my boards work GREAT hard wired to the parallel port.... my breakout board had MAJOR issues... only works 1 direction (and it stutters that direction) BUT it turned out to be the 5v line!
You're right, you have to connect enable (pin 3) to the ground.
I also had problems with my homebuild (I actualy build it at my work) opto-break out board. The picstep runned fine without it but wouldn't move when connected to my board. After using a scope I found out that you have to use (very) fast optocouplers for the step signals. For the other pins the optocouplers don't have to be fast because they just act as swithes. If you're using PWM for spindlespeeed control (Mach2/3) then that pin needs a fast(er) optocoupler too.
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 06-09-2005, 03:07 AM
 
Join Date: Nov 2004
Location: UK
Posts: 65
da21 is on a distinguished road

Originally Posted by jerber
You're right, you have to connect enable (pin 3) to the ground.
I also had problems with my homebuild (I actualy build it at my work) opto-break out board. The picstep runned fine without it but wouldn't move when connected to my board. After using a scope I found out that you have to use (very) fast optocouplers for the step signals. For the other pins the optocouplers don't have to be fast because they just act as swithes. If you're using PWM for spindlespeeed control (Mach2/3) then that pin needs a fast(er) optocoupler too.
which opto's did you use
Tweet this Post!Share on Facebook
Reply With Quote

  #7  
Old 06-10-2005, 10:00 AM
jerber's Avatar
Gold Member
 
Join Date: Nov 2004
Location: Netherlands
Posts: 140
jerber is on a distinguished road

Originally Posted by da21
which opto's did you use
The opto's I use are PC910's, from sharp, for the three step signals and ISP521's for the other pins.
__________________
____________________________________
Jeroen
Tweet this Post!Share on Facebook
Reply With Quote

  #8   Ban this user!
Old 06-11-2005, 04:13 AM
10bulls's Avatar  
Join Date: Feb 2005
Location: UK
Posts: 502
10bulls is on a distinguished road

hey jerber!
What pulse width can you go down to? (in Mach2?)...My Fairchild optos are good for down to 4us, but any lower than that and they 'fail to proceed'.
Tweet this Post!Share on Facebook
Reply With Quote

  #9  
Old 06-11-2005, 06:36 AM
jerber's Avatar
Gold Member
 
Join Date: Nov 2004
Location: Netherlands
Posts: 140
jerber is on a distinguished road

Originally Posted by 10bulls
hey jerber!
What pulse width can you go down to? (in Mach2?)...My Fairchild optos are good for down to 4us, but any lower than that and they 'fail to proceed'.
According to the datasheet they can handle a pulsewidth of approximately 200 nS, that's fast enough for the 45 kHz Mach2 can pulse out. However I can't seem to drive my steppers, I tested 4 different models so far, any faster than 6 kHz from Mach2, but that's ok for me.

I also played with a hcpl053l (a dual 050l) wich is a SMD 3.3V type but worked nevertheless.
__________________
____________________________________
Jeroen
Tweet this Post!Share on Facebook
Reply With Quote

  #10   Ban this user!
Old 07-09-2005, 01:33 AM
frog's Avatar
Dream outside the Box
 
Join Date: Jun 2005
Location: USA
Posts: 83
Blog Entries: 1
frog is on a distinguished road

I have a question does anyone have experience with 16f84a as a stepper controller I have built my own design and when I up the voltage to 40 volts with 4.1 volt 1.1amp steppers my micros scramble and I have to reprogram them I have diodes out the gazu to stop this I have been working on this night and day for 1 month built the whole thing from scratch it works ok at 5 volts but looses sync on y axis it has to be something simple any help would be appreciated do I need to couple the power pins on the micro with pico caps help me sombeody loosing my hair. are these motors big enough for an 18'' x 18" mill when they are working you cant stop them then they start to stutter then I have to reprogram the chip.I am using a hex buffer in from of tip 122 unipolar motors.
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 07-11-2005, 05:11 AM
10bulls's Avatar  
Join Date: Feb 2005
Location: UK
Posts: 502
10bulls is on a distinguished road

Originally Posted by jerber
According to the datasheet they can handle a pulsewidth of approximately 200 nS,...
I think the datasheet is times are when the input signal is a nice buffered 5V signal.

The signal from the parallel port will typically be a little over 3V, with a lot of
capacitance from the parallel port leads. Alan's circuit was designed so a separate PC side power supply was not required, so he couldn't buffer the inputs. I have attached a trace of an opto output during stepping.
I think this was a 7 or 8uS pulse width.
As you can see, the signal is still pretty low at 2-3uS.
Attached Thumbnails
Click image for larger version

Name:	trace.png‎
Views:	73
Size:	2.8 KB
ID:	8685  
Tweet this Post!Share on Facebook
Reply With Quote

  #12   Ban this user!
Old 07-12-2005, 02:24 AM
abasir's Avatar  
Join Date: Apr 2003
Location: Malaysia
Posts: 361
abasir is on a distinguished road

Originally Posted by frog
I have a question does anyone have experience with 16f84a as a stepper controller I have built my own design and when I up the voltage to 40 volts with 4.1 volt 1.1amp steppers my micros scramble and I have to reprogram them I have diodes out the gazu to stop this I have been working on this night and day for 1 month built the whole thing from scratch it works ok at 5 volts but looses sync on y axis it has to be something simple any help would be appreciated do I need to couple the power pins on the micro with pico caps help me sombeody loosing my hair. are these motors big enough for an 18'' x 18" mill when they are working you cant stop them then they start to stutter then I have to reprogram the chip.I am using a hex buffer in from of tip 122 unipolar motors.
Switching 40V@1.1A will cause a lot of electrical noise. Apart from bypass caps on the PIC supply (about 100nF), you may need a larger filtering capacitor on your power supply. Also the PCB layout is also crucial. Wire the supply in star configuration.

Maybe start a new thread to avoid hijacking the original thread on PICStep
__________________
Stupid questions make me smarter...
See how smart I've become at www.9w2bsr.com ;-P
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
Open Source Compatable PICstep pminmo Open Source Controller Boards 0 06-11-2005 12:04 PM
Picstep problems continue randyf1965 PicStep Controllers 0 05-28-2005 05:04 PM
PicStep useage questions randyf1965 PicStep Controllers 12 05-25-2005 03:33 PM
Picstep board voltage question dberndt Stepper Motors and Drives 1 01-15-2005 11:34 PM
Accuracy problems i228208 General CAM Discussion 26 05-30-2004 02:31 PM




All times are GMT -5. The time now is 11:02 PM.





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