SimpleFocStudio not plotting

Hi all, im trying to use the SimpleFOCStudio tool, but I I cannot see it working.

im running in OS X Bigsur using an esp32 and vscode.
im able to connect it and the enable device seems to actively flowing or stopping the current into the motor, but I cannot see any plot, any message in the command line.

image

image

is my setup correct to work with the commander?

I’ve also found some errors outputting in the terminal.

simpleFOCConnector.py", line 872, in run
self.handle_received_data(reading.decode())
UnicodeDecodeError: ‘utf-8’ codec can’t decode byte 0xc2 in position 19: invalid continuation byte

Hey @bgvsan,

You need to add the motor.monitor() to your arduino loop and everything should be working then.
See the code exammple in the readme:
https://github.com/JorgeMaker/SimpleFOCStudio#arduino-code

1 Like

I have missing this during the copy ad paste from the example.
Got something plotting now.
Still got some issue in the terminal, and commands not fully working, I will dig into deeper, and open an issue if I can replicate on the SimpleFOCStudio git hub.
Thanks