Help to connect Arduino Mega 2560 with Huanyang VFD 1.5kw spindle

I am trying unsuccessfully to connect the Arduino Mega 2560 with Huanyang VFD 1.5kw spindle. Can anyone please provide or point some guidance on how to make it work? Thank you

The technical data sheet of the spindle controller digital interface is required, but most probably not available. The controller doesn't look like being designed for remote control.

The instruction manual is to be found here.

Communication with the controller is via RS485, with the factory setting being 9600 Baud, 8N1. (see page 54 onwards).

Communications look to be pretty straight forward. Of course you need a RS-485 adapter. They even have the CRC code in C at the end of the doc.

But, why use an Arduino for this? I would think a PC with a graphical interface would be more appropriate, or get the factory controller and use the system today.

Paul

JohnLincoln:
The instruction manual is to be found [here](http://“http://“http://“http://www.cnc4you.co.uk/resources/VFD CNC4YOU.pdf”””).

Communication with the controller is via RS485, with the factory setting being 9600 Baud, 8N1. (see page 54 onwards).

And via normal I/O terminals too.
vfd1.jpg
Tom… :slight_smile: