SRA-VJTI/sra-board-component

Mode selection for Motor Driver

Closed this issue · 3 comments

esp_err_t enable_motor_driver_a(int mode);

In the pdf which @ombhilare999 sent about the new design of SRA board, he mentioned that the mode of the motor drivers will be selected with the help of switches. So, what is the need of selecting the mode from the code?

@VedantParanjape @laukik-hase Was the idea of selecting the mode with switches scrapped?

Even if we select the mode with switches, we need to use the appropriate control lines in the code depending on the mode.

Switches will make the changes on Hardware level, and then on software level we'll need to use the pins accordingly.

If this solves your issue, close it :)

SRA_BOARD_2020.pdf

This is the pdf I mentioned

This is previous iteration pdf.
In new version pin configuration has been changed, all the pins are mention on the top layer itself:
https://github.com/SRA-VJTI/sra-board-hardware-design/blob/master/documentation/images/board_images/top_silkscreen.png

more info:
https://github.com/SRA-VJTI/sra-board-hardware-design