Skip to content

SmallPond/WirelessTuning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

WirelessTuning

I have added wireless tuning functionality to SimpleFOC Studio and am attempting to merge it into the upstream. Correspondingly, we need to redirect the outputs of the Simple FOC Commander and Monitor to the Wireless interface on the Arduino side.

WirelessTuning supports wireless parameter tuning for SimpleFOC and can act as glue code between the Commander and Monitor. This requires no modifications to any code in SimpleFOC.

WirelessTuning encapsulates and implements a stream class that uses TCP for data transmission and reception.

simplefoc_studio

BLDCMotor motor = BLDCMotor(7);
BLDCDriver3PWM driver = BLDCDriver3PWM(MO0_1, MO0_2, MO0_3);

WirelessTuning wireless = WirelessTuning(4242);
Commander commander = Commander(wireless, '\n', false);


void setup()
{
    motor.useMonitoring(wireless);
    wireless.begin(ssid, passwd);
}


void loop()
{
    commander.run();
    motor.monitor();
}

About

supports wireless parameter tuning for SimpleFOC

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages