Can't get motor to run using COMM port on vesc 6 MKVI and arduino mega with a potentiometer and SolidGeeks UART library
Forums:
Hey, I am trying to control my motor with an arduino and a potentiometer lever, but I can't get any control at all, I have no issue revving the motor with vesc tool, and I have no issue reading values from the potentiometer on the mega. But connecting them is where nothing happens. I am using UART communication with Serial1 port on the arduino mega (18 and 19 for TX and RX) to the COMM port on the vesc 6 MKVI. The vesc is powering the arduino board and the vesc is powered by a 12v battery.