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 > General Electronics Discussion


General Electronics Discussion Discuss basic electronics, power supplies and anything else electronic related here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 07-20-2010, 07:41 AM
Apples's Avatar  
Join Date: Feb 2004
Location: Australia, Queensland
Posts: 416
Apples is on a distinguished road
What is the cheapest option to drive a single axis?

What is the cheapest option to drive a single axis?

So I'm talking about the stepper, driver, power supply and computer software. Rather then spending more cash than what is needed. What is the cheapest way to drive a single axis?

I could use a dc motor with one of those speed controllers, then I could just have a knob to adjust the speed. But...If I could use EMC (free) then I could each time exactly set a desired travel speed and increase and decrease by increments etc.

So what is there out there to do it the cheapest way. Only moving a small load 2lb at a slow speed.

Peter
__________________
My little site on MIG welding http://www.learn-how-to-weld.com/mig-welding/
Reply With Quote

  #2   Ban this user!
Old 07-20-2010, 08:58 AM
krak's Avatar  
Join Date: May 2010
Location: USA
Posts: 105
krak is on a distinguished road

How much work do you want to do? You could go very cheap if you are willing to do some work. EG buy an Arduino and a motor shield, tear apart an old printer and bingo. You’ll have everything you need. Arduino has some very rough Gcode interpreters. But it can also be programmed to do very repeatable operations from inputs or coms from the main computer. This could be done for about 100 bucks.
Reply With Quote

  #3   Ban this user!
Old 07-20-2010, 09:19 AM
Apples's Avatar  
Join Date: Feb 2004
Location: Australia, Queensland
Posts: 416
Apples is on a distinguished road

Yeah I guess that could work.. Isn't there also something called the PIXAXE.. Or is this old stuff now?

Would it be able to run a stepper big enough to turn a acme rod for motion?
What about hobbycnc, I think their board is for 3 axis. I there a single axis board? Cheaper?

Peter
__________________
My little site on MIG welding http://www.learn-how-to-weld.com/mig-welding/
Reply With Quote

  #4   Ban this user!
Old 07-20-2010, 10:09 AM
 
Join Date: Feb 2009
Location: usa
Posts: 2,915
underthetire is on a distinguished road

Originally Posted by krak View Post
How much work do you want to do? You could go very cheap if you are willing to do some work. EG buy an Arduino and a motor shield, tear apart an old printer and bingo. You’ll have everything you need. Arduino has some very rough Gcode interpreters. But it can also be programmed to do very repeatable operations from inputs or coms from the main computer. This could be done for about 100 bucks.
I agree 100%. That is by far the cheapest way to drive a single, or even 2 axis. I bought my Arduino Delemova on Ebay for 10 bucks, with a LCD keyshield. You can also pick up a cheap high torque model servo from King Hobby for less than 20. They even have a Servo driver for 10 bucks if it would work for your application.
Reply With Quote

  #5   Ban this user!
Old 07-20-2010, 10:17 AM
krak's Avatar  
Join Date: May 2010
Location: USA
Posts: 105
krak is on a distinguished road

PIXAXE is another type of micro controller. It is pretty popular with hobby robotics groups. I think it is based on Visual basic programming, where the Arduino is based on C programming. ( NOTE: the arduino is open sourced and you can built it yourself off of plans.)

The motor shield can handle a decent amount of amperage, but you might want to gear it down if you are using a stepper motor out of a printer. Your next best option, IMO, is a Gecko drive. Maybe a G250 for about 60 usd., or the G251 for for about 70 usd. You’ll also need a powersupply, a motor, and a computer to control it.

What is included in your project? What is it you are trying to work with? I might be able to offer more reasonable solutions with more details of the task at hand.

these links might help
http://www.sparkfun.com/commerce/pro...oducts_id=9402

http://reprap.org/wiki/Stepper_Motor_Driver_1.1

http://www.adafruit.com/index.php?ma...products_id=81

Last edited by krak; 07-20-2010 at 10:20 AM. Reason: adding more links
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 07-20-2010, 05:22 PM
Apples's Avatar  
Join Date: Feb 2004
Location: Australia, Queensland
Posts: 416
Apples is on a distinguished road

I don't mind getting out the soldering iron and putting all the bits together.

I just want to move a welding torch forwards and backwards so that I can get accurate speeds etc , and constant speeds. That's why instead of using a dc motor speed controller, It would be nice to be able to punch in a travel speed and have the stepper/liner slide move at a known speed.
If I was just a motor speed controller I would have no way of knowing what speed it is going at, unless I was to time how long it took to get there etc. What about hooking up a encoder? Would that be able to give me a speed readout? if using a simple DC speed controlled motor?
__________________
My little site on MIG welding http://www.learn-how-to-weld.com/mig-welding/
Reply With Quote

  #7   Ban this user!
Old 07-20-2010, 10:11 PM
krak's Avatar  
Join Date: May 2010
Location: USA
Posts: 105
krak is on a distinguished road

Ok, I think I understand what you are trying to do. I have a backround in PLC programming and learning a few different mirco controllers. With that said, I believe you would be able to drive a torch at a constant speed with a program fairly simply. Provided you had a sound mechanical device, meaning the drive will not hang up an anything, you would not need an encoder or some other way of making it a closed loop system. At this point I would still recommend an Ardiuno. It can be set up to run either a Stepper motor or DC motor. The motor shield can be upgraded from the plans to handle higher amps. I don’t think it would be too hard to find help on the internet to make those upgrades. A stepper motor will give you much more control on the accel / deccel rates of the torch moving forward or backwards. I am envisioning an Oxy torch rather than a Mig. Preheating the metal maybe? Anyway the Ardiuno can be programmed with speed control and speed changing in mind. Counting the steps will ensure you stay wit in your range. I’m not sure how I setup a simple dc speed controller to handle both ramp speeds , and reversing direction in way that would be very repeatable.
Reply With Quote

  #8   Ban this user!
Old 07-20-2010, 11:39 PM
Apples's Avatar  
Join Date: Feb 2004
Location: Australia, Queensland
Posts: 416
Apples is on a distinguished road

Righto I will start researching the Ardiuno then.
__________________
My little site on MIG welding http://www.learn-how-to-weld.com/mig-welding/
Reply With Quote

  #9   Ban this user!
Old 07-21-2010, 08:30 AM
Apples's Avatar  
Join Date: Feb 2004
Location: Australia, Queensland
Posts: 416
Apples is on a distinguished road

Well I have a look and looks like I'm back over here now as I need to run about 2-3amp steppers and the arduino can't do that.

I'm looking at the HobbyCNC board only $64, like how I would not have to get a breakout board like I would If I used a gecko drive G251 etc.

I really do not need 3-4 axis only the 1..
__________________
My little site on MIG welding http://www.learn-how-to-weld.com/mig-welding/
Reply With Quote

  #10   Ban this user!
Old 07-21-2010, 09:29 AM
krak's Avatar  
Join Date: May 2010
Location: USA
Posts: 105
krak is on a distinguished road

Originally Posted by Apples View Post
Well I have a look and looks like I'm back over here now as I need to run about 2-3amp steppers and the arduino can't do that.

I'm looking at the HobbyCNC board only $64, like how I would not have to get a breakout board like I would If I used a gecko drive G251 etc.

I really do not need 3-4 axis only the 1..
The Arduino would provide the step and direction pulses. The motor shield would send the power to the motor. An Arduino and a gecko driver might be a good combo for you.
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 07-21-2010, 09:49 AM
H.O H.O is offline
 
Join Date: Jul 2007
Location: Sweden
Posts: 886
H.O is on a distinguished road

Hi,
Technically you don't have to use a breakoutboard. The breakoutboard provides a convinent way for you to interface between the LPT-port and other devices, they usually also provide galvanic isolation which is a big selling point but not strictly needed. Simply cut the end of a LPT-port cable, figure out which wires go to the pins you need and connect them to the drive.

If you don't count the PC on which you'd run either EMC2 or Mach3 (Mach3 isn't free but for your purposes the demo version will be more than enough) all you need is a motor driver, a powersupply and your motor.

If you count the PC then an Arduino is cheaper but then you need to learn how to program it, getting acceleration and deceleration algorithms sorted (if you're not running the motor VERY slow) figure out a suitable way to key on your settings like distance to move, speed etc. It's nothing wrong with that and it may be cheap but before you have something working you've spent a lot of time.

I don't know that much but Arduino, they may have libraries for this kind of thing but if you're not familiar with microcontroller and programming it will be a learning curve never the less.

You could build the drive too if you want to, the old L297/298 combo is good for ~2A and some Alegro chips are capable of more than that. But again, before you have something working you've spent a lot of time and probably a lot more cash in "development" cost than a what a say a G251 costs.

There are several small step-motor "modules" available from places like Pololu but they generally can't handle current in the range of 2-3A.

I have no experience with the HobbyCNC board but 3 axis for $79 sounds like a bargain. You get the one axis you need and two spares. It's unipolar which is a bit "old technology" but it is a chopper drive. As long as it works I'm sure it'll suffice for your purposes.

/Henrik.
Reply With Quote

  #12   Ban this user!
Old 07-21-2010, 11:49 AM
krak's Avatar  
Join Date: May 2010
Location: USA
Posts: 105
krak is on a distinguished road

H.O. is right there will be a learning curve to use the Arduino. Since I had the back ground with PLC’s and types of programming, it did not take me very long to pick up it. It took me longer to get up to speed with Mach. I’m still learning it. I have found that there a number of libraries for using a stepper. In these set ups you simply supply the number of steps, or a formula to determine steps for known distance. Factory in the max speed, and it handles the rest. However the gcode would be very simple as well figure out your feed rate, plug in the start and finish back to start and repeat. So how much is your time worth? Is it worth it to you to learn something new? How much would you value the new lessons?
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
a axis for lath option eloid DIY-CNC Router Table Machines 1 06-20-2009 06:44 PM
Cheapest 3-axis DRO for chinese readout bars X2 mnbylcr2 Benchtop Machines 23 05-21-2009 05:16 AM
Cheapest 3 axis 4 wires driver? q-bert General Electronics Discussion 1 06-06-2008 07:23 PM
4X single axis bi-polar xylotex drive alexccmeister Xylotex 2 03-07-2007 04:53 AM
Single Servo Motor drive Toolmaker Servo Motors and Drives 6 11-26-2005 11:08 AM




All times are GMT -5. The time now is 06:48 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 354 355 356 357 358 359 360 361