Raspberry pi pico NEMA34 Stepper
Posted: Thu Nov 04, 2021 2:36 pm
Hello everyone. I bought NEMA34 nad CS-D808 driver (30V-80V) . I asked him can I run this with 24V and he says yes but now it isn't working. Is it to code or is it because vol is not enough? Here is my code
I connected DIR- , PUL- , ENA- to GND. I connected DIR+ to pin 4 ,PUL+ to pin 3, ENA+ to pin 2 .
Is this code correct?
Can I run this with 24V-6A ? Top of the driver, It says (VDC 30V-80 V)
Code: Select all
from machine import Pin
import time
import utime
dirPin = Pin(4, Pin.OUT)
stepPin = Pin(3, Pin.OUT)
enaPin = Pin(2, Pin.OUT)
dirPin.high()
while True:
stepPin.high()
time.sleep_us(200)
stepPin.low()
time.sleep_us(200)
Is this code correct?
Can I run this with 24V-6A ? Top of the driver, It says (VDC 30V-80 V)