how configure EMC2 in raspberry pi (GPIO )
- Anis
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 0
25 Jun 2014 23:34 #48243
by Anis
how configure EMC2 in raspberry pi (GPIO ) was created by Anis
I installed EMC2 in my RPi to control stepper motor.
when configure EMC axis, I don't found GPIO number of RPi but rather the pin's number of parport !!.
in fact in stepper motor drive has 6 input (PUL+ ;DIR+ ; PUL-; DIR-; EN+ ;EN-)
so how to configure EMC or linuxcnc in raspberry(IMG2) to connect it to this stepper motor drive (IMG1)
when configure EMC axis, I don't found GPIO number of RPi but rather the pin's number of parport !!.
in fact in stepper motor drive has 6 input (PUL+ ;DIR+ ; PUL-; DIR-; EN+ ;EN-)
so how to configure EMC or linuxcnc in raspberry(IMG2) to connect it to this stepper motor drive (IMG1)
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23178
- Thank you received: 4861
26 Jun 2014 07:00 #48248
by andypugh
The RPi GPIO is 3.3V, and not 5V safe. 3.3V might not be enough to operate the stepper drive, but I would try:
1) Connect all the + pins to 3.3V on the IO connector
2) Connect the - pins of pulse and dir to the relevant GPIO pins.
3) connect to -EN pin to 0V.
Replied by andypugh on topic how configure EMC2 in raspberry pi (GPIO )
n fact in stepper motor drive has 6 input (PUL+ ;DIR+ ; PUL-; DIR-; EN+ ;EN-)
The RPi GPIO is 3.3V, and not 5V safe. 3.3V might not be enough to operate the stepper drive, but I would try:
1) Connect all the + pins to 3.3V on the IO connector
2) Connect the - pins of pulse and dir to the relevant GPIO pins.
3) connect to -EN pin to 0V.
Please Log in or Create an account to join the conversation.
- washingtonnuness
- Offline
- New Member
Less
More
- Posts: 1
- Thank you received: 0
01 May 2020 22:39 #166383
by washingtonnuness
Replied by washingtonnuness on topic how configure EMC2 in raspberry pi (GPIO )
Do you find a solution ?
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23178
- Thank you received: 4861
01 May 2020 23:00 #166386
by andypugh
Replied by andypugh on topic how configure EMC2 in raspberry pi (GPIO )
You found a 6 year old thread, when even the controller name as different
Yes LinuxCNC works great on the Pi4. It can work on the Pi3 and Pi2 but _only_ using the SPI interface.
Pi4 can use Ethernet and Mesa cards.
The not-yet-released-but available has drivers for the Pi GPIO too.
Yes LinuxCNC works great on the Pi4. It can work on the Pi3 and Pi2 but _only_ using the SPI interface.
Pi4 can use Ethernet and Mesa cards.
The not-yet-released-but available has drivers for the Pi GPIO too.
Please Log in or Create an account to join the conversation.
- bbsr_5a
- Offline
- Platinum Member
Less
More
- Posts: 544
- Thank you received: 105
02 May 2020 08:34 #166393
by bbsr_5a
Replied by bbsr_5a on topic how configure EMC2 in raspberry pi (GPIO )
just use a 8bit arduino logic level shifter to convert bidirectional ports
Please Log in or Create an account to join the conversation.
Time to create page: 0.166 seconds