![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| General Electronics Discussion Discuss basic electronics, power supplies and anything else electronic related here. |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
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 |
|
#2
| ||||
| ||||
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. |
|
#3
| |||
| |||
| 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 |
|
#6
| |||
| |||
| 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 |
|
#7
| |||
| |||
| 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 |
|
#8
| ||||
| ||||
| 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). |
|
#9
| |||
| |||
| 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. |
|
#10
| |||
| |||
| 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 |
| Sponsored Links |
|
#12
| |||
| |||
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. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
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 |