Propulsion control - Digital ??

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Propulsion control - Digital ??

1,067 次查看
DayanandPatil
Contributor I

Hi guys, i am a software engineer using Qoriva to build up the Line following Car as a hobby.I used the sample code and tested all the basic working of the things.I need one small calrification for the propulsion control part.As per the code and the wiring the pins used for motorl control seems to be Digital i.e we either switch on or off.On checking the TC5074B reference manual i find that those pins do not have the alternate function of PWM generation.So my question is am i supposed to generate PWM signal out of this digital pin in the traditional

way of "" enable pin-delay-disable pin-delay "" mechanism ??

Or am i missing something ?? By the way the ports are PB[0[ ,PB[1].

标记 (1)
0 项奖励
回复
2 回复数

935 次查看
DayanandPatil
Contributor I

Thank you for the reply...appreciate it

Regards,

Dayanand.

0 项奖励
回复

935 次查看
TomasPavliek
Contributor I

Hi, h-bridges have connected two input pins, enable (ENDL, ENDR) and input2 (PWML, PWMR). You should generate PWM on PWMx inputs (PortB 14, 15), and set enable input to log. 1.

0 项奖励
回复