Creating pulses through parallel port
- unknown
- Offline
- Premium Member
-
Less
More
- Posts: 125
- Thank you received: 51
21 Feb 2025 01:19 #322146
by unknown
Replied by unknown on topic Creating pulses through parallel port
What also helps if you give an overview of your complete project, rather than just a little bit at a time.
If you just want to run a single stepper Linuxcnc may be overkill, operating the parallel port via a simple C program may be easier, but that will mean obtaining permissions from the kernel to do these, and running in user space may not give consistent timings for the stepper.
The other option would be to have a hardware base approach and use python or what ever to control when the stepper runs & stops.
Even a simple Arduino sketch controlled by via a serial connection would be easy. Depending on the library used you could have control over decel & accel.
If you just want to run a single stepper Linuxcnc may be overkill, operating the parallel port via a simple C program may be easier, but that will mean obtaining permissions from the kernel to do these, and running in user space may not give consistent timings for the stepper.
The other option would be to have a hardware base approach and use python or what ever to control when the stepper runs & stops.
Even a simple Arduino sketch controlled by via a serial connection would be easy. Depending on the library used you could have control over decel & accel.
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
Time to create page: 0.046 seconds