bigtreetech / BIGTREETECH-SKR-mini-E3

BIGTREETECH SKR-mini-E3 motherboard is a ultra-quiet, low-power, high-quality 3D printing machine control board. It is launched by the 3D printing team of Shenzhen BIGTREE technology co., LTD. This board is specially tailored for Ender 3 printer, perfectly replacing the original Ender3 printer motherboard.
2k stars 1.98k forks source link

[BUG] SKR E3 V3.0 Fan assignments and firmware updates needed #658

Open srettew opened 2 years ago

srettew commented 2 years ago

I just installed an E3 V3.0 on my Ender 3 Pro. This is regarding the 3 fan assignments and getting them to work correctly. I confirmed the following by checking function:

FAN0 (PC6) = Part cooling fan FAN1 (PC7) = Hotend cooling fan FAN2 (PB15) = Control board cooling fan

FAN0 turns on correctly by using fan speed control on TFT35 FAN1 turns on correctly when hotend temp is goes above 50 degrees and turns off when lower than 50 degrees FAN2 is the problem. This is supposed to turn on when a driver is activated. I get nothing when I manually move any of the axis using the movement control on TFT35.

Where in the config_h file can I find PB15 and what is the correct code fix to make it work?

I also can not locate this path for pins. Where is it?

Marlin/src/pins/stm32g0/pins_BTT_SKR_MINI_E3_V3_0.h

radek8 commented 2 years ago

Can you send your configuration files?

srettew commented 2 years ago

It’s the config that is available on GitHub for Ender 3 Pro and SKR Mini E3 V3.0.

StrawberryD24 commented 2 years ago

Having the same issue on an ender 3. The part fan won't turn on at all

radek8 commented 2 years ago

You have to allow

define USE_CONTROLLER_FAN

and define the pin

define CONTROLLER_FAN_PIN PB15

StrawberryD24 commented 2 years ago

@radek8 which file(s) need to be modified for the pin definitions? Can you share an example config?

radek8 commented 2 years ago

file Configuration_adv.h

image

StrawberryD24 commented 2 years ago

@radek8 Thanks for your for the insight but I have already done that. I have no issue with the board controller fan and hot end fan. my Issue is with the part cooling fan supposedly PC6 in the firmware.

I compared the pinout on the Box and user manual for the V3 board vs those published on their site and the firmware. Turns out on the pin diagrams shown on both the box and the user manual on their github, the pins are listed as : HB - PC6 E0 - PC9 Fan2 - PB15 Fan0 - PC7 Fan1 - PC0

Whereas the pins in stm32g0 defines them as

define HEATER_0_PIN PC8 // "HE"

define HEATER_BED_PIN PC9 // "HB"

define FAN_PIN PC6 // "FAN0"

define FAN1_PIN PC7 // "FAN1"

define FAN2_PIN PB15 // "FAN2"

Board_1 Board_zoom pins

StrawberryD24 commented 2 years ago

Here is the Box I think it's a bigger issue than just firmware 1660798198411 1660798198394 1660798198421 e

radek8 commented 2 years ago

@StrawberryD24 Yes, you are right, the description of the pins on the cse does not match the definition of the pins in the pin file.

@bigtreetech, can you comment on the fan pin definition issue and fix it?¨

radek8 commented 2 years ago

if you think that there is a poorly defined set of pins in Marlin, create a ticket in the Marlin repository with a request for a correction, or propose a correction yourself.

https://github.com/MarlinFirmware/Marlin/issues

StrawberryD24 commented 2 years ago

@radek8 thanks a mil for your help. It will be my first request for correction on GitHub hope I do it right lol

WebSpectrum commented 1 year ago

is this correct?:

FAN0 (PC6) = Part cooling fan FAN1 (PC7) = Hotend cooling fan FAN2 (PB15) = Control board cooling fan

or this:

FAN0 (PC6) = Part cooling fan FAN1 (PC7) = Control board cooling fan FAN2 (PB15) = Hotend cooling fan

I see a mix of information

radek8 commented 1 year ago

@WebSpectrum The part cooling fan is defined in the pin file.

define FAN_PIN PC6 // "FAN0"

You define the hot end cooling fans and control boards in the configuration file configuration_adv.h

define E0_AUTO_FAN_PIN

define CONTROLLER_FAN_PIN

WebSpectrum commented 1 year ago

Hello,

In the manual it shows FAN0 as PC0 ?

Regards

Paul Maher

Web Spectrum - http://www.webspectrum.co.uk www.webspectrum.co.uk

22+ Years Professional Web Design/Development & High-End SEO

Adobe Community Professional

Phone: 07837 903056

From: Radek @.> Sent: 09 March 2023 19:41 To: bigtreetech/BIGTREETECH-SKR-mini-E3 @.> Cc: WebSpectrum @.>; Mention @.> Subject: Re: [bigtreetech/BIGTREETECH-SKR-mini-E3] [BUG] SKR E3 V3.0 Fan assignments and firmware updates needed (Issue #658)

@WebSpectrum https://github.com/WebSpectrum The part cooling fan is defined in the pin file.

define FAN_PIN PC6 // "FAN0"

You define the hot end cooling fans and control boards in the configuration file configuration_adv.h

define E0_AUTO_FAN_PIN

define CONTROLLER_FAN_PIN

— Reply to this email directly, view it on GitHub https://github.com/bigtreetech/BIGTREETECH-SKR-mini-E3/issues/658#issuecomment-1462670505 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AFPZZ6J7OKJMKM4GOU2LURLW3IW6TANCNFSM5ZOF32VA . You are receiving this because you were mentioned. https://github.com/notifications/beacon/AFPZZ6NI5WYAGLU7TNBHRVLW3IW6TA5CNFSM5ZOF32VKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOK4XJJKI.gif Message ID: @. @.> >

radek8 commented 1 year ago

Send a link to the mentioned manual.

WebSpectrum commented 1 year ago

https://github.com/bigtreetech/BIGTREETECH-SKR-mini-E3/blob/master/hardware/BTT%20SKR%20MINI%20E3%20V3.0/Hardware/BTT%20SKR%20MINI%20E3%20V3.0%20user%20manual.pdf

Regards

Paul Maher

Web Spectrum - http://www.webspectrum.co.uk www.webspectrum.co.uk

22+ Years Professional Web Design/Development & High-End SEO

Adobe Community Professional

Phone: 07837 903056

From: Radek @.> Sent: 10 March 2023 11:42 To: bigtreetech/BIGTREETECH-SKR-mini-E3 @.> Cc: WebSpectrum @.>; Mention @.> Subject: Re: [bigtreetech/BIGTREETECH-SKR-mini-E3] [BUG] SKR E3 V3.0 Fan assignments and firmware updates needed (Issue #658)

Send a link to the mentioned manual.

— Reply to this email directly, view it on GitHub https://github.com/bigtreetech/BIGTREETECH-SKR-mini-E3/issues/658#issuecomment-1463683463 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AFPZZ6KWCANE3J4INHFODSLW3MHRBANCNFSM5ZOF32VA . You are receiving this because you were mentioned. https://github.com/notifications/beacon/AFPZZ6KF2FBUUWI7ZOW5FQDW3MHRBA5CNFSM5ZOF32VKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOK47ATBY.gif Message ID: @. @.> >

radek8 commented 1 year ago

@radek8 děkuji mil za vaši pomoc. Bude to moje první žádost o opravu na GitHubu, doufám, že to udělám správně lol

@StrawberryD24 Can you send a detail photo of your SKR board? It looks like your board is not from BTT, but an imitation from another manufacturer. :-)

WebSpectrum commented 1 year ago

Hi - I purchased from Amazon here: https://www.amazon.co.uk/dp/B09LQQP4RF . I think it is genuine?

On 10 Mar 2023 at 11:56, Radek @.***> wrote:

@radek8 děkuji mil za vaši pomoc. Bude to moje první žádost o opravu na GitHubu, doufám, že to udělám správně lol

@StrawberryD24 Can you send a detail photo of your SKR board? It looks like your board is not from BTT, but an imitation from another manufacturer. :-)

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

radek8 commented 1 year ago

It seems that BTT has chaos in the documentation

SKR mini E3 V3.0

image

SKR mini E3 V3.0 image

SKR mini E3 V3.0.1 image

radek8 commented 1 year ago

This layout will probably be faulty.

image

Wully616 commented 1 year ago

Just purchased today from amazon and seeing the same issue, the board documentation makes no sense. Can someone confirm the fan pin layout?

mianos commented 1 year ago

I used

#if ENABLED(USE_CONTROLLER_FAN)
  #define CONTROLLER_FAN_PIN PC8 // PB15

Based on the PCB 3.0.1 screen print above and I seem to have a 'whole system' fan as fan 3 in the menu that can be be controlled with PCM 0-100%.

The board is marked 3.0. The box is marked 3.0 but the D/C is 2023 1.6, right from the fab by the look of it. (under the main text it says 'new' in Chinese.

mogfink commented 1 year ago

So I'm having a related but dissimilar issue if anyone has any insight... I'm using the io pins to control rgbw LEDs through MOSFETs, everything works except that when the board fan is on the blue LEDs light, and when I switch on the blue LEDs it tries to run the board fan for a moment until both fan and blue LEDs go off, I'm using pin pd4 for the blue LEDs and the board fan is on fan1

RLProteus commented 1 year ago

I have been facing the same issue with fan headers and this is what worked for me using the precompiled firmware that shipped with my Mini E3 V3 and Ender 3 Pro.

FAN0 - Part cooling fan - Confirmed by sending M106 S255 via Octoprint's Terminal which runs the fan at 100%. FAN1 - Hotend fan - Confirmed by heating hotend to 200c, fan kicks on at 50c FAN2 - Controller fan - Confirmed by using Octoprint to move the X/Y motors and the fan runs for 1-2minutes.

tim-speight commented 9 months ago

HOW DO YOU KNOW IF YOU HAVE A 3.0 OR A 3.0.1? My boards case say's New and manufactured 2022.12.31

radek8 commented 9 months ago

According to the wiring diagram, it looks like the difference is in the CPU used V3.0 - STM32G0B1RCT6 V3.0.1 - STM32F401RCT6

tim-speight commented 9 months ago

OK It definitely is a v3.0. But I am wondering if it is a fake.I used the Marlin firmware distinctly for a v3.0 and the pinouts are running the wrong elements. I wonder if there were a dodgy batch of boards BIQU manufactured in 2022. The Box wiring with random PC0 & PC6 assignments is worrying. How did U get on Strawberry?