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! > WoodWorking Machines > DIY-CNC Router Table Machines


DIY-CNC Router Table Machines Discuss the building of home-made CNC Router tables here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 03-07-2010, 03:18 AM
 
Join Date: Sep 2008
Location: Australia
Posts: 25
cjgaus is on a distinguished road
emc2 setup with uln2803

Hey all i have built the following controller board

http://www.luberth.com/plotter/ditwasplotter.htm

I was hoping someone here could help me with step by step instructions on getting my emc2 configured.

Cheers
Reply With Quote

  #2   Ban this user!
Old 03-07-2010, 03:42 AM
 
Join Date: Jul 2008
Location: UK
Age: 54
Posts: 411
irving2008 is on a distinguished road

Originally Posted by cjgaus View Post
Hey all i have built the following controller board

http://www.luberth.com/plotter/ditwasplotter.htm

I was hoping someone here could help me with step by step instructions on getting my emc2 configured.

Cheers
i dont think you can. That controller (it isnt really, the ULN2803 is a buffer/driver) assumes the PC generates all the stepper motor signals for each coil, not step and direction signals which is what proper drivers use and EMC2 generates..
__________________
If you're in Europe why not come and visit the UK CNC Community at http://www.mycncuk.com
Reply With Quote

  #3   Ban this user!
Old 03-07-2010, 03:50 AM
 
Join Date: Sep 2008
Location: Australia
Posts: 25
cjgaus is on a distinguished road
reply

i found this following site on the web which shows u how to build a etch a sketch plotter using the uln2803 chips and emc2 but they had problems using just emc2 they also used axis. I have emailed asking for more information on axis with no luck of a reply. Anyways here is the link for you to check out.

http://axis.unpy.net/etchcnc
Reply With Quote

  #4   Ban this user!
Old 03-07-2010, 05:22 PM
 
Join Date: Sep 2008
Location: Australia
Posts: 25
cjgaus is on a distinguished road
reply

Anyone else got any other ideas for me?
Reply With Quote

  #5   Ban this user!
Old 03-07-2010, 05:54 PM
 
Join Date: Sep 2007
Location: Canada
Posts: 16
armstrong360 is on a distinguished road

I believe that there is a module that will drive a 4 phase stepped (rather than step/direction) I think its call motgen but am not sure
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 03-07-2010, 06:31 PM
 
Join Date: Jul 2003
Location: Holmen, WI
Posts: 1,081
samco is on a distinguished road

emc2 stepgen hal module will do many step wave forms. (step/dir, Quadrature, 3 phase, 4 phase.. and so on)

http://linuxcnc.org/docs/2.3/html/ma...stepgen.9.html

You are looking at type 5 through 10. (lots of options.. fullstep, halfstep, and soe on)

sam
Reply With Quote

  #7   Ban this user!
Old 03-08-2010, 09:04 PM
 
Join Date: Sep 2008
Location: Australia
Posts: 25
cjgaus is on a distinguished road
Reply

Thanks for that Sam i am reading that link at the moment but i dont quiet understand too well how to implement it into emc2. ( this is my first machine i am building) and its all new to me. I feel quiet dumb at the moment lol.

Last edited by cjgaus; 03-08-2010 at 09:30 PM.
Reply With Quote

  #8   Ban this user!
Old 08-09-2010, 09:07 AM
marc_the_kiwi's Avatar  
Join Date: May 2010
Location: Ireland
Posts: 6
marc_the_kiwi is on a distinguished road

Originally Posted by samco View Post
emc2 stepgen hal module will do many step wave forms. (step/dir, Quadrature, 3 phase, 4 phase.. and so on)

http://linuxcnc.org/docs/2.3/html/ma...stepgen.9.html

You are looking at type 5 through 10. (lots of options.. fullstep, halfstep, and soe on)

sam
Sam has the key here. EMC2 has many different ways of generating the appropriate output for different hardware.

Originally Posted by irving2008 View Post
i dont think you can. That controller (it isnt really, the ULN2803 is a buffer/driver) assumes the PC generates all the stepper motor signals for each coil, not step and direction signals which is what proper drivers use and EMC2 generates..
Yes, you can. EMC2 can generate many different signals (see the manpage as above). IMHO this is why open source projects are so good. Most coders/designers don't just implement one way of doing things, they expect people to want to take things a step further, or do it another way. Rather, as is the case here, the user can modify the stepgen hal module to output steps in many different modes.

Check out this link:-
http://www.linuxcnc.org/component/op.../lang,english/

Discussion on the very topic you are after with code showing how to change stepgen.hal. I'm sure you can figure it out from this, but if you can't either flick me a private message or post here.

I have just finished a test board setup with uln2803's. Initial testing leads me to believe my setup will work really well.. And my entire electronics/motors setup was under €80, and I expect my entire machine to come in well under €200. Just need to finish building my PCB milling machine so I can mill my pcb for my controller, get rid of this breadboard and mount everything properly!

Last edited by marc_the_kiwi; 08-10-2010 at 07:41 AM.
Reply With Quote

  #9   Ban this user!
Old 08-12-2010, 03:44 AM
marc_the_kiwi's Avatar  
Join Date: May 2010
Location: Ireland
Posts: 6
marc_the_kiwi is on a distinguished road
Stupid Me!

Cjgaus, I've just realised the link I've posted points to the linuxcnc forums where you are the last person posting with problems with your setup!

Apologies. If you are still having difficulties, perhaps posting details of your setup (ie. either a board layout, or schematic, or if prototyped then which pins are assigned to each axes) would help.

Also, how confident are you that the hardware side of your setup is 100% accurate (it's not hard to overlook something small, even I do it now and again with 15 years worth of EE experience). Having tried the setup as suggested in linuxcnc.org forums, are you getting any movement at all (even micro movements or shuddering?) If the hardware is ok, then maybe it's something on the emc2 setup side of things.

The linuxcnc.org forum link in my last post is fairly self explanatory, though not everything may be clear to someone unfamiliar with linux/*nix environments, so if this is the case then I can take you through it step-by-step.

As I say, my test setup is working great and is practically a cut and paste of examples provided at the other forum.
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
Need Help!- MC9 with EMC2 lathe PP tool setup Concealed45 Post Processors for MC 2 12-22-2009 05:35 PM
Need Help!- EMC2 spindle setup melee General CNC (Mill and Lathe) Control Software (NC) 5 11-28-2009 02:38 AM
G540 and EMC2, need help with setup rogerer Gecko Drives 1 05-16-2009 01:21 PM
EMC2 to BobCampbell board setup ? Gads LinuxCNC (formerly EMC2) 5 01-25-2008 01:18 PM
soft para uln2803 elvillano Spanish CNCzone 3 12-14-2007 08:50 AM




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