Hello, I am building an electric skateboard using a BLDC motor and two HC-12 for the wireless control. The problem is that when I start sending values from the potentiometer the motor starts spinning very roughly. I think the values being sent are unstable making it hard for the motor to spin smoothly, if so, is there a way I can smooth out the values being sent?
transmitter_HC12.ino (413 Bytes)
receiver_HC12.ino (529 Bytes)