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-01-2006, 05:07 PM
 
Join Date: Nov 2005
Location: In US working but from UK
Posts: 42
barmybovine is on a distinguished road
Trouble getting Picstep to run...HELP Please

Hey all

OK I have built 4 picstep boards and a 4 axis interface. I am trying to verify that the pic steps work on their own before hooking up the interface. I cannot get it to work

I currently have a a cable setup to test them as shown in this link

http://pminmo.com/troubleshoot.htm

I have it wired as a bipolar. With the enable and dir pins both going permanently to ground and a N.O. switch on the step pin. I have an external +5v supply to the pics and about 30V top the motors. I have tried several of the boards and have the same symptoms on each board. I am using Pic 16f628A i/p chips which I believe should work ....correct?

The symptoms are as follows when programmed with the 20 Mhz codes using the default settings when programming the chips ie. HS oscillator WDT,PWRT and BODEN enabled and everything else disabled
it programs and verifies fine.

When I fire up my power supplies I get a quick vibration from the motors then nothing switch the step seems to do nothing also the motors are not locked in position as I can easily rotate the shaft. As I turn off the 5volt supply I get the same motor vibration. I have also tried pulling the Xtal and caps and programming the 4Mhz codes both have the same symptoms. Just for a laugh I tried programming the pic using ExtClk as the oscillator and this makes the motors go crazy ....randomly vibrating and spinning with the step pin seemingly having no effect on the motors conditions.

Like I say I get the same symptoms on multiple boards so dont think its a problem with the PCB's themselves. Any input would be GREAT....I have been building my machine for 6 months and was REALLY hoping to get it moving under NC control this weekend.

Thanks guys

Scott
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 04-01-2006, 06:11 PM
pminmo's Avatar  
Join Date: Jun 2003
Location: St. Peters, Mo USA
Age: 59
Posts: 3,325
pminmo is on a distinguished road

which version of the picstep? did you select current limiting resistors to match your motor requirements?
__________________
Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
Vist my websites - http://pminmo.com & http://millpcbs.com
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 04-01-2006, 07:27 PM
 
Join Date: Nov 2005
Location: In US working but from UK
Posts: 42
barmybovine is on a distinguished road

Thanks for the reply

Version 4.0. I am going to try interface to your 4 axis bard once I get the pisteps working

I have 2 X 7.15K resistors installed in each board to run my 2.8A motors

Thanks
Scott
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 04-01-2006, 07:48 PM
pminmo's Avatar  
Join Date: Jun 2003
Location: St. Peters, Mo USA
Age: 59
Posts: 3,325
pminmo is on a distinguished road

Did you realize the orientation of the 10 pin connector on the V4 is 180 degrees different than my boards?
__________________
Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
Vist my websites - http://pminmo.com & http://millpcbs.com
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 04-01-2006, 07:56 PM
 
Join Date: Nov 2005
Location: In US working but from UK
Posts: 42
barmybovine is on a distinguished road

yes i made sure to match up the pins between boards. I am not using an IDC cable. I am using a 5 pin connector to wire in enable\dir\step\GNd and +5V

At the moment I am trying to get the pics running without the interface and just using the same 5 pin cable with an IDC header plugged in one end so I could short enable and dir to GND whilst having a N.O. switch wired between the step pin and GND


Thanks
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 04-01-2006, 08:08 PM
pminmo's Avatar  
Join Date: Jun 2003
Location: St. Peters, Mo USA
Age: 59
Posts: 3,325
pminmo is on a distinguished road

What is your power supplies current capability?
It sounds like you don't have the motors enabled, since your motor can freely turn with power on. Any pictures ? maybe there is a clue that would be visable.
__________________
Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
Vist my websites - http://pminmo.com & http://millpcbs.com
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 04-01-2006, 08:16 PM
 
Join Date: Nov 2005
Location: In US working but from UK
Posts: 42
barmybovine is on a distinguished road

I am using a bench supply that can do about 8 amps @30V I dont have pics.
My camera is at work but I could run and grab it if needed. I should take enable LO ...correct?

Thanks
Tweet this Post!Share on Facebook
Reply With Quote

  #8   Ban this user!
Old 04-01-2006, 08:20 PM
 
Join Date: Oct 2005
Location: USA
Posts: 208
southernexplore is on a distinguished road

He may need to enable the pic. That was my problem when I first started.
Tommy C.
Tweet this Post!Share on Facebook
Reply With Quote

  #9   Ban this user!
Old 04-01-2006, 08:39 PM
pminmo's Avatar  
Join Date: Jun 2003
Location: St. Peters, Mo USA
Age: 59
Posts: 3,325
pminmo is on a distinguished road

Tommy, not sure what you mean? The Brake/Enable on pin 1? Does you have to set a 628A's clock source when you program it? I'm not a PIC kind of guy........Not yet anyway.
__________________
Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
Vist my websites - http://pminmo.com & http://millpcbs.com
Tweet this Post!Share on Facebook
Reply With Quote

  #10   Ban this user!
Old 04-01-2006, 08:49 PM
 
Join Date: Nov 2005
Location: In US working but from UK
Posts: 42
barmybovine is on a distinguished road

same here o the pics. I checked into that and by default as you load the HEX code into ICPROG it selects HS as the oscillator. I believe that to be an external clock above 4Mhz . I have tried running at 4mhz with the 4mhz code and the Xtals removed but still the same. I get the motors to vibrate and turn but in a random fashion when I select ExtClk as my oscillator during pic programming. When programmed this way , if I pull the enable pin from my connector the motor stops all together and can be rotated once I reconnect the enable line the motor starts to freak out again so I believe I have enabled the motor by taking the enable line LO

I feel like it is something simple stopping them I just cant figure it out.

Thanks guys
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 04-01-2006, 09:06 PM
pminmo's Avatar  
Join Date: Jun 2003
Location: St. Peters, Mo USA
Age: 59
Posts: 3,325
pminmo is on a distinguished road

Right off the top of my head, I don't have any suggestions. Maybe somebody that uses a PICstep.
__________________
Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
Vist my websites - http://pminmo.com & http://millpcbs.com
Tweet this Post!Share on Facebook
Reply With Quote

  #12   Ban this user!
Old 04-01-2006, 09:31 PM
 
Join Date: Oct 2005
Location: USA
Posts: 208
southernexplore is on a distinguished road

When I started I did not know anything about any of this either. Through trial and error I was able to get mine going and they run great now. I did let some smoke out a few times but when I learn the hard way I usually do not forget.

My boards would not run until I ran a jumper on the 4 axis BOB to pin 1 on the 10 pin connector. I believe it has to be pulled low to run, if my memory serves me correctly. Also be sure and use the std firmware because the hi torque version did not work for me.

Tommy C.
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





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