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 09-15-2010, 06:10 PM
 
Join Date: Sep 2010
Location: United States
Posts: 6
nate89 is on a distinguished road
Will this simple controller board work?

Hey guys, this is my first post but I've been doing a lot of reading, especially on this thread:

http://www.cnczone.com/forums/showthread.php?t=37671

The thing is, I don't know how/have the ability to program a pic. I also don't have a lot of money to spend since I'm in college. I was doing some searching and found this circuit:

http://www.circuitstoday.com/stepper-motor-controller



I was planning on replacing the transistors with Tip122's. It appears as though I don't have to program anything, which is great, but I was wanting to hear your guys' opinion on it. I am planning on driving nema 17's then possibly upgrading to nema 23 unipolar steppers. I don't want to buy parts I don't need for a controller that wont work. Please help.

If anyone can suggest a different simple stepper controller that doesn't require programming or cost an arm and a leg that would be great! My knowledge of electronics is limited to cars and a EE course I took last year (I'm a mech/aero engineering student). I can solder the crap out of a board though lol. Thanks guys!

Last edited by nate89; 09-15-2010 at 11:17 PM.
Reply With Quote

  #2   Ban this user!
Old 09-16-2010, 10:43 AM
James Newton's Avatar  
Join Date: May 2005
Location: USA
Posts: 756
James Newton is on a distinguished road
Buy me a Beer?

Well, it may work, but it isn't going to work /well/ It will full step only, which reduces the resolution of movement and can cause your motors to vibrate and miss steps at certain speeds. It also doesn't regulate the current flowing through the coil, so it isn't going to be as fast as it could be given a higher than motor rated voltage on the power supply and a regulating driver.

You can buy a pre-programmed PIC for the Linistepper driver for $6
http://www.ecomorder.com/techref/ecomprice.asp?p=416060
which will give you microstepping, current regulation, and a high power half step mode which is really nice.
http://www.piclist.com/techref/io/st...step/index.htm

The linistepper design is open source, so you can make your own from the schematic or buy a pre-made PCB and stuff it from your junk box or scavenged parts. There are some board layouts available if you want to make a PCB yourself.
http://www.piclist.com/techref/io/st...istep/mods.htm

If you are going to buy the parts, you can't beat the kit price of $30 each (quantity 3)
http://www.ecomorder.com/techref/eco...p?p=416015&q=3 it will cost more to buy the parts at a distributor than to just buy the full kit.

Of course, that schematic you have will cost less in parts, and you can probably build it on a whiteboard. If you don't fry your TIP122's you can re-use them in a Linistepper when you aren't happy with the performance from this one. Don't connect or disconnect the motor with the power on!

Good luck anyway and let us know how it comes out?
Reply With Quote

  #3   Ban this user!
Old 09-16-2010, 09:30 PM
 
Join Date: Sep 2010
Location: United States
Posts: 6
nate89 is on a distinguished road

Thanks for the info

Here's another one I found:

http://hobbymechatronics.com/project...g-motor-driver


It has the ability to step in 1, 1/2, 1/8, and 1/16th steps. It can support up to 35v and 2.5 amps. The only thing I'm not sure of is if the motor power is connected to the board or straight to the power source? If it is, then is VCC the same as the motor (12v in my case)?

Also, it seems as though the controller is only for bipolar motors (correct me if I'm wrong), yet in the pic, it's hooked up to a 6 wire nema 23. Can anyone clarify this for me?
Reply With Quote

  #4   Ban this user!
Old 09-16-2010, 10:48 PM
doorknob's Avatar  
Join Date: Jan 2010
Location: USA
Posts: 1,240
doorknob is on a distinguished road
Buy me a Beer?

Originally Posted by nate89 View Post
Also, it seems as though the controller is only for bipolar motors (correct me if I'm wrong), yet in the pic, it's hooked up to a 6 wire nema 23. Can anyone clarify this for me?
You can drive a 6-wire stepper as if it were a 4-wire stepper (with a bipolar driver) by selecting half or full windings (and ignoring two of the motor leads, that is, leaving them unconnected or connecting them to terminals that go nowhere).
Reply With Quote

  #5   Ban this user!
Old 09-16-2010, 11:02 PM
doorknob's Avatar  
Join Date: Jan 2010
Location: USA
Posts: 1,240
doorknob is on a distinguished road
Buy me a Beer?

Originally Posted by nate89 View Post
The only thing I'm not sure of is if the motor power is connected to the board or straight to the power source? If it is, then is VCC the same as the motor (12v in my case)?
It appears to me that Vcc needs to be different from the motor power. According to the datasheet, Vcc has an absolute maximum rating of 7.0 volts (it is probably supposed to be 5.0 volts nominal).

The motor power comes in to the board via the 6-pin terminal strip that also connects to the stepper windings. The motor power is applied to the driver chip pins labeled VBB1 and VBB2, whereas Vcc goes to the logic voltage supply pin of the driver chip. It's a little more clear in the Allegro datasheet "functional block diagram" on page 3 of http://www.allegromicro.com/en/Produ.../3979/3979.pdf
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 09-17-2010, 12:18 AM
James Newton's Avatar  
Join Date: May 2005
Location: USA
Posts: 756
James Newton is on a distinguished road
Buy me a Beer?

The A3979 is $8.31 or so says
http://www.findchips.com/avail?part=A3979
and it drives 2.5 amps at up to 35v

TIP122's cost 0.50 so $2.00 for 4
http://www.findchips.com/avail?part=tip122
and drive 5 amps at up to 100 volts (with really good heatsinks like a CPU fan)
The TIP122's with the first circuit or the Linistepper chip or any other step/direction to wave form converter will cost less and do more and...

...when you blow one, it costs $2 to replace all 4. When you blow the Allegro, you are out another $8.

Having said that, lots of people make drivers with chips like that:
http://pminmo.com/ss3977/ss3977.htm
Reply With Quote

  #7   Ban this user!
Old 09-17-2010, 09:11 AM
 
Join Date: Sep 2010
Location: United States
Posts: 6
nate89 is on a distinguished road

Would it be better to go with a microstepping board that is more expensive/complicated, or a simpler/cheaper board without microstepping. The resolution of my machine isn't a big consern since I will have a resolution of 4000steps/in (or 0.00025 in/step) which should be plenty. But if micro stepping will make the motors less likely to skip steps, I could take a chance on the A3979 controller (but I like cheap and simple, plus I have all the parts for the Tip controller minus the ic's). I'm really at a loss when it comes to these controllers, it the only thing holding me back lol. I guess what I'm asking is if microstepping is really that important that I should spend the extra money on the more complex controller?

Thank for all the help BTW
Reply With Quote

  #8   Ban this user!
Old 09-17-2010, 10:24 AM
James Newton's Avatar  
Join Date: May 2005
Location: USA
Posts: 756
James Newton is on a distinguished road
Buy me a Beer?

Start simple, grow.
Reply With Quote

  #9   Ban this user!
Old 10-12-2010, 10:22 PM
RMS's Avatar
RMS RMS is offline
 
Join Date: Jun 2006
Location: USA
Posts: 42
RMS is on a distinguished road

Is it really all that hard to program a "PIC"? I am in the same boat as nate89 and I been looking at diy pic programming boards they look really simple then you run some software. I have never done this myself but I am thinking about it. Maybe someone can help us on that?

As far as purchasing a driver board or kit I was looking at probotix.com as well as the Linestepper V2; or trying my hand at PIC programming myself.
__________________
http://www.dreamtone.org/cnc/Mechanical_Design.JPG
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
Simple EPP IO board slavkok General Electronics Discussion 2 04-09-2011 07:31 AM
Problem- Built a simple step controller with a PC glitch? (now cannot get Mach3 to work) mrgadgeteer Controller & Computer Solutions 2 01-29-2010 05:21 PM
Need Help!- Simple Step SSXYMicro Board - how to use with Linux software scriptster Controller & Computer Solutions 0 03-10-2009 12:31 AM
Need Help!- Will these motors work with any hobby controller board? stabbs DIY-CNC Router Table Machines 7 12-28-2008 04:45 PM
Simple Aluminum Lathe Work stang5197 Employment Opportunity 7 09-28-2006 09:03 PM




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