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! > MetalWorking Machines > Benchtop Machines


Benchtop Machines Discuss all mini mills sherline, taig, square column, round column and CNC mill conversions here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 05-21-2009, 10:46 PM
 
Join Date: Mar 2004
Location: USA
Posts: 34
glentner is on a distinguished road
Want to Make a Hand Pendant from a Gamepad

Hello,
I am going to attempt to use a cheap USB gamepad as a hand pendant. I've read several threads where people have done similar things, but I'm looking for quick and easy.
Has anybody used just a cheap USB gamepad and a key mapping software to map (for example) the left button on the gamepad to the left arrow on the keyboard, etc., etc.? Then somehow mapped any of the buttons on the gamepad to the .001, .01 & .1 increments?

I was hoping to get a little encouragement before I wasted a few hours and $25.

Thanks,
Greg
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 05-21-2009, 11:07 PM
hoss2006's Avatar  
Join Date: Apr 2006
Location: United States
Posts: 4,531
hoss2006 is on a distinguished road
Buy me a Beer?

If you are using Mach 3, I have a tutorial for Keygrabber that comes with it to assign
the keys to any button.
You can set them up to do pretty much anything you wish.
The Shuttle Pro and Xpress are cool too and can be used as an MPG. Cheap on Ebay.
Hoss
__________________
http://www.hossmachine.info - Gosh, you've... really got some nice toys here. - Roy Batty -- http://www.g0704.com - http://www.bf20.com - http://www.g0602.com
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 05-22-2009, 12:36 AM
 
Join Date: Oct 2008
Location: USA
Posts: 33
imprez55 is on a distinguished road

Another possibility would be to use an emulator such as GlovePIE. This can map the keys of any game pad and emulate the keys. So now the d-pad on a ps3/wiimote can be used to emulate the arrow keys and page up and down for jogging. You can check it out here.

I would also recommend the keygrabber that hoss mentioned if using Mach3 (great tutorial on his site for it)
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 05-22-2009, 03:21 AM
 
Join Date: May 2006
Location: Australia
Posts: 1,345
Greolt is on a distinguished road

Again if you are using Mach3 then look at the Xbox 360 controller.

It has a Mach3 plugin written specifically for it.

Greg
Attached Thumbnails
Click image for larger version

Name:	Xbox.jpg‎
Views:	485
Size:	82.2 KB
ID:	81725  
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 05-22-2009, 03:59 AM
 
Join Date: Dec 2004
Location: usa
Posts: 1,657
TOTALLYRC is on a distinguished road
Game pad control of my bridgeport.

If using Mach3, Keygrabber and a logitech dual action gamepad plus a couple of hours = one honkin' machine addon.

Since key grabber allows for 4 different sets of controls/pages of controls, you can have a ton of options. I currently am only using one page, but will expand into the second one as I need more and more control.

Iy you are in fact using Mach3 and need more help, feel free to ask.

Mike
__________________
Warning: DIY CNC may cause extreme hair loss due to you pulling your hair out.
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 05-22-2009, 07:18 AM
 
Join Date: Mar 2004
Location: USA
Posts: 34
glentner is on a distinguished road

Yeah, i forgot to mention that I am using Mach 3.
Sounds like I'll be able to do exactly what I want. I'll give it a go this weekend and see how it turns out.
Thanks for all the input.
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 05-22-2009, 08:15 PM
 
Join Date: Mar 2004
Location: USA
Posts: 34
glentner is on a distinguished road

Alright, I got the logitech dual action controller, fired up key grabber, and everything is working PERFECTLY so far.
But I do have two questions that would save me a bit of time hunting if anybody here could be so kind.

1. Is there a button that could enable/disable the gamepad jogging? I'd hate to bump one of the sticks and crash my tool. I tried toggling the "jog on/off ctrl-alt-j" but that didn't do it.
2. Is there a quick mapping to make the d-pad be incremental jogging all the time? (meaning that the stick is always continuous jog and the d-pad is always incremental jog) I read that the x-box controller plug-in is set that way so I would assume it is possible.

thanks again for all the help.
-greg
Tweet this Post!Share on Facebook
Reply With Quote

  #8   Ban this user!
Old 05-22-2009, 10:40 PM
 
Join Date: Jun 2008
Location: USA
Posts: 197
HackMax is on a distinguished road

Originally Posted by glentner View Post
Alright, I got the logitech dual action controller, fired up key grabber, and everything is working PERFECTLY so far.
But I do have two questions that would save me a bit of time hunting if anybody here could be so kind.

1. Is there a button that could enable/disable the gamepad jogging? I'd hate to bump one of the sticks and crash my tool. I tried toggling the "jog on/off ctrl-alt-j" but that didn't do it.
2. Is there a quick mapping to make the d-pad be incremental jogging all the time? (meaning that the stick is always continuous jog and the d-pad is always incremental jog) I read that the x-box controller plug-in is set that way so I would assume it is possible.

thanks again for all the help.
-greg
What I do is assign a button the shift keypress which enables the rapid jogging when your pressing the jog buttons. Otherwise you jog at the normal jog speed. Also I don't have my jogging assigned to sticks just pushbuttons. It's too easy to bump a stick and also to jog in the wrong direction. I have a cheapy gamepad that I use but the buttons tend to get stuck in the down position so I'm going to rip one of these apart and wire it up to normal pushbuttons. I want the axis jogging controls to be on-off-on rocker switches.

Rick
Tweet this Post!Share on Facebook
Reply With Quote

  #9   Ban this user!
Old 05-23-2009, 01:46 AM
 
Join Date: Dec 2004
Location: usa
Posts: 1,657
TOTALLYRC is on a distinguished road

Originally Posted by glentner View Post
Alright, I got the logitech dual action controller, fired up key grabber, and everything is working PERFECTLY so far.
But I do have two questions that would save me a bit of time hunting if anybody here could be so kind.

1. Is there a button that could enable/disable the gamepad jogging? I'd hate to bump one of the sticks and crash my tool. I tried toggling the "jog on/off ctrl-alt-j" but that didn't do it.
2. Is there a quick mapping to make the d-pad be incremental jogging all the time? (meaning that the stick is always continuous jog and the d-pad is always incremental jog) I read that the x-box controller plug-in is set that way so I would assume it is possible.

thanks again for all the help.
-greg
1.I would have to check, but I thought that toggling the jog on/off would do it.

2. You can just set up a key to switch back and forth, but I don't know if there is a way to do what you want.

Did you get it setup so mach3 starts with keygrabber running all the time so the gamepad works at mach3 startup?
__________________
Warning: DIY CNC may cause extreme hair loss due to you pulling your hair out.
Tweet this Post!Share on Facebook
Reply With Quote

  #10   Ban this user!
Old 05-23-2009, 09:59 PM
 
Join Date: Mar 2004
Location: USA
Posts: 34
glentner is on a distinguished road

Spent a little more time on this project.
First, I did just add an incremental/continuous button for single step jogging by the d-pad (which for whatever reason it still allowed continuous jogging by the sticks). I tried adding a button to the Mach3 screen to single step for each direction, but it wouldn't allow "G91 G0 .001 G90" to single step, and the screen editor doesn't allow for two lines of G-code (to put the G90 on a second line). So I'm still screwing around with that idea.
Also, the jog on/off only turns on and off the jogging of the d-pad, not the sticks, so I'm still looking for an "enable/disable" game pad button.

All-in-all, the $25 gamepad and mapping of buttons will be very beneficial to me.
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 05-26-2009, 09:06 AM
 
Join Date: Feb 2009
Location: USA
Age: 27
Posts: 102
TerraWombat is on a distinguished road

I have a wireless xbox 360 controller and the appropriate Mach3 plug-in. It's fun to hide outside of my shop and jog the machine when someone else is checking it out. Gives them a good scare!

I do use the controller for other things, too...
Tweet this Post!Share on Facebook
Reply With Quote

  #12   Ban this user!
Old 05-31-2009, 10:12 AM
 
Join Date: Dec 2008
Location: USA
Posts: 29
mattgatten is on a distinguished road

I picked up a Logitech Dual Action controller from eBay. It works great. You can download the 'profiler' from Logitech. I haven't had to use the 'profiler' because Keygrabber does everything I need so far. Makes it handy to use with other programs and games.

I'm using it with all the axis, feedrate increase/decrease, load g-code, cycle start, feedhold, and program rewind. I like it because most of what I do setting things up can be done with it in my left hand. I'll post some pictures later.

They have a ton of them (nearly 100) over there starting at around $11.00 with 'Buy it Now'. Quite a bit cheaper than the shuttle. Logitech Dual Action controllers on eBay.
Tweet this Post!Share on Facebook
Reply With Quote

Reply

Tags
gamepad, hand pendant, mpg




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
New Hand Control Pendant for MACH Torchhead Product Announcements & Manufacturer News 9 09-28-2010 09:52 PM
How can I make v-carved letters look more hand carved? mac@superfad.co Vectric 3 05-18-2009 07:00 AM
Need Help!- How to make 2"1/2 NPT left hand threading on Haas SL-20 parktoshi Haas Lathes 2 04-08-2009 06:27 PM
REAL CHEAP GAMEPAD as PENDANT micsit1 Mach Wizards, Macros, & Addons 13 05-29-2008 02:19 AM
coverting from Right-hand to left-hand coordinate system eltonr General CAM Discussion 6 10-14-2004 09:40 PM




All times are GMT -5. The time now is 02:12 PM.





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