- Posts: 6
- Thank you received: 0
New member with questions
- fivefivesix
- Offline
- New Member
-
I have 5v at the driver pin, I switched the common from 5v back to ground and was getting about 3v from step and direction to ground. It appears to have output from the card. going to hook up the output of the card to an oscilloscope and see what the pulses look like.Rick G wrote: Did you double check you do have 5 volt on the input of the drivers?
How did you create the configuration? Stepconf?
Rick G
I used the drop down menu for the Gecko 201 since it is my understanding that this is an older design of one. Have tired tweaking the step and space but they have for the most part been wild guesses. I have not been able to find what I should be putting for a Centent driver in the step config.
Please Log in or Create an account to join the conversation.
- cncbasher
- Offline
- Moderator
-
- Posts: 1021
- Thank you received: 202
pin 8 dir
pin 9 step
pin 10 +5v
connect +5v to from the bob to pin 10 ( important )
and ground from the bob to pin 12( of the 5v supply )
and the direction & step to the approprate pins on the bob
pins 1 & 2 are your supply for the steppers from your psu's
you should have a current resistor between ground pin 12 & pin 11 of between 12k -15k
i'm not too happy with them being fixed at 10 microsteps , but we shall see .
settings in your hal file say :
setp stepgen.0.steplen 1
setp stepgen.0.stepspace 0
setp stepgen.0.dirhold 35000
setp stepgen.0.dirsetup 35000
will get you started .
Please Log in or Create an account to join the conversation.
- fivefivesix
- Offline
- New Member
-
- Posts: 6
- Thank you received: 0
Thank you for wiring info,cncbasher wrote: the centent is
pin 8 dir
pin 9 step
pin 10 +5v
connect +5v to from the bob to pin 10 ( important )
and ground from the bob to pin 12( of the 5v supply )
and the direction & step to the approprate pins on the bob
pins 1 & 2 are your supply for the steppers from your psu's
you should have a current resistor between ground pin 12 & pin 11 of between 12k -15k
i'm not too happy with them being fixed at 10 microsteps , but we shall see .
settings in your hal file say :
setp stepgen.0.steplen 1
setp stepgen.0.stepspace 0
setp stepgen.0.dirhold 35000
setp stepgen.0.dirsetup 35000
will get you started .
Not sure how to update the hal file, how would this relay to step, space, hold and setup in the step config screen?
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
-
- Posts: 19899
- Thank you received: 4655
fivefivesix wrote: ]Not sure how to update the hal file, how would this relay to step, space, hold and setup in the step config screen?
Once you have things pretty much working then you probably need to stop using stepconf and start using a text editor to tweak the HAL file directly. HAL has more flexibility than any GUI Wizard can ever cover without becoming more complicated and impenetrable than text-editing.
As for what the numbers mean, they are very similar to the stepconf numbers, except that the step length and step space are not controlled by the step-generator directly in most configs, instead the "reset" function is used to control the step pulse length, and the base thread frequency ensures adequate step space. The "reset" function is a simple function that is called some time after parport-write and just checks that it has been at least reset-time nanoseconds since the parport step pins were set high and if so, sets them low. If not, it waits then resets. There is a slight performance advantage to be gained from putting other base-thread functions in the "gap" between parport-write and parport-reset so that the system is working rather than waiting.
Please Log in or Create an account to join the conversation.
- fivefivesix
- Offline
- New Member
-
- Posts: 6
- Thank you received: 0
Once I have a permanent computer to run it I will start playing with the HAL file.
Please Log in or Create an account to join the conversation.