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 > PIC Programing / Design


PIC Programing / Design Discuss programing of PIC chips here and design of electronics using PIC chips.


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 03-02-2010, 03:07 PM
 
Join Date: Feb 2010
Location: USA
Posts: 41
PaulMakesThings is on a distinguished road
Comparing two CNC usb PIC based DIY solutions

I'd add in PDQ incase that's not enough 3 letter acronyms for you, but actually I have plenty of time on this. As the title says I'm looking existing project descriptions for PIC based CNC controllers with usb interfaces, they even both use the 18F4550. They each have their own propreitary software as well.

Theres CNC USB
http://www.planet-cnc.com/
The diagram is there for free, it has software that runs the G-code and it outputs the signal for a driver board. I'm not sure if the software is able to run a machine with the free version, the site only says that it will let you preview machine paths. Its not explicit as to weather it can drive a machine or not with the free version. I don't really want to build the board just to find out. If anyone has used this please give me your input.

and theres this USB to Parallel adapter
http://www.mycncuk.com/forums/showth...-DIY-Interface
But if you scroll down you'll see that they actually have their own software as well, so it isnt just an adapter, its more of a CNC controller with a parallel plug for an output to the driver. This software does appear to be free.

So Id apriciate any input on which of these projects I should follow, as well as any advice to the project of building and running ones own PIC based USB cnc machine.

I'm also considering just getting a paralelle port card for my computer and making one of the hundreds of projects that uses a PIC to controll a CNC machine off of that. But that wouldent make the machine as portable as I would like (its a tiney CNC mill)
Reply With Quote

  #2   Ban this user!
Old 03-03-2010, 04:12 AM
 
Join Date: Sep 2006
Location: romania
Posts: 218
eSilviu is on a distinguished road

http://www.mycncuk.com/forums/showth...-DIY-Interface it's a dead project (dead for about 2 years by now). It only knows G00 and G01, and has a few other small bugs (I have use-it in the past).

http://www.planet-cnc.com/ it's an active project, relatively new (about 1 year), and works very good (I'm using it now)

I recommend the second one.

or maybe...www.usbcnc.com, but this one is not so cheap (180EUR without VAT)
Reply With Quote

  #3   Ban this user!
Old 03-03-2010, 07:29 AM
 
Join Date: Feb 2010
Location: USA
Posts: 41
PaulMakesThings is on a distinguished road

Thanks, thats the kind of input I'm looking for. It's too bad none of these groups give their projects distinctive names, they're all called "cnc usb" or "usb cnc". But anyway. Do you know if the one at planet CNC can run a machine with the freeware version? I would certainly licence it before doing anything commercial, but for now I'm still seeing if I can make the machine run at all.
Reply With Quote

  #4   Ban this user!
Old 03-03-2010, 07:40 AM
 
Join Date: Sep 2006
Location: romania
Posts: 218
eSilviu is on a distinguished road

Originally Posted by PaulMakesThings View Post
Thanks, thats the kind of input I'm looking for. It's too bad none of these groups give their projects distinctive names, they're all called "cnc usb" or "usb cnc". But anyway. Do you know if the one at planet CNC can run a machine with the freeware version? I would certainly licence it before doing anything commercial, but for now I'm still seeing if I can make the machine run at all.
It will do only 25 g-code lines if it's not registered.
Enough for testing any commands you want.
Reply With Quote

  #5   Ban this user!
Old 03-03-2010, 08:14 AM
 
Join Date: Feb 2010
Location: USA
Posts: 41
PaulMakesThings is on a distinguished road

That would be enough to test with. on the other hand I would be stuck with that software if I built that controll board, or atleast I would have to program my own for their controll board if I wanted to go another way. Maybe the best way would just be to use a USB to Parallele adapter so I can use a wide range of existing software. I just dont want to go the route of installing a parallel card because then I could never use the machine with a laptop or a computer at school that didn't have a parallel port. I've noticed lots of discussion on USB to Parallel adapters, I could probably find on that works. I still plan to do a DIY PIC based project either way though.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 03-03-2010, 08:26 AM
 
Join Date: Sep 2006
Location: romania
Posts: 218
eSilviu is on a distinguished road

Originally Posted by PaulMakesThings View Post
That would be enough to test with. on the other hand I would be stuck with that software if I built that controll board, or atleast I would have to program my own for their controll board if I wanted to go another way. Maybe the best way would just be to use a USB to Parallele adapter so I can use a wide range of existing software. I just dont want to go the route of installing a parallel card because then I could never use the machine with a laptop or a computer at school that didn't have a parallel port. I've noticed lots of discussion on USB to Parallel adapters, I could probably find on that works. I still plan to do a DIY PIC based project either way though.
I have used (some long time ago) a new PC + KCAM4, on the parallel port.
It was sluggish, it loosed steps, and used CPU at almost 100%.
Whem I've switch to (USB cncdudez), on the same hardware CNC + the same computer, I allmost doubled the speed, CNC runned smooth, and I never loosed steps.
Since I was using the same PC to desing the components, I couldn't use turbocnc (on the real DOS), or linux EMC with realtime.
You will be dissapointed when (with a 2GHz CPU) you will hear interrups (produced by antivirus, or any other software or driver that run on the computer) in steppers movements...

I's simple to put a PIC18F4550 + a few resistors, and test the software. A prototyping board will do the job as good as any other.
Reply With Quote

  #7   Ban this user!
Old 03-03-2010, 08:39 AM
 
Join Date: Feb 2010
Location: USA
Posts: 41
PaulMakesThings is on a distinguished road

Isn't the CNCDudez software free anyway? It may be a dead project, but if it works it shouldent really matter.

Did you mean that it gets interrupted with the USB also, or only without it? Actually I'm forgetting that this still has the problem of proprietary software. It would be preferable to be able to use all the existing stuff thats out there, Mach 3 and the like. But aparently those all don't work with USB directly, or atleast I would need to write my own drivers, which I don't know how to do. I'm good with C++, but I haven't written USB drivers or drivers for CNC software.

Do you think a USB-Parallel adapter could be a good soloution? For all I know I could be wrong about most CNC software not being USB ready, or a number of other things.
Reply With Quote

  #8   Ban this user!
Old 03-03-2010, 08:57 AM
 
Join Date: Sep 2006
Location: romania
Posts: 218
eSilviu is on a distinguished road

Originally Posted by PaulMakesThings View Post
1.Isn't the CNCDudez software free anyway? It may be a dead project, but if it works it shouldent really matter.

2.Did you mean that it gets interrupted with the USB also, or only without it? Actually I'm forgetting that this still has the problem of proprietary software.
3.It would be preferable to be able to use all the existing stuff thats out there, Mach 3 and the like. But aparently those all don't work with USB directly, or atleast I would need to write my own drivers, which I don't know how to do. I'm good with C++, but I haven't written USB drivers or drivers for CNC software.

4.Do you think a USB-Parallel adapter could be a good soloution? For all I know I could be wrong about most CNC software not being USB ready, or a number of other things.
1. see here the list of bugs: http://www.cnczone.com/forums/showpo...0&postcount=86
2. with USB you will det no interrups in NCNC processing.
3. If you can write a driver... but there has been others that tried, and... nothing.
I saw many users prefere Mach. I can't give my opinion, since I've never use-it properly.
4. NONE of the USB-parallel port adaptor will ever work! Conversion is made in software, with a driver that is not real-time.
Reply With Quote

  #9   Ban this user!
Old 03-03-2010, 10:23 AM
 
Join Date: Feb 2010
Location: USA
Posts: 41
PaulMakesThings is on a distinguished road

Thanks for all the info. It doesn't sound like I want to go with the CNCdudez one. There are always compromizes to be made. Since this is a minature machine and I'm a student I want it to be portable so I can show it to people and use it in different places, and that logically leads to USB. I just don't like the idea of using something that can only work with one software package that I can't modify. If a cool new feature comes out in some other package I cant switch, and I can't add new features myself. I could concievably make my own software, but that would be a whole big thing that I don't want to even think about right now.

The reason I want to use a PIC is so I can build and modify the controller and driver myself. Any microcontroller could do that, but PICs are the ones I have the knowledge tools and equipment to use.

Just to give you an idea of my goals for this project, it isn't just to make a CNC machine, if that were my goal I could buy a controll system. I wan't to understand and work with the technology. Getting up and running with purchased software would be a good start, but at the same time I feel a bit wary of spending $100 for software that I'm going to use temporarily. But hey, why not build a controller board and use the limited free version for now while I figure that all out. The driver boards I make should work with other solutions either way.
Reply With Quote

  #10   Ban this user!
Old 03-05-2010, 04:46 PM
 
Join Date: Jul 2009
Location: NL
Posts: 11
Hamish911 is on a distinguished road
a few more usb controllers.

I've compiled a small table of usb controllers on my website.
You may find it usefull.
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 03-07-2010, 04:24 PM
 
Join Date: Feb 2007
Location: canada
Posts: 619
Larken is on a distinguished road

What features and performance ?
Do you want a board that just runs one line at a time, or smoother continuous feed ?

None of these boards can run anywhere near as smooth or fast as Mach3.

The USBCNC (eding_cnc) one costs more because it is a lot more advanced and supports a big list of Gcodes including G41,G42 cutter offsets.
http://www.edingcnc.com/index.php?taalid=2
So if you spend a bit more you get a lot more.
__________________
Manufacturer of CNC routers and Viper Servo Drives
www.LarkenCNC.com and www.Viperservo.com
Reply With Quote

  #12   Ban this user!
Old 03-08-2010, 04:37 AM
 
Join Date: Sep 2006
Location: romania
Posts: 218
eSilviu is on a distinguished road

Originally Posted by Larken View Post
What features and performance ?
Do you want a board that just runs one line at a time, or smoother continuous feed ?

None of these boards can run anywhere near as smooth or fast as Mach3.

The USBCNC (eding_cnc) one costs more because it is a lot more advanced and supports a big list of Gcodes including G41,G42 cutter offsets.
http://www.edingcnc.com/index.php?taalid=2
So if you spend a bit more you get a lot more.
Both "USBCNC" anc "CNC USB Controller" does support "lookahead" feature. So it will run as smooth as possible.

Mach3 will run smooth only with SmoothStepper, because it's not based on hardware interrupts from parallel port.
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 Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Comparing Citizen L32 vs E32 VI MadMax CNC Swiss Screw Machines 11 02-05-2010 04:17 PM
comparing chinnse spindles eloid DIY-CNC Router Table Machines 0 11-28-2009 10:12 PM
MIE Solutions (www.mie-solutions.com) Manufacturing Software systems MIE Solutions Product Announcements & Manufacturer News 0 12-17-2008 02:07 PM
Comparing help please pgf545 General CAM Discussion 2 06-10-2008 08:46 AM
Comparing CAM software dkarmstrong General CAM Discussion 0 01-26-2006 12:15 PM




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