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! > OpenSource CNC Design Center > Open Source Controller Boards


Open Source Controller Boards Discussion for Open Source CNC type Controller Boards and other related items. (for personal use only)


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 03-07-2006, 05:16 PM
CLaNZeR's Avatar  
Join Date: Jul 2005
Location: UK
Posts: 101
CLaNZeR is on a distinguished road
Pictures of CNCDuDeZ New USB-Parallel Interface.

Just assembled the first protoype of the USB-Parallel Interface and it works a dream.

This will let you send Gcode via USB to any Motor control box that usually gets it's data via the Parallel Port.

There has been alot of debate over whether this will work because of the latency of the USB Port and alot of talk has gone on about having fancy DSP chips and lots of memory.
This design has not required that and is built round a cheap Processor which costs less than £5.00 and works just fine.

We are releasing the build details of the Interface below Free to charge, so anyone can make it and develop for it.



Simply plug one end of the circuit into your USB Port and XP will auto detect it as a HID Device, so no extra drivers needed.
Then plug your 25way Parallel lead into the other that goes to your controller box and you are ready to go.

With the is release we will be supplying the following all FREE of charge.

PCB Layouts in JPG format and Gcode format for people wanting to mill their own PCB.

Full Component list and placement.

Beta USB Gcode Test Application (supports G00 and G01 to begin with).

Firmware for the Processor.

Full Protocol and command set for people wanting to develop their own software.


To cover all the different pin configurations out there, we will also offer a free service to compile the firmware to suit your controller and release it on the site.
We have full control of all 17 pins that can be used on the Parallel Port and can cover all configurations where needed.
The first firmware released will be for the following pin configuration as used on the Xylotex Board and a few others.
Pin2: Step X-Axis
Pin3: Direction X-Axis
Pin4: Step Y-Axis
Pin5: Direction Y-Axis
Pin6: Step Z-Axis
Pin7: Direction Z-Axis
Pin10: Z-Limit Switch
Pin11: Emergency-Stop Switch
Pin12: Y-Limit Switch
Pin13: X-Limit Switch

I will try and upload all the details tomorrow night.

Regards

Sean.
__________________
********************
http://www.cncdudez.co.uk
Reply With Quote

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

Sweet,
How do you plan on keeping the WinXP tasks not related to CNC from interferring with the USB data stream?
__________________
Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
Vist my websites - http://pminmo.com & http://millpcbs.com
Reply With Quote

  #3   Ban this user!
Old 03-07-2006, 06:11 PM
 
Join Date: Apr 2003
Location: usa
Posts: 242
kdoney is on a distinguished road

CeWin will allow you to run Windows CE (a hard real time system) concurrently with XP so you can have a deterministic usb connection and share the data, through IPC, coming from Mach 3. VenturCom ETS (formerly know as Phar Lap ETS) has an XP extension called RTX that is a hard real time extension to XP which will allow you have IPC with Mach 3 and still connect to the usb port deterministically. VenturCom is a little more expensive.
Reply With Quote

  #4   Ban this user!
Old 03-07-2006, 07:04 PM
CLaNZeR's Avatar  
Join Date: Jul 2005
Location: UK
Posts: 101
CLaNZeR is on a distinguished road

Well at the moment testing it, I have had no problems with any glitches at all and have gone off checking email without the stream really being interupted.
I am sure if I was opening different applications then this would effect it, but this is the same with using the printer port anyway, but not so severe.

Also remember say we wanted to move from 0,0 to 0,200 then this is one usb packet of 11 bytes as the processor does all the counting, pulse creation and monitors for the limit switches and emergency stop.
If we go say 0,0 to 10,200 then again one command because the code in the processor will work out the correct travel for each axis to give you the correct cut line.

If you were sending out the same output for 200mm travel in microstep mode your printer port would have to pulse out 106666 pulses and even just moving the mouse in XP can cause that to judder.

It is when you are say cutting out a circle the packets will increase with the all the little movements being sent. I want to add the G02 that will cut out that a bit as well in the future.

And to top it all future plan is too use the extra leftover pins of the processor too either connect some extra memory. I have been playing with a new host processor IC that talks sweetly to the Pic Processor over 4 control lines and can read SD cards as well as USB Memory sticks, so maybe this is another option in the future.

Also the extra pins left could be used to add the manual Jog.


Regards

Sean.


Originally Posted by pminmo
Sweet,
How do you plan on keeping the WinXP tasks not related to CNC from interferring with the USB data stream?
__________________
********************
http://www.cncdudez.co.uk
Reply With Quote

  #5   Ban this user!
Old 03-08-2006, 10:59 AM
PEU's Avatar
PEU PEU is offline
 
Join Date: May 2005
Location: Buenos Aires - Argentina (I like Ribs)
Age: 44
Posts: 921
PEU is on a distinguished road

waaay cool, I cant wait to see it working with other gcodes. I have the pic (18F4550 right?) and the others parts ready to build in my parts box

can encoder inputs be added so you can check discrepancies between the movement order and the actual movement?

mpg is also good to have.

Im keeping close eye on this!!! thanks


Pablo
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 03-08-2006, 12:40 PM
CLaNZeR's Avatar  
Join Date: Jul 2005
Location: UK
Posts: 101
CLaNZeR is on a distinguished road

Components are:

1 * 25pin socket
1 * 18F4550 Chip
1 * USB Socket
1 * 20mhz Xtal (the pic internally clocks this upto 48mhz)
2 * 22pf ceramics
1 * 4k7 resistor
1 * 1k resistor
1 * LED
1 * 0.1uf ceramic decoupling cap.
1 * 0.1uf electrolytic capacitor
1 * 22uf electrolytic capacitor
1 * little tactile push switch for resetting Pic, not really needed.

And a PCB about 75mm * 75MM

You will need a Pic Programmer that supports the 18F4550 but these can be bought or made very cheaply.

Because we are using the 40 Pin Processor there are plenty of pins left for adding on encoders to monitor and correct the turns on the motor.

So if you want any test routines popped in the formware, then let me know what encoders you are using and the pulse to revolutions and will try and add.


Regards

Sean.


Originally Posted by peu
waaay cool, I cant wait to see it working with other gcodes. I have the pic (18F4550 right?) and the others parts ready to build in my parts box

can encoder inputs be added so you can check discrepancies between the movement order and the actual movement?

mpg is also good to have.

Im keeping close eye on this!!! thanks


Pablo
__________________
********************
http://www.cncdudez.co.uk
Reply With Quote

  #7   Ban this user!
Old 03-08-2006, 01:52 PM
 
Join Date: Mar 2004
Location: Iowa, USA
Posts: 264
rippersoft is on a distinguished road

Wow man! Your contribution is really great. This pretty much puts to rest the exercise of USB conversion. I went to your sight and had a look. Impresive little machines you build. I really like the xmas CD idea. I will have to pop some of those out this year.

Thanks for your hard work.
Reply With Quote

  #8   Ban this user!
Old 03-08-2006, 01:56 PM
CLaNZeR's Avatar  
Join Date: Jul 2005
Location: UK
Posts: 101
CLaNZeR is on a distinguished road

Thanks Ripper for the feedback and you are more than welcome.

This is just a Hobby to me in my spare time, but hey it's fun and hopefully helps others out that wanna play!


Regards

Sean.

Originally Posted by rippersoft
Wow man! Your contribution is really great. This pretty much puts to rest the exercise of USB conversion. I went to your sight and had a look. Impresive little machines you build. I really like the xmas CD idea. I will have to pop some of those out this year.

Thanks for your hard work.
__________________
********************
http://www.cncdudez.co.uk
Reply With Quote

  #9   Ban this user!
Old 03-08-2006, 01:59 PM
CLaNZeR's Avatar  
Join Date: Jul 2005
Location: UK
Posts: 101
CLaNZeR is on a distinguished road

Forgot to say:

I have just uploaded all the things you wil need to now build and test out the new Interface.

Please leave feedback here on any good or bad points and also any features you would like to be added.

We had great feedback on email from the previous release "remote jog" project, but placing it in these forums will hopefully help other people who want to build and play with different enhancements to their machines.

Regards

Sean.
__________________
********************
http://www.cncdudez.co.uk
Reply With Quote

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

Sean,
Excellent, congrats on your accomplishment. A start at getting away from the PPort is long overdue.
__________________
Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
Vist my websites - http://pminmo.com & http://millpcbs.com
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 03-08-2006, 08:15 PM
 
Join Date: Jan 2005
Location: Toronto, Canada
Posts: 1,102
H500 is on a distinguished road

Looks like an interesting project! But just to clarify... the circuit is not useable with the commonly available CNC programs like Mach3.
Reply With Quote

  #12   Ban this user!
Old 03-08-2006, 08:23 PM
CNCRob's Avatar
Moderator
 
Join Date: Feb 2005
Location: USA
Posts: 921
CNCRob is on a distinguished road

I was just looking at your website. It looks like you have a pretty nice line of products.
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 05:18 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