Controlling DC motors using Pi - Raspberry Pi Forums
hi all,
working on robotic project , encountering difficulties in controlling 2 dc motors. anyway, using raspberry pi 3 , dual channel 10a dc motor driver drive 2 dc motors (dual shaft self-locking dc worm gear motor). using driver drive bigger motor capacity , make them work servo motor. managed send signal , run motors can't stop them running. please help, thankful.
in fact, have little knowledge on controlling motors.. if can guide me or show me reference grateful .
working on robotic project , encountering difficulties in controlling 2 dc motors. anyway, using raspberry pi 3 , dual channel 10a dc motor driver drive 2 dc motors (dual shaft self-locking dc worm gear motor). using driver drive bigger motor capacity , make them work servo motor. managed send signal , run motors can't stop them running. please help, thankful.
code: select all
import rpi.gpio gpio import time gpio.setmode(gpio.board) gpio.setup(12,gpio.out) pwm=gpio.pwm(12,100) pwm.start(20) time.sleep(1) pwm.stop()
hi.
able need know motor control board using , , how have connected pi.
boards required more 1 connection, there speed , direction , stop-star, depending on board depends how achieved.
able need know motor control board using , , how have connected pi.
boards required more 1 connection, there speed , direction , stop-star, depending on board depends how achieved.
raspberrypi
Comments
Post a Comment