This page gives the settings to allow an SST-031 to work with a JD2 Hall effect throttle pedal.
We used the standard basic_PWM_control_v1_1 as a basis and modified the user settings so that it read as follows;
let ramp_time = 10 ; Set period in millisecs to wait between changing PWM duty cycle value.
let ramp_increment = 5 ; Set step size for increasing duty cycle. Picaxe PWM duty cycle is between 1 and 199.
let ramp_decrement = 15 ; Set step size for decreasing duty cycle. Picaxe PWM duty cycle is between 1 and 199.
let min_voltage_value = 45 ; Set input value below which motor should be stopped. Above this value motor will start.
let max_voltage_value = 200; The input value at which motor should be at maximum speed (0-255)
This gave a smooth acceleration, and a much faster deceleration which was required for this particular sewing machine application.
If you have found this article useful please share it to help others discover it