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 11-03-2011, 11:25 AM
 
Join Date: May 2010
Location: USA
Posts: 23
neric is on a distinguished road
LED indicator

Hello,
My name is Neri while I am not a completely clueless in electronics I have some beginner level knowledge. I would like to have an LED indicator driven from the STEP output of my CNC controller so I will have visual feedback of axis movement I have tried some NE555 pulseting logic probe based circuites while they worked to some extand I never got enough lumination (brightness) from the LED and the results were far from what I needed. Then I have tried some Opamps circuites but with no success. The STEP port reading is averaging 0.25V fluctuating, the DIRECTION port reading is 4.85V
I was wondering if anyone has an idea or schematics that can accomplish this task, it should support 3 LEDs from 3 different pulse input(X, Y, Z axis) I just want the LED to detect the pulse
Please help
Reply With Quote

  #2  
Old 11-03-2011, 11:29 AM
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?

Originally Posted by neric View Post
I would like to have an LED indicator driven from the STEP output of my CNC controller so I will have visual feedback of axis movement I have tried some NE555 pulseting logic probe based circuites while they worked to some extand I never got enough lumination (brightness) from the LED and the results were far from what I needed.
I suspect the pulse rate is too fast for the LED to indicate usefully that is why they are not illuminating as pulses.
I more ideal way is a simple rate counter in the form of a digital display.
What is the reason you want to know the pulse rate?
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

  #3   Ban this user!
Old 11-03-2011, 11:44 AM
 
Join Date: May 2010
Location: USA
Posts: 23
neric is on a distinguished road

Thank for the reply Al
I don’t need to know the pulse rate I just need t know that is pulsating. I need to know that there is a signal that going to the axis when I tried to take it from the Direction port I got a signal in CW and not in CCW so I figure I will get more constant signal from the Pulse (Step) port the reason I need this is when I look at the machine from a distance I would like to see an LED movement representation
Reply With Quote

  #4   Ban this user!
Old 11-03-2011, 12:21 PM
Khalid's Avatar  
Join Date: Apr 2006
Location: Pakistan
Age: 32
Posts: 2,850
Khalid is on a distinguished road

I see drawbacks of addition of LEDs...Wasting of valuable voltages / signals...
__________________
http://free3dscans.blogspot.com/ http://my-woodcarving.blogspot.com/
http://my-diysolarwind.blogspot.com/
Reply With Quote

  #5   Ban this user!
Old 11-03-2011, 04:58 PM
 
Join Date: May 2010
Location: USA
Posts: 23
neric is on a distinguished road

Khalid,
I see your point. BTW the wood carving you do is AWESOME!!! and I appriciate your opinion...however I do need visual feed back system for my machine.
any ideas
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 11-03-2011, 05:57 PM
 
Join Date: Jan 2007
Location: USA
Posts: 355
Eurisko is on a distinguished road

How about this:

When a pulse is detected, light the led. If no more pulses arrive within the next second, turn it off. Easy with a microcontroller, could also be done with a cmos flip-flop and a 555 timer.
__________________
Diplomacy is the art of saying "Nice doggie" until you can find a rock. - Will Rogers
Reply With Quote

  #7   Ban this user!
Old 11-03-2011, 09:28 PM
 
Join Date: May 2010
Location: USA
Posts: 23
neric is on a distinguished road

Eurisko,
Thanks that what I was looking for low power application. Now I have no idea how to put it together if is not too much of a problem can you draw a schematics I don’t know how to work with logics ICs but I can read the schematics
Reply With Quote

  #8   Ban this user!
Old 11-03-2011, 10:28 PM
doorknob's Avatar  
Join Date: Jan 2010
Location: USA
Posts: 1,240
doorknob is on a distinguished road
Buy me a Beer?

You may want to do a google search for "missing pulse detector".

You will probably find a number of 555-based circuits which might be suitable (you will have to pay attention to the timing-related components to get a good match to your step pulse rate, and you may need to handle things differently depending on whether your step pulse configuration is "active high" or "active low", but the sample circuits will probably help get you started).
Reply With Quote

  #9   Ban this user!
Old 11-04-2011, 08:39 AM
 
Join Date: May 2010
Location: USA
Posts: 23
neric is on a distinguished road

Doorknob,
Thank you very much!!
I will prototype this circuit and will see if it works for me. In regard to this I have a question the 1.1*R*C formula is this timing should repent the 35000hZ kernel I am using (mach3) or is that a setting for the visual pulse rate? When reading the documentations they said that the correct choice of should be 30% to 40% more of the pulse rate and I am wondering if it is the right ratio.
Reply With Quote

  #10   Ban this user!
Old 11-04-2011, 05:45 PM
 
Join Date: Jan 2007
Location: USA
Posts: 355
Eurisko is on a distinguished road

neric,

Try setting up the 555 (as a missing pulse detector) for a pulse train with a period of 1 second. The 35kHz kernel speed doesn't matter.

Your stepper controller will output pulses at a variable rate, depending on the axis speed at that time. The 555 should be looking for pulses each second, and turn the led off if no pulse is detected in its "1 second window". This will give a second of led "on time".

Here's a link to more 555 timer circuits:

LM555 Timer Circuits

Also, Forrest Mims has written numerous books detailing these 555 circuits. Radio Shack sells the books and the 555 timer, too.

Keep us posted, and I'll try not to overcomplicate things. Do we even NEED a flip flop???
__________________
Diplomacy is the art of saying "Nice doggie" until you can find a rock. - Will Rogers
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 11-05-2011, 11:27 AM
 
Join Date: May 2010
Location: USA
Posts: 23
neric is on a distinguished road

thanx,
I'll keep you posted ...hope it is going to work
Reply With Quote

  #12   Ban this user!
Old 11-11-2011, 08:47 PM
 
Join Date: May 2010
Location: USA
Posts: 23
neric is on a distinguished road
final solution

it is all working for my liking, so here it is I attached a zip file. the input is from the Step ports of the XYZ and the 5 VCC from USB port the LED might need 120 to 150 Ohms resistors Each, 1/8 W will be just fine.
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
Need Help!- COAXIAL INDICATOR tjd10684 General Metalwork Discussion 12 04-27-2011 06:53 PM
The K2 Z Axis Indicator - anyone know about it ? Geetar-ist K2CNC 11 02-28-2010 01:33 PM
Best Coaxial indicator to buy? aaron p CNCzone Club House 3 03-05-2009 01:30 AM
Very odd indicator readings aaron p CNCzone Club House 3 03-02-2009 05:16 PM
Dial indicator hkrok Product Announcements & Manufacturer News 1 08-16-2007 07:49 PM




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