FYSETC / FYSETC-S6

FYSETC Board - 32bit 3d printer motherboard
https://www.aliexpress.com/item/4000345369228.html
49 stars 25 forks source link

Pwm Fan issue #6

Open andysport opened 4 years ago

andysport commented 4 years ago

So, today I have installed a S6 board on my ender 3. Drivers, endstops, stepper motors, bed and hotend work find, but I have a strange behavior when I power on pwm layer fan. Infact in FAN0 connector it run always at 100% of speed. If I connect the fan on FAN1, it is always off. At last, if I connect the fan FAN2, finally it works as aspect ( pwm mode). I want to specify that the hotend is connect to E0 24V connector, and the thermistor is connected on TE0 connector. Could anyone explain me this behavior, or help me to resolve this? Thanks

GerogeFu commented 4 years ago

Try this branch https://github.com/FYSETC/Marlin-2.0.x-FYSETC/tree/S6/2.0.x

andysport commented 4 years ago

I tried to compile many times but I have an error when VS create firmware.elf The error is showed in the picture. I specify that there are no warning or errors when I compile the firmware. 20200306_070652

GerogeFu commented 4 years ago

Is the .bin file created ? If you generate the hex file fail you may need to open vscode using Administrator Account

andysport commented 4 years ago

Unfurtunately no .bin is created, I 'll compile the firmware with administrator account. However I had no problem if use vanilla Marlin version.

GerogeFu commented 4 years ago

I test again , if you just download the branch and change nothing , it can be compiled.

andysport commented 4 years ago

Ok. I made some change because I have, ender 3 lcd, tmc2130 driver ( spi), manual bed levelling, adaptive smoothing, s_curve acceleration. I compile the firmware with cr10 stocklcd voice in configuration.h

andysport commented 4 years ago

So, finally I have compiled the firmware and I test it as download and with my configuration. Both the firmware have the same behavior and the issue describe before it's always present

GerogeFu commented 4 years ago

I tested the fan again. It works. Check your fan voltage selection . You can choose 12V or 24V for your fan with a jumper. Test the fan using command "M106 S255" to turn on the fan and "M106 S0" to turn off the fan.

andysport commented 4 years ago

So, thanks for your support. Few minute ago I did some test and as you say the FAN 1 and 2 work as aspect but for fan 1 there is a bug in marlin because if I want to turn on the fan 1 with lcd when I press on the Fan 2 voice in temperature menù, the system show me the Fan 3. I think that's is a bug. For FUN 0 I think there is something broken because it works always at 100 % speed. How I can verify this?