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 05-04-2009, 06:56 PM
 
Join Date: Jan 2007
Location: US
Posts: 432
TravisR100 is on a distinguished road
CNC4PC C3 Index Pulse Card - Help

I just purchased a C3 Index Pulse Card from CNC4PC. It comes prewired with a H21A2 phototransistor. This is a slotted optical interruptor. I wanted to use a reflective object sensor. I emailed Arturo and he said to use the QRB1114. So, I got one of those. I cannnot however figure out how to wire it. The QRB1114 has an emitter, collector, anode, and cathode. The C3 board has connections labeled A, E/K, and C. I don't want to burn anything up so I didn't just try hooking it up various ways. Does anyone know for sure how it should be wired?
Reply With Quote

  #2   Ban this user!
Old 05-04-2009, 07:00 PM
 
Join Date: Jan 2007
Location: US
Posts: 432
TravisR100 is on a distinguished road

BTW, here is a link to the cnc4pc tech doc that shows the wiring however it directly contradicts the wiring diagram for the H21A2 shown on the fairchild semi site.

http://cnc4pc.com/Tech_Docs/C3_5_WG.pdf

Fairchild doc:
http://www.fairchildsemi.com/ds/H2%2FH21A3.pdf
Reply With Quote

  #3  
Old 05-04-2009, 07:09 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,540
Al_The_Man is on a distinguished road
Buy me a Beer?

If you want to put labels on the H21A2 1=A 2=K 4=E 3=C.
The CNC4PC show the (K) Cathode and (E) Emitter common'd up.
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

  #4   Ban this user!
Old 05-04-2009, 08:18 PM
 
Join Date: Jan 2007
Location: US
Posts: 432
TravisR100 is on a distinguished road

Al, I wired up just as you said however when I do so the indicator light on the C3 card stays lit. When using the H21A2 the indicator light on the card only comes on when the slot is blocked. So, I thought maybe the logic was simply backwards and if I tried reflective tape in front of it that when it saw it the light would go off. Nope. I also thought maybe the light from the room was affecting it. I turned the lights off, that didn't help either.

So, I dug another phototransistor out of my box. This one is an OPB700AL. I looked up the datasheet and low and behold, it's labeled with the same terminology (A, E, K, and C) as the board. That made hooking it up particularly easy. (datasheet here: http://datasheet.digchip.com/344/344-01899-0-OPB700.pdf)

Same result with this one. The light remains on constantly no matter what. Any clues?
Reply With Quote

  #5  
Old 05-04-2009, 08:42 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,540
Al_The_Man is on a distinguished road
Buy me a Beer?

When using these devices the input configuration of the BOB, in this case the C3, is useful to know how the input is conditioned, Is there a link that shows this, this is the only way to quickly diagnose what is going on?
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 05-04-2009, 08:53 PM
 
Join Date: Jan 2007
Location: US
Posts: 432
TravisR100 is on a distinguished road

Ha, luck. From what I read CNC4PC makes good products but the documenation is pretty bad. Here is a link to the product with the doc links below it:

http://www.cnc4pc.com/Store/osc/prod...roducts_id=129

For instance, the product page shows that the product uses an ECG3100 photo transistor when in fact it is an H21A2. Also, the C3 isn't really a BOB per se. Not in the traditional sense anyway. It's just the index pulse card.

I'm using his C23 BOB which seems to work good but again, documentation is pretty bad. One doc will tell you to specifically do something while another doc will tell you to specifically NOT do the same thing.

At any rate, I came looking for answers here since Arturo (I assume the owner of CNC4PC) isn't nearly as responsive as most of the members in this forum. It was Arturo that told me to use the QRB1114. Maybe the product link above will shed some light on it.
Reply With Quote

  #7  
Old 05-04-2009, 09:09 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,540
Al_The_Man is on a distinguished road
Buy me a Beer?

Unfortunately that link is next to useless when trying to decipher the input configuration, the PDF links at the end that mention 'Further Information' do not work.
I am used to working with interfaces that show the nature of the I/O so that at least you can evaluate if and how a particular device will work.
You may have to reverse-engineer the input to find out the exact value of the components on the BOB.
Most of these opto slot devices are pretty similar so it should be fairly flexible as to type number?
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

  #8   Ban this user!
Old 05-04-2009, 09:28 PM
 
Join Date: Jan 2007
Location: US
Posts: 432
TravisR100 is on a distinguished road

Al, I appreciate you looking into it. I didn't expect you'd find much. I guess I'll have to try to get in touch with Arturo to see if he can shed some light on the situation. I just thought there might possibly be someone else who had used this same board with a QRB1114.
Reply With Quote

  #9   Ban this user!
Old 05-06-2009, 08:10 AM
 
Join Date: Oct 2004
Location: United States
Age: 47
Posts: 118
arturod is on a distinguished road

Travis,

Here are some thoughts:

- Could it be that the sensor got damaged because it was connected wrong?
- Could it be you are probably not providing the right reflective surface? Try:
o Different lights.
o A mirror.
o A completely white surface against black mate surface.

Users are always asking for me to offer a version of that that comes provided with a reflective sensor. I have not done it because I think that there are so many factors on making this work right, that trying to give support on it will kill me. I have used it a couple of times, some with excellent results and in other cases, I had to drop it.

Please check that and let me know how it goes.

I will post this answer in the form post that you sent, as it may help others.

Arturo Duncan
http://cnc4pc.com
http://cnc4pc.com/live_help.htm
Reply With Quote

  #10   Ban this user!
Old 05-06-2009, 08:30 AM
 
Join Date: Jan 2007
Location: US
Posts: 432
TravisR100 is on a distinguished road

It can't be the sensor. When I ordered the QRB1114 I ordered 5 of them since they were so cheap and I figured I could use them elsewhere. I tried not only two of them but also the OPB700AL that I had.

As for the surface, I've tried a mirror, white paper, a piece of polished aluminum, reflective tape provided with a photo tach, as well as powering the LED out of another phototransistor separately and shining it at the one hooked up to the C3. As for the reflective surfaces, I've tried moving them from the surface of the QRB1114 out to an inch. The spec sheet shows the proper distance to be .150". I even tried all this with the lights out thinking that maybe it was picking up ambient light.

Again, the indicator light on the C3 card stays lit no matter what when hooked up to the QRB1114 or the OPB700AL. I thought maybe the logic was "backward" with the QRB1114 but that doesn't seem to be the case either. I cannot ever get the light to go out on the C3 card.

I also tried all this with your jumper on the C3 set to active high instead of active low.
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 05-27-2009, 03:00 PM
 
Join Date: Jan 2007
Location: US
Posts: 432
TravisR100 is on a distinguished road

I wanted to give some credit where credit was due here. Try as I might I was never able to get this to work with the reflective sensor. Arturo from CNC4PC took the time to not only hook up what I was trying and verify that he could get it to work he even took a video of it working and posted it for me. Again, still unable to get it to work, he offered to allow me to ship it back to him and he would ship me one pre-wired with the reflective sensor. I'd say that's "above and beyond" when it comes to customer service.
Reply With Quote

  #12   Ban this user!
Old 05-29-2009, 04:21 PM
 
Join Date: Oct 2004
Location: United States
Age: 47
Posts: 118
arturod is on a distinguished road

Travis,

Thanks for your comments. We do try…

Did you receive the parts? Did all work ok? Where you able figure out what was the issue?

Arturo Duncan
http://cncn4pc.com
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
Spindle RPM control - Do I need an index pulse? Lexx0001 LinuxCNC (formerly EMC2) 8 03-27-2009 01:42 AM
Need Help!- Config for using single pulse for index and speed rfrenzl LinuxCNC (formerly EMC2) 11 09-08-2008 05:49 PM
Problem- How to use index pulse for homing purpose Zig LinuxCNC (formerly EMC2) 2 03-28-2008 02:16 AM
Phototransistor + Index Pulse = Z Axis THC? sunmix Mach Software (ArtSoft software) 0 10-26-2006 09:30 AM




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