EFeru / hoverboard-firmware-hack-FOC

With Field Oriented Control (FOC)
GNU General Public License v3.0
1.12k stars 932 forks source link

Change control mode with USART signal #472

Closed matshey closed 6 months ago

matshey commented 6 months ago

Variant

USART

Control type

FOC

Control mode

Torque

Description

Hi, I have build a hoverboard setup so students can learn the basics of controlling a mobile robot. The setup is controlled with a raspberry pi via USART. I would like to know if it is possible in the firmware to make the control mode dependent on a signal sent via USART. This way the control mode could be changed without flashing the firmware.

Candas1 commented 6 months ago

Hi,

Have you looked at the wiki already?

matshey commented 6 months ago

Hi,

I did look at the wiki! But I only found information about changing the control mode in the firmware before flashing, not about changing the control mode after flashing.

Candas1 commented 6 months ago

Then I think you haven't checked the page for the usart variant.