5v drive enable on mesa board
- zmcdona1
- Topic Author
- Offline
- New Member
Less
More
- Posts: 14
- Thank you received: 0
17 Jan 2018 22:31 #104645
by zmcdona1
5v drive enable on mesa board was created by zmcdona1
Hey everyone again, my machine is working great but i have a ghetto switch to enable the driver.
i saw this video
and tried to do the same thing which is plugging the drive enable wire which is just 5v into DIR3+ A-AXIS
but i don’t get any power out of that pin.
has anyone done something similar?
thanks
i saw this video
and tried to do the same thing which is plugging the drive enable wire which is just 5v into DIR3+ A-AXIS
but i don’t get any power out of that pin.
has anyone done something similar?
thanks
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17983
- Thank you received: 4834
17 Jan 2018 23:28 - 17 Jan 2018 23:29 #104650
by PCW
Replied by PCW on topic 5v drive enable on mesa board
You can use the 4th axis step/dir signal as 5V enable signals if you like, you need to:
1. Enable only 3 stepgens (this frees the GPIO pins that drive the step3/dir3 pins (plus the stepgen 4 and 5 pins))
2. Find the GPIO pins that match the stepgen3 step/dir signals
sudo mesaflash --device 5i25 --readhmid
can help here
3. Set the GPIO pins into output mode ( set the is_output attribute for the stepgen3 GPIO pins )
man hostmot2 can help here
4. Chose the output pin (from the stepgen + or - pins) that disables the drive at startup
1. Enable only 3 stepgens (this frees the GPIO pins that drive the step3/dir3 pins (plus the stepgen 4 and 5 pins))
2. Find the GPIO pins that match the stepgen3 step/dir signals
sudo mesaflash --device 5i25 --readhmid
can help here
3. Set the GPIO pins into output mode ( set the is_output attribute for the stepgen3 GPIO pins )
man hostmot2 can help here
4. Chose the output pin (from the stepgen + or - pins) that disables the drive at startup
Last edit: 17 Jan 2018 23:29 by PCW.
The following user(s) said Thank You: zmcdona1
Please Log in or Create an account to join the conversation.
- zmcdona1
- Topic Author
- Offline
- New Member
Less
More
- Posts: 14
- Thank you received: 0
18 Jan 2018 16:32 #104670
by zmcdona1
Replied by zmcdona1 on topic 5v drive enable on mesa board
thank you, ill give that a shot.
where do you get all your info is there documentation for this somewhere?
or maybe ill just be lazy and put a relay on one of the outputs.
where do you get all your info is there documentation for this somewhere?
or maybe ill just be lazy and put a relay on one of the outputs.
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17983
- Thank you received: 4834
18 Jan 2018 16:54 #104672
by PCW
Replied by PCW on topic 5v drive enable on mesa board
Did you run Mesaflash to see what GPIO pins connect to the stepgen 3 pins on the 7I76?
Did you look at the hostmot2 manual in the GPIO section?
Did you look at the hostmot2 manual in the GPIO section?
Please Log in or Create an account to join the conversation.
- zmcdona1
- Topic Author
- Offline
- New Member
Less
More
- Posts: 14
- Thank you received: 0
18 Jan 2018 17:09 #104676
by zmcdona1
Replied by zmcdona1 on topic 5v drive enable on mesa board
im at work right now, ill give it a go when i get free.
Please Log in or Create an account to join the conversation.
- zmcdona1
- Topic Author
- Offline
- New Member
Less
More
- Posts: 14
- Thank you received: 0
18 Jan 2018 18:47 #104683
by zmcdona1
Replied by zmcdona1 on topic 5v drive enable on mesa board
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17983
- Thank you received: 4834
18 Jan 2018 19:07 #104684
by PCW
Replied by PCW on topic 5v drive enable on mesa board
You use the I/O number not the connector pin number so the GPIO pins associated with stepgen 3 are GPIO6 and GPIO7
once you disable stepgens above 2 you need to set GPIO6 (and or) GPIO7 to output mode (they are inputs if not set into output mode) and then you manipulate the output state by linking the GPIO output pin to the proper signal in your hal file
once you disable stepgens above 2 you need to set GPIO6 (and or) GPIO7 to output mode (they are inputs if not set into output mode) and then you manipulate the output state by linking the GPIO output pin to the proper signal in your hal file
Please Log in or Create an account to join the conversation.
- zmcdona1
- Topic Author
- Offline
- New Member
Less
More
- Posts: 14
- Thank you received: 0
18 Jan 2018 20:17 #104694
by zmcdona1
Replied by zmcdona1 on topic 5v drive enable on mesa board
im trying to figure out how to edit my hal, i have never done this before.
having a rough time setting the num_stepgens=3
any helping tips?
having a rough time setting the num_stepgens=3
any helping tips?
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17983
- Thank you received: 4834
18 Jan 2018 20:27 #104695
by PCW
Replied by PCW on topic 5v drive enable on mesa board
can you post your current hal file here? (as an attachment)
Please Log in or Create an account to join the conversation.
- zmcdona1
- Topic Author
- Offline
- New Member
Less
More
- Posts: 14
- Thank you received: 0
18 Jan 2018 20:32 #104696
by zmcdona1
Replied by zmcdona1 on topic 5v drive enable on mesa board
Please Log in or Create an account to join the conversation.
Time to create page: 0.120 seconds