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 03-24-2006, 04:30 PM
 
Join Date: Feb 2006
Location: Norway
Posts: 29
b_cybe is on a distinguished road
connecting PICStep 4.0 to pminmo's interface...

Have ordered some PCB for the PICStep and the 4 axis interface from pminmo's site. I am know a bit unsure how to connect them... well I think I know how to but some question still remains. Have made a little jpg on how I plan to connect them.


But what do I connect the Enable (Brake) to? And another thing I wonder about, can't I take the +5V regulated from the 7805 on the interface and use it on the PICStep? The last thing I wonder is how do I set up Estop on the interface, in the documentation it stands something about Estop terminal but where is that? And he also says something about that I have to add a jumper on pad J or L (???), but I don't make any sense of it... would be gratfull if someone explained these things!
Tweet this Post!Share on Facebook
Reply With Quote

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

Usually my recommendation on the Enable/Brake is to jumper them together and run them to pin 14 of the DB25 on the interface, use pin14 as a drive enable then, lo is enabled. But per your diagram you need to add a wire to pin 1 of the picstep to pin1 of the associated axis connector.

Yes you should be able to use the 5V on the interface to run the PICstep logic. However, it does depend on the wiring. Don't route the 5V wires next to motor wiring.
Make sure you use a star ground wiring scheme.

Estop- two simple single pole normally open switches. The contacts of one wire to X6, when you press the switch is sets a latch. Wire a second switchs contacts to X7, that is a reset switch. So you hit one to set and latch, the reset when you want to unlatch.

At this point that doesn't do anything except illuminate or turn off LED7. Pads J and L are the outputs of the latch circuit. The are the opposite of each other signal wise. i.e. one will be 4+VDC when the other is near 0VDC, and in the other state they are opposite. Depending on what you want to do, you can wire either pad to pin16 of the db25 for example for the computer to see. You can wire one to a small 5V relay in your chassis to shut things down, or break the enable signal to all the motor drives...

It's quite flexable, which makes it more complicated.......
__________________
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 03-25-2006, 05:04 PM
 
Join Date: Feb 2006
Location: Norway
Posts: 29
b_cybe is on a distinguished road

Thx for the help!
Ok... have updated my drawing. Have fitted in the estop and a relay to shut down the router. And tried to clean up the wiring some...

Star ground? I tought the gnd of the interface and the PICStep already were connected? (You have to pardon me if I have misunderstood, I am not to known with the star ground name....).
Do you mean it is a "advantage" to use an external 5V power supply for the PICStep?
Could the 5V from the interface be connected as shown on the new dawing?

Have also connected the Estop, and have wired a relay to pad L, this will activate the coil in the relay so that once the latch is set the router will stop (hopefully...). Since COM (on the relay...) are connected to NC only when the coil is off (wich it should be when pad L are 0V), dont know if I should connect any to NO on the relay though...

I have also connected the Enable/Break for all the PICStep input to pin 14....



edit: I see now that I forgot to add a connection between the 5V on the interface and the PICStep, is it just to add a wire from +5V on the interface to +5V on the PICStep, or do I need to do something "special", a bit confused on this since you say it depends on the wiring...
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 03-28-2006, 02:22 PM
 
Join Date: Feb 2006
Location: Norway
Posts: 29
b_cybe is on a distinguished road

Found a 5V relay laying around together with some else electronic components, so I thought I should check it out that my relay coupling would work. So I an hurry I connected a 9V power supply to a 7805 and applied 5V to the coil in the relay. Then I had connection between COM an NO, but when I removed the 5V I had connection between COM and NC, so I think I have wired that part correct (I hope...). I will guess that by time I propably wire from one of the pads to the pin 14 on the DB25, but in the start I think it is most important that I can stop the router. I will add the connection to the PC afterwards as I get more experience on the program I am going to use....

I am still a bit unsure if the wiring from my last post is fully correct though...
Tweet this Post!Share on Facebook
Reply With Quote

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

Sorry,
I must have missed the last post. There are so many on the zone here these days (Good thing) it is kind of easy to miss one. I'm better about catching them on my website board: http://www.pminmo.com/phpBB/
Actually the one side of the realy coil should go to 5V and pad L is mean to switch to ground. Make sure the coil current of the relay isn't greater than 200ma of the 2N3904.
__________________
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

Sponsored Links
  #6   Ban this user!
Old 03-28-2006, 07:20 PM
 
Join Date: Feb 2006
Location: Norway
Posts: 29
b_cybe is on a distinguished road

Thats ok I guess you have many post to reply to, I will begin to post on your forum when I start assembling and test it (I am pretty sure it will be some questions at those stages too...). Anyway if I think correctly I can find the coil current by measuring the resistance in the coil and then use Ohms law to calculate the current of my relay.
R= 73,4 Ohm
V=RI
5V=73,4*I => I=68mA
Well it can be a bit higher because my multimeter doesn't get a 100% correct reading but it will not be 200mA...

Have made another version (pretty much the same exept from the coupling to the relay...).


I hope this one is correct. Now when the ESTOP is activated there will be 5V over the coil wich will swith the coil on, and this will connect COM to NO and shut down the router/dremel (propably dremel in the start...). When the ESTOP is reset there should be 0V over the coil and it is then off and COM is then connected to NC wich should reactivate the router/dremel...
Tweet this Post!Share on Facebook
Reply With Quote

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

Looks correct.
__________________
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

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 06:30 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