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 10-08-2004, 04:22 PM
 
Join Date: Jun 2004
Location: Italy
Posts: 55
pigifly is on a distinguished road
Troubleshooting the Simple BreakOutBoard and L297 driver

Hi.
I've just finished building the simple BOB.
I will leave my experience (and all the help I will receive ) on this thread for everyone need to have help on this couple of components.

I think the job should be divided in ( at least ) a couple of step:
The very first one is to test that no ( unwanted ) current flows to the PC port.

The other one is to test that the board works correctly with the software.

Any other hints ?
How should I start with those steps ?


Pigi
Tweet this Post!Share on Facebook
Reply With Quote

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

Pigi,
First put power on the board without it hooked up to the pc or driver boards. LED1 should illuminte. Hopefully you saw the errata in the document and installed a jumper inplace of LED2 ? Assuming LED1 illuminates, LED7, LED9, LED10, and LED11 should not. If those verify, placing a jumper accross Xhome should illuminate LED9, placing a jumper accross Yhome should illuminate LED10, placing a jumper accross Zhome should illuminate LED11.
If all is well at that point jumper pad1 or JP4 pin2 to 5VDC pad, when you do that LEd7 should illuminate.

Phil
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 10-09-2004, 12:20 PM
 
Join Date: Jun 2004
Location: Italy
Posts: 55
pigifly is on a distinguished road

Everithing ok on this step.
Removed ( should read better the docs ) the led2 and tried every think you said.
Every led lights up as from docs.
There are few pins on DB25 that have little tension on it ( no more than 1,20 V ) but that should be ok.

Now what ? ( while waiting on L297/8 delivery )


Pigi
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 10-09-2004, 01:24 PM
pminmo's Avatar  
Join Date: Jun 2003
Location: St. Peters, Mo USA
Age: 59
Posts: 3,325
pminmo is on a distinguished road

Pigi,
Jumper a wire from Pad 1 to J. Monitoring LED7, you should be able to short alternately the RST(X8) and Estop (X7). This is the Emergency Stop Latch. The LED should hold the On or Off state as you alternately jumper between X7 and X8. If your ok there your ready to hook it up to your computer.

Consider downlaoding a parallel port monitor such as lpt.exe here:
http://neil.fraser.name/software/lpt/


Phil

Last edited by pminmo; 10-09-2004 at 03:28 PM.
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 10-10-2004, 06:16 AM
 
Join Date: Jun 2004
Location: Italy
Posts: 55
pigifly is on a distinguished road

Also this part went well.
Ready to hook the PC, then ?
What next ?

Pigi


P.S. A little question:
the sw I've decided to use ( linuxcnc ) seems not to have the X-Y-Z enable signal on the printer port. Am I right thinking I can jumper the enable to +5V ( to keep the level high ) or it's better I use another software ?
Obviosly I will cut the lines toward the DB25 to don't let current flow to PC port.
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 10-10-2004, 10:44 AM
pminmo's Avatar  
Join Date: Jun 2003
Location: St. Peters, Mo USA
Age: 59
Posts: 3,325
pminmo is on a distinguished road

Hook up the PC and using lpt or similar monitor, you should be able to toggle the state of the home switches, estop and monitor them on the pc. With jumper JP4 IN , you should be able to set PIN 1 and control LED7.
The enable, no biggy. If you look at the BOB, R10, R8, and R9 are symbolized there for that exact purpose. Where those three components install, there is a small jumper land effectively shorting those components out. (I just noticed, that needs to documented, as I never intended those to be installed, was just an easy way in eagle to provide the physical hooks). One side goes to the db25, the other to each respective pin for enable for each axis. Slit that jumper for each of r8, r9, and r10 and you have disconnected the enable line form the bd25. You can use the pad that connects the enable line to either wire it high or low depending on which state you want or you can wire them to either pad j or l so that estop controls enable. I'm at a disadvantage here I know nothing of linuxcnc. I would suggest setuing up the software.

Phil

p.s. If you or anybody out there has a word processor compatable with Microsoft Word, I'd upload the document so the info here could be added.
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 10-17-2004, 12:48 PM
pminmo's Avatar  
Join Date: Jun 2003
Location: St. Peters, Mo USA
Age: 59
Posts: 3,325
pminmo is on a distinguished road

pigifly,
how's it going?

Phil
Tweet this Post!Share on Facebook
Reply With Quote

  #8   Ban this user!
Old 10-17-2004, 04:16 PM
 
Join Date: Jun 2004
Location: Italy
Posts: 55
pigifly is on a distinguished road

Phil, I'm sorry but I haven't received the L297/298 IC yet.

They should be here tomorrow. For the moment I've finished the board anr installed all the other components.
We should wiat until tomorrow evening to accomplish the tests.

If you already have some tests for me I will execute it tomorrow, after installed the chip.

Pigi
Tweet this Post!Share on Facebook
Reply With Quote

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

did you hook the BOB to the computer?
Phil
Tweet this Post!Share on Facebook
Reply With Quote

  #10   Ban this user!
Old 10-18-2004, 03:40 AM
 
Join Date: Jun 2004
Location: Italy
Posts: 55
pigifly is on a distinguished road

Yes. I did hook the BOB to PC and everything seems ok.

The L297/8 have been installed to board, so I'm ready to test.
What to the JP3 is for ?

Pigi

Last edited by pigifly; 10-18-2004 at 03:16 PM.
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 10-18-2004, 04:53 PM
pminmo's Avatar  
Join Date: Jun 2003
Location: St. Peters, Mo USA
Age: 59
Posts: 3,325
pminmo is on a distinguished road

JP3 is for full step or half step. Jumper in is full step. I'd start testing the driver board without anything but power applied, and a jumper from JP1-1 to gnd (this diables the L298 driver outputs). When you turn power on LED1 should illuminate. Measure for 5vdc from JP4 pin 1 to pad IGND. S/b 5 +/-.2
Adjust trim pot R16 for the current limit reference voltage. With .5 ohm sense resistors for R1 and R2, the current limit voltage would be figured as Vref/.05= Imax.
So for a 2A motor Vref = 1V, for a 1A motor .5V....
What if any do you have in test equipment? Voltmeter?

Phil
Tweet this Post!Share on Facebook
Reply With Quote

  #12   Ban this user!
Old 10-18-2004, 05:16 PM
 
Join Date: Jun 2004
Location: Italy
Posts: 55
pigifly is on a distinguished road

My setup include digital and analogic voltmeter, and I can use also an oscilloscope. I don't know very well how to use it, but I can have one ( dual trace ) if needed.

Let me see if I have understood well:
JP1(1) to gnd.
JP4 open.
test 5v from JP4 (1) to pad IGND ( it should be the same to test to one of the GND pin of JP1 isn't it ? )

How can I test the vref ?
I should test between ping 15 of L297 and gnd ?

Pigi
Tweet this Post!Share on Facebook
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 10:45 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