Hi peoples,
I am trying to setup rs485 to my Huanyang VFD and have followed the instructions given on the wiki but am not getting any pulses out of the smoothie board. I have a ‘smoothieboard V1.0a’ and have updated the firmware to build edge-24da5ce.
I am monitoring with my CRO with 1V horiz div and 25us vert div.
-> 3.3V is good
-> rx is 0V and no pulses when M3 S3000 or M5 sent
-> tx is 3.3V and no pulses when M3 S3000 or M5 sent
config is setup exactly as shown on wiki:
spindle.type modbus # set the spindle type to modbus/RS485
spindle.vfd_type huanyang # set the VFD type, this is necessary because each inverter uses its own commands
spindle.rx_pin 2.6 # TX pin for the soft serial
spindle.tx_pin 2.4 # RX pin for the soft serial
spindle.dir_pin 2.5 # RS485 is only half-duplex, so we need a pin to switch between sending and receiving
Was getting cold in my shed last night and had to depart.Thanks Arthur, yes that was a rookie mistake. However, I put ‘spindle.enable true’ in the config and restarted and still getting nothing on my CRO. I was hoping that would work. Looks like it needs a deeper dive and will look into Antonios post.
I am also using a https://www.sparkfun.com/products/10124
Antonio post stated ‘and no one worked for me’ which means that it didn’t work for him right?
Regardless if the board works or not I should still be able to see logic coming out of the smoothieboard on my CRO.
Hello @Colin_Wildsmith . I hope the following comments could help in some way. Only two circuits (for me) worked for modbus connection. Sparkfun breakout board is one of the breakouts that didn’t work for me. The other two breakout boards (chinese boards) mentioned in the post did the job.
I suggest to focus on vfd parameters related with frequency operation value. There are programs on vfd that must be changed in order to requested rpm’s could work as expected.
I don’t know if I read wrong, but, Arthur said something about in detail related with sparkfun breakout board. He saw the signals in oscilloscope (send and receive operations were ok in the vfd, but nothing happens).
Ok I installed the’firmware-latest.bin’ and your saying I should have just downloaded ‘firmware-CNC-latest’? I looked at the read me file and it said you require s a pregnant style LCD. I chose the other one as I use my machine for both printing and machining. That’s one of the features of the smoothie board that made me use it. I will install for this test and let you know if it works.
Thanks for the feedback