linorobot / lino_docs

Documentation files for Linorobot
http://linorobot.org
4 stars 7 forks source link

PWM on speed controller #1

Closed wujiang closed 7 years ago

wujiang commented 7 years ago

Thank you very much for the documentation! It helps a lot. I'm a little confused about how the speed controller gets PWM signal from teensy. Is the ENA pin also a PWM pin? I'm trying to use VNH5019 instead. If you have a schematic for VNH5019 it will be great. Thank you!

grassjelly commented 7 years ago

Hey there,

You may try using this diagram. Connect the driver's PWM pin(M1PWM) to Teensy's PWM pin (ie MOTOR1_PWM) https://github.com/grassjelly/linorobot/blob/master/arduino/firmware/lib/config/lino_base_config.h#L37

I haven't tried this driver but it should work. Hope this help.

Sent from my iPhone

On 17 May 2017, at 12:33 PM, Wu Jiang notifications@github.com wrote:

Thank you very much for the documentation! It helps a lot. I'm a little confused about how the speed controller gets PWM signal from teensy. Is the ENA pin also a PWM pin? I'm trying to use VNH5019 instead. If you have a schematic for VNH5019 it will be great. Thank you!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

wujiang commented 7 years ago

Understood. Confirmed ENA and ENB connect to PWM. Thank you! Closing.