motor control from RSSI value