BIGTREETECH-Relay-V1.2 icon indicating copy to clipboard operation
BIGTREETECH-Relay-V1.2 copied to clipboard

Auto off after 15 second

Open BaxMax80 opened this issue 5 years ago • 50 comments

Hello, I connected relay with BTT SKR MINI E3 V1.2 by PT-DET. After around 15 second after I on my printer relay automatically turn off printer. Is there any solve of this issue?

BaxMax80 avatar Dec 12 '19 21:12 BaxMax80

I am not sure if this is your problem but the software shutdown function has quite a long delay (not sure exactly but on the order of 10 seconds) so maybe what you are seeing is the symptom of the shutdown signal pin being shorted. Check your connection to the pin marked "S" on the middle connector. Shutdown is activated (apparently) by setting this pin low for several seconds. It's not exactly documented as such so I may be wrong...

combolek avatar Dec 29 '19 03:12 combolek

I'm also having the same problem. I'd connected PC12 to S and GRN to G. I'd tryed with the 5V to 5V and GRN to GRN connection. Applied all marlin changes from the manual, and added, including the missing PS_ON_PIN missing declaration in the pins_BTT_SKR_MINI_E3.h file. Poor documentation doesn't help at all...

gonzaloalbito avatar Jan 10 '20 23:01 gonzaloalbito

I'm also faced this problem. The board shuts off printer after 15 seconds after switching ON or resetting.

bryan-pl avatar Jan 27 '20 17:01 bryan-pl

Mine shutdowns the printer even without being connected to the board, so I suspect it may be related to a defective relay. It seems there are few more people with this problem. I've just read a reddit post from a guy with the same problem. It seems BTT doesn't pay attention to their tickets or emails anyways.

gonzaloalbito avatar Jan 28 '20 08:01 gonzaloalbito

Probably I've found the root cause of problem. Relay 1.2 needs HIGH level on input from mainboard to be active and LOW level for shut down. The input is not pulled to HIGH from Vcc by default, so with no signal on input module will shut down after 15s. Unfortunately SKR mini E3 1.2 is not setting the proper level on PT-DET after power on (even set properly in marlin configuration). The appropriate level on PT-DET is set after power off / on sequence set from display / controller. I need to check the possible bug in marlin for Mini E3 to have it exact set.

bryan-pl avatar Feb 01 '20 20:02 bryan-pl

I have a Ender 3 with SKR v1.2, to make it work I just set the PSU_ACTIVE_HIGH as FALSE.

image

The relay signal pin must receive 5v to keep the printer ON, when it receives 0v it will wait for 10s ~ 15 seconds and shut the printer off.

The PSU_ACTIVE_HIGH parameter defines what is the default signal the board will send to the pin: FALSE = 5v and TRUE = 0v

The M80 sends the default signal to the pin and the M81 sends the opposite signal.

jffabreu avatar Feb 13 '20 12:02 jffabreu

This is my configuration from the beggining but it's not working for me at all... image

gonzaloalbito avatar Feb 15 '20 01:02 gonzaloalbito

I'd been checking the PT-DET PC-12 voltage with both PSU_ACTIVE_HIGH=true and PSU_ACTIVE_HIGH=false. First thing I noticed is there is no 5v signal as someone suggested before. When PSU_ACTIVE_HIGH=false then there are 0v on boot. When I power off manually from the menu then it gets about 3.3v and it returns to 0v when I power on manually again. When PSU_ACTIVE_HIGH=true then there are 0v on boot. When I power off manually from the menu it still keeps 0v and it goes to 3.3v when I power on manually again. It seems it always boots at 0v no matter which value you select here.

gonzaloalbito avatar Feb 15 '20 02:02 gonzaloalbito

Even you have PSU_ACTIVE_HIGH=true and rest of Marlin configured OK, there is a bug in Marlin / SKR mini E3 behaviour after startup keeping the PS_ON_PIN low after startup. The workaround is below. Go to MarlinCore.cpp file , find the function void setup(); //line 823 add within this function a below line PSU_ON();

I've added above line before end of setup() function - (line 1118); Compile marlin and upload new firmware.bin file into SKR Mini E3. Then you have the expected behaviour of motherboard and relay.

bryan-pl avatar Feb 15 '20 11:02 bryan-pl

Even you have PSU_ACTIVE_HIGH=true and rest of Marlin configured OK, there is a bug in Marlin / SKR mini E3 behaviour after startup keeping the PS_ON_PIN low after startup. The workaround is below. Go to MarlinCore.cpp file , find the function void setup(); //line 823 add within this function a below line PSU_ON();

I've added above line before end of setup() function - (line 1118); Compile marlin and upload new firmware.bin file into SKR Mini E3. Then you have the expected behaviour of motherboard and relay.

It worked perfectly, thank you!!!

gonzaloalbito avatar Feb 16 '20 19:02 gonzaloalbito

I also faced with this problem. I used bryan-pl solution but nothing happens. Mayne I did something wrong Could you show me fragment of code which I should change? Tnx

robus1 avatar Jul 20 '20 17:07 robus1

Hey, I'm not trying to change the subject, but what about connecting the relay to the tft35 e3 v3.0 monitor? It has an option to turn off printer after done and a power port for this option I think. However since so much of the btt upgrade parts have no documentation or very poor documentation, how is end user to know. I was watching a YouTube video somewhere and it mentioned that the relay could be connected to either mainboard or monitor. Any ideas? I'd prefer not to have to mess with firmware since I'm very new and not sure where to start or what to do. thanks,

flatcapper avatar Jul 22 '20 01:07 flatcapper

There is already a separate ticket for the TFT35 connection (issue #6).

combolek avatar Jul 22 '20 02:07 combolek

combolek, yep there sure is, however no one has answered the issue for the other user either. While waiting for you all to get around to possible suggestions, I went ahead and hooked the relay up and connected the jumper from middle power of relay that is for auto off, to the 2.pin.power option on.my tft35. Guess what happened? How about the printer powers up and then shuts down about 15 seconds later. However the great news is my instant reset momentary button worked like a charm. Now if someone that knows how to make the relay work with the tft35 board me and question (=6) would greatly appriciate it. Also after reading all these comments it doesn't sound like I even want to mess with the firmware as its hit or.miss if it works. I'm way to new to start messing with the pins folder in addition to the config-h folder, then flashing the firmware.. So recomend away. Just before you point someone to another member asking a question, how about making sure someone had answered it first. Otherwise it makes no sense.

flatcapper avatar Jul 22 '20 07:07 flatcapper

Hello, I m newbie :) I have an ender 3 pro with SKR Mini E3 v2.0 TFT35 v3.0 and Autopoweroff module. I m not able to modify and compile firmware....is there anyone that can help me or send me a working firmware.bin ? Please! Thank you

Davideq74 avatar Jul 22 '20 07:07 Davideq74

Hello David, I am in the same boat as you are in. I have a ender 3 pro that I installed the btt skr mini e3 v2.0 mainboard and tft35 e3 v3.0., and want to connect the btt relay v1.2 automatic shutoff module. I didn’t want to have to reconfigure firmware which I here may not work either, and would like to just connect to the tft35 monitor. I was told to refer to your question #6 for answer. However after clicking on the link to this question, I found that no one had answered or supplied any potential answers to the issue. I don’t have any answers for you either. I installed the relay and can confirm that it does indeed shut off the printer 10-20 seconds after powering up. Sadly the plug that goes from relay to monitor isn’t receiving any signal to keep relay turned on. I did install a reset switch using a momentary pushbutton switch which does work to turn the printer back on. However it only turns off once again after 10-20 seconds. I’ve read several other posts about this problem and they were installing the relay connected to the mainboard with the same issue. The printer just shuts off after a interval of time each and every time. They said you have to go into the firmware and make changes to the psu control settings, and then re-flash the firmware onto the mainboard. Does this then change all the other settings that are working in the printer, or does this just change the section of firmware that you changed? I don’t know and not sure If I want to play around. Sorry I don’t have an answer for you, but it also doesn’t sound like anyone else does either. Good luck and please let me know if someone tells you how to get the relay to work. Sincerely, Perry P

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10

From: Davideq74mailto:[email protected] Sent: Wednesday, July 22, 2020 12:53 AM To: bigtreetech/BIGTREETECH-Relay-V1.2mailto:[email protected] Cc: flatcappermailto:[email protected]; Commentmailto:[email protected] Subject: Re: [bigtreetech/BIGTREETECH-Relay-V1.2] Auto off after 15 second (#2)

Hello, I m newbie :) I have an ender 3 pro with SKR Mini E3 v2.0 TFT35 v3.0 and Autopoweroff module. I m not able to modify and compile firmware....is there anyone that can send me a working firmware.bin ? Please! Thank you

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fbigtreetech%2FBIGTREETECH-Relay-V1.2%2Fissues%2F2%23issuecomment-662302583&data=02%7C01%7C%7C38fb8878fd024934911808d82e144800%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637310011918820805&sdata=%2Fs2Z3wXCDlxkeqABAHkZ6NnfccOqnuOVL15TpfxzKoo%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAP6GGX6RSKCCZVXRISKFOILR42LGPANCNFSM4J2EQO4Q&data=02%7C01%7C%7C38fb8878fd024934911808d82e144800%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637310011918830800&sdata=C2l%2BEgrWfJW3zIrGbM3diy2P7EKAL9UysRgYQ22pEvk%3D&reserved=0.

flatcapper avatar Jul 23 '20 00:07 flatcapper

Hi, I am having the same issue.10sec after powering the printer the BTT relay shuts it off. The solution bellow did not work. Anyone has suggestions

Even you have PSU_ACTIVE_HIGH=true and rest of Marlin configured OK, there is a bug in Marlin / SKR mini E3 behaviour after startup keeping the PS_ON_PIN low after startup. The workaround is below. Go to MarlinCore.cpp file , find the function void setup(); //line 823 add within this function a below line PSU_ON();

I've added above line before end of setup() function - (line 1118); Compile marlin and upload new firmware.bin file into SKR Mini E3. Then you have the expected behaviour of motherboard and relay.

alkis01 avatar Jul 26 '20 12:07 alkis01

That's the other thing I found. The psu settings in the latest Marlin software were not at line 823, but were at line 1118. I guess that doesn't matter as it all depends on which version of marlin your working with. And it sounds like it still didn't work for you.

Get Outlook for Androidhttps://aka.ms/ghei36


From: alkis01 [email protected] Sent: Sunday, July 26, 2020 5:06:17 AM To: bigtreetech/BIGTREETECH-Relay-V1.2 [email protected] Cc: flatcapper [email protected]; Comment [email protected] Subject: Re: [bigtreetech/BIGTREETECH-Relay-V1.2] Auto off after 15 second (#2)

Hi, I am having the same issue.10sec after powering the printer the BTT relay shuts it off. The solution bellow did not work. Anyone has suggestions

Even you have PSU_ACTIVE_HIGH=true and rest of Marlin configured OK, there is a bug in Marlin / SKR mini E3 behaviour after startup keeping the PS_ON_PIN low after startup. The workaround is below. Go to MarlinCore.cpp file , find the function void setup(); //line 823 add within this function a below line PSU_ON();

I've added above line before end of setup() function - (line 1118); Compile marlin and upload new firmware.bin file into SKR Mini E3. Then you have the expected behaviour of motherboard and relay.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fbigtreetech%2FBIGTREETECH-Relay-V1.2%2Fissues%2F2%23issuecomment-663979780&data=02%7C01%7C%7Cbc8481eb0b4346b83a5e08d8315c4dba%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637313619786722840&sdata=JdasTyur4qVds5Arlrjz0pPNs2S16G6kh%2BOu8NVfbNc%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAP6GGX6JFB4PO5NUCCMUDN3R5QL3TANCNFSM4J2EQO4Q&data=02%7C01%7C%7Cbc8481eb0b4346b83a5e08d8315c4dba%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637313619786722840&sdata=qJExnT%2BSQIfgPQtAotmV%2FVQhTuI4ZfVnRQu1yUD%2BNsA%3D&reserved=0.

flatcapper avatar Jul 26 '20 17:07 flatcapper

I feel a bit dumb, but found my problem. The cable that came with the BTT relay had it's wires reversed, so i swap them and the relay works fine

alkis01 avatar Jul 26 '20 17:07 alkis01

Alkis you're great👍😀Cables in the connector should be crossed

robus1 avatar Jul 26 '20 18:07 robus1

OMG! Are they mad?!?! I will try at the end of august after holidays... thank you for yours testa and infos!

Davideq74 avatar Jul 26 '20 18:07 Davideq74

Hello robus1, did you also have to make changes in the firmware also. I assume that you plugged into the skr mainboard? I’m trying to plug into the tft35 as the relay v1.2 is supposed to also work that way. BTT wrote me back on AliExpress and said to plug into the ps-on port, however it’s a 3 pin port so which two ports do I plug the two pin plug into. They also said to change the firmware for the tft35 but they didn’t say what to change. I’m thinking not much help and if they would just simply make some basic documentation on how to install their products instead of making the customer do all the leg work. Someday somebody is going to come out with a 3d printer and upgrade parts that are easily plug n play just like on modern computers and make a killing in the 3d printer market. They could charge more and I wouldn’t care if I could decide one day I wanted to add a automatic shutoff feature and all I had to do was wire it in, plug the plugs in where they go and then activate the option from the touch screen. Now wouldn’t that be nice. Same with automatic bed leveling.. Well I’m glad you got your relay working. Mine’s still in a box collecting dust.. Happy trails, Perry

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10

From: alkis01mailto:[email protected] Sent: Sunday, July 26, 2020 10:53 AM To: bigtreetech/BIGTREETECH-Relay-V1.2mailto:[email protected] Cc: flatcappermailto:[email protected]; Commentmailto:[email protected] Subject: Re: [bigtreetech/BIGTREETECH-Relay-V1.2] Auto off after 15 second (#2)

I feel a bit dumb, but found my problem. The cable that came with the BTT relay had it's wires reversed, so i swap them and the relay works fine

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fbigtreetech%2FBIGTREETECH-Relay-V1.2%2Fissues%2F2%23issuecomment-664020134&data=02%7C01%7C%7C45c1af348e914ee5c4c608d8318ccf18%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637313828116909638&sdata=3CxyInFDUZqyxw3sAnxNSediCryxpRwfqkg2SCN67p8%3D&reserved=0, or unsubscribehttps://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAP6GGX47LZI5B4CFW64JM2LR5RURVANCNFSM4J2EQO4Q&data=02%7C01%7C%7C45c1af348e914ee5c4c608d8318ccf18%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637313828116909638&sdata=nZH4rpuVRwWR%2FPiq%2FTGGvUb1k4osOO1g7Ci2K4RlBfM%3D&reserved=0.

flatcapper avatar Jul 29 '20 01:07 flatcapper

No didn't change firmware. I only change wires in connector. My o pinion about BBt accessories is the same. They are not plug'n'play like BBt said

robus1 avatar Jul 30 '20 05:07 robus1

Hello! Has anyone firmware.bin working with poweroff module enabled? I tested voltage under 2 pin connector on mainboard bit have no 5 volts....

Davideq74 avatar Aug 03 '20 15:08 Davideq74

I did the MarlinCore.cpp and Configuration.h changes and works fine.

This is my Configuration.h: image

And this is my MarlinCore.cpp image

Please confirm the relay doesn't turn off your machine when not plugged in to the mainboard because one friend of mine received a defective one which was always turning off no matter the pin was up or down.

gonzaloalbito avatar Aug 03 '20 15:08 gonzaloalbito

Hello everyone, I hooked my relay up through the tft35 and it's working great now. BTT sent me the info I needed to get it to work. I plugged the 2 pin lead from the relay into the ps-on socket to the tft35. Then in the firmware config.ini file made change to the ps-on to 1. Now at least when I power on the printer it stays on.I do here the relay clicking as it checks the power on the relay port. I will include photos from them. Not sure if it will turn off after print is done as I can't get my bltouch to work hence no prints. I've tried everything and everytime I power the printer after flashing the firmware it gets warnings that leveling is off, and low drift is off. However I've made sure in config.h that drift is uncommented (// removed), as well as auto-homing activated. I've tried with the plugs from bltouch plugged into the z-port, and also with the 3 pin plug into z-port and 2 pin into a stop. Tried with z_pin_port commented and un-commented with same results. I'll keep at it today.[Image]

Get Outlook for Androidhttps://aka.ms/ghei36

[Image][Image]


From: Gonzalo Albito Méndez Rey [email protected] Sent: Monday, August 3, 2020 8:31:15 AM To: bigtreetech/BIGTREETECH-Relay-V1.2 [email protected] Cc: flatcapper [email protected]; Comment [email protected] Subject: Re: [bigtreetech/BIGTREETECH-Relay-V1.2] Auto off after 15 second (#2)

I did the MarlinCore.cpp and Configuration.h changes and works fine.

This is my Configuration.h: [image]https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F9137516%2F89199436-d69f2080-d5ae-11ea-9f6d-1cab85f253bc.png&data=02%7C01%7C%7C7f27d80ebf444687981108d837c242fc%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637320654766637392&sdata=FVsfkQtHF2%2FVfOULQGvdWoxnYRE8%2BJNv8X%2Bq4h%2BTysg%3D&reserved=0

And this is my MarlinCore.cpp [image]https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F9137516%2F89199485-e585d300-d5ae-11ea-8fab-d9271011b819.png&data=02%7C01%7C%7C7f27d80ebf444687981108d837c242fc%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637320654766647386&sdata=9UaPTSiUbiG8Rh%2F9N3nozT2r5S%2BPVAbinW9pct9mmfs%3D&reserved=0

Please confirm the relay doesn't turn off your machine when not plugged in to the mainboard because one friend of mine received a defective one which was always turning off no matter the pin was up or down.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fbigtreetech%2FBIGTREETECH-Relay-V1.2%2Fissues%2F2%23issuecomment-668088092&data=02%7C01%7C%7C7f27d80ebf444687981108d837c242fc%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637320654766657384&sdata=H9hc%2FoisUYBg75oqzJs3qFGZXBPCxAy9DdQa7ERjbQ0%3D&reserved=0, or unsubscribehttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAP6GGX4TMERKEA5S36JJLPDR63J4HANCNFSM4J2EQO4Q&data=02%7C01%7C%7C7f27d80ebf444687981108d837c242fc%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637320654766667377&sdata=X4rEb99W8qMLuqTG3svarypzBVZSTIN%2FFDXcOBGSLAw%3D&reserved=0.

flatcapper avatar Aug 03 '20 17:08 flatcapper

2 pin on the tft35? Not on skr mini e3? Instructions i found said to put 2 pin connector on skr mini e3... o_O

Davideq74 avatar Aug 03 '20 19:08 Davideq74

Davideq74, yep the instructions I got were from btt specifically for the tft35. I didn't want to mess with the firmware for the mainboard, and besides, the tft35 is supposed to be able to handle the relay, filament sensor, wifi, and several other things I'm forgetting. If you look at the photos I've posted they were for the tft35. I can say as far as working. so far it does. Before I had the relay connected to the tft35 but plugged into the power socket which was a 2 pin. Made sense to me, but btt said to plug into the tft35 ps_on socket using the gnd, and pc12 pins. I just dont know if the printer shuts down after print. I'll get there if I can get my bltouch to work. Trying to find some pre-compiled firmware for the skr mini e3 v2.0 mainboard with bltouch. Hope this helps. Perry

Get Outlook for Androidhttps://aka.ms/ghei36


From: Davideq74 [email protected] Sent: Monday, August 3, 2020 12:14:35 PM To: bigtreetech/BIGTREETECH-Relay-V1.2 [email protected] Cc: flatcapper [email protected]; Comment [email protected] Subject: Re: [bigtreetech/BIGTREETECH-Relay-V1.2] Auto off after 15 second (#2)

2 pin on the tft35? Not on skr mini e3? Instructions i found said to put 2 pin connector on skr mini e3... o_O

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fbigtreetech%2FBIGTREETECH-Relay-V1.2%2Fissues%2F2%23issuecomment-668195155&data=02%7C01%7C%7C374b3b597a8143d1a21b08d837e17689%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637320788774882768&sdata=JrlENqNeEUv1RdqHXBk3COAgFg%2BtM6f2Uz%2BacxY5X2g%3D&reserved=0, or unsubscribehttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAP6GGX7L5QGF2R7KJF3B7GLR64EBXANCNFSM4J2EQO4Q&data=02%7C01%7C%7C374b3b597a8143d1a21b08d837e17689%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637320788774892766&sdata=w7Oxtr7mXSHXacmiV3ql1FcA8ff2mgCiz4n3Ovop3Qw%3D&reserved=0.

flatcapper avatar Aug 03 '20 19:08 flatcapper

thank you alkis01 , i was ready to give up till i found your comment about the cable and look at both boards, low and behold the pins are reverse. they could have put that on the instruction manual.

got mine working on my skr mini e3 v2

plugged the relay to the ps-on pin of skr mini(reversed the signal and ground on one end of the cable) then uncommented the following in the configuration.h

#define PSU_CONTROL #define PSU_NAME "Power Supply" #if ENABLED(PSU_CONTROL) #define PSU_ACTIVE_HIGH true

be sure that that the pin number is correct #define PS_ON_PIN PC13 (on skr mini e3 v2 its pc13, it might be different on your board) Screen Shot 2020-08-05 at 3 14 56 AM

hope this helps

kalawang2000 avatar Aug 04 '20 19:08 kalawang2000

merci alkis01, j'étais prêt à abandonner jusqu'à ce que je trouve votre commentaire sur le câble et regarde les deux cartes, bas et voici les broches sont inversées. ils auraient pu mettre cela sur le manuel d'instructions.

le mien fonctionne sur mon skr mini e3 v2

branché le relais sur la broche ps-on de skr mini (inversé le signal et la masse à une extrémité du câble) puis décommenté ce qui suit dans la configuration.

#define PSU_CONTROL #define PSU_NAME "Alimentation" #if ENABLED (PSU_CONTROL) #define PSU_ACTIVE_HIGH true

assurez-vous que le numéro de broche est correct #define PS_ON_PIN PC13 (sur skr mini e3 v2 son pc13, il peut être différent sur votre carte) Capture d'écran 05/08/2020 à 3 14 56 AM

J'espère que cela t'aides

Hello ! I tested on my SKR E3 Mini V1.2 and it doesn't work

BenoitGrou69 avatar Aug 14 '20 14:08 BenoitGrou69

Hello, has anyone a compiled file firmware.bin (modified for relay module 1.2) for SKR mini E3 v2.0 for Ender 3 pro without BLtouch? I m not able to modify Marlin and recompile.... Thank u

Davideq74 avatar Aug 17 '20 13:08 Davideq74

Davideq74, yep the instructions I got were from btt specifically for the tft35. I didn't want to mess with the firmware for the mainboard, and besides, the tft35 is supposed to be able to handle the relay, filament sensor, wifi, and several other things I'm forgetting. If you look at the photos I've posted they were for the tft35. I can say as far as working. so far it does. Before I had the relay connected to the tft35 but plugged into the power socket which was a 2 pin. Made sense to me, but btt said to plug into the tft35 ps_on socket using the gnd, and pc12 pins. I just dont know if the printer shuts down after print. I'll get there if I can get my bltouch to work. Trying to find some pre-compiled firmware for the skr mini e3 v2.0 mainboard with bltouch. Hope this helps. Perry Get Outlook for Androidhttps://aka.ms/ghei36 ________________________________ From: Davideq74 [email protected] Sent: Monday, August 3, 2020 12:14:35 PM To: bigtreetech/BIGTREETECH-Relay-V1.2 [email protected] Cc: flatcapper [email protected]; Comment [email protected] Subject: Re: [bigtreetech/BIGTREETECH-Relay-V1.2] Auto off after 15 second (#2) 2 pin on the tft35? Not on skr mini e3? Instructions i found said to put 2 pin connector on skr mini e3... o_O — You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fbigtreetech%2FBIGTREETECH-Relay-V1.2%2Fissues%2F2%23issuecomment-668195155&data=02%7C01%7C%7C374b3b597a8143d1a21b08d837e17689%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637320788774882768&sdata=JrlENqNeEUv1RdqHXBk3COAgFg%2BtM6f2Uz%2BacxY5X2g%3D&reserved=0, or unsubscribehttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAP6GGX7L5QGF2R7KJF3B7GLR64EBXANCNFSM4J2EQO4Q&data=02%7C01%7C%7C374b3b597a8143d1a21b08d837e17689%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637320788774892766&sdata=w7Oxtr7mXSHXacmiV3ql1FcA8ff2mgCiz4n3Ovop3Qw%3D&reserved=0.

Hi, I can't see any photos...

Davideq74 avatar Aug 17 '20 13:08 Davideq74

merci alkis01, j'étais prêt à abandonner jusqu'à ce que je trouve votre commentaire sur le câble et regarde les deux cartes, bas et voici les broches sont inversées. ils auraient pu mettre cela sur le manuel d'instructions. le mien fonctionne sur mon skr mini e3 v2 branché le relais sur la broche ps-on de skr mini (inversé le signal et la masse à une extrémité du câble) puis décommenté ce qui suit dans la configuration. #define PSU_CONTROL #define PSU_NAME "Alimentation" #if ENABLED (PSU_CONTROL) #define PSU_ACTIVE_HIGH true assurez-vous que le numéro de broche est correct #define PS_ON_PIN PC13 (sur skr mini e3 v2 son pc13, il peut être différent sur votre carte) Capture d'écran 05/08/2020 à 3 14 56 AM J'espère que cela t'aides

Hello ! I tested on my SKR E3 Mini V1.2 and it doesn't work

did you fix the wiring? the pins on the skr relay is different from skr mini e3 v2.0

kalawang2000 avatar Aug 17 '20 17:08 kalawang2000

merci alkis01, j'étais prêt à abandonner jusqu'à ce que je trouve votre commentaire sur le câble et regarde les deux cartes, bas et voici les broches sont inversées. ils auraient pu mettre cela sur le manuel d'instructions. le mien fonctionne sur mon skr mini e3 v2 branché le relais sur la broche ps-on de skr mini (inversé le signal et la masse à une extrémité du câble) puis décommenté ce qui suit dans la configuration. #define PSU_CONTROL #define PSU_NAME "Alimentation" #if ENABLED (PSU_CONTROL) #define PSU_ACTIVE_HIGH true assurez-vous que le numéro de broche est correct #define PS_ON_PIN PC13 (sur skr mini e3 v2 son pc13, il peut être différent sur votre carte) Capture d'écran 05/08/2020 à 3 14 56 AM J'espère que cela t'aides

Hello ! I tested on my SKR E3 Mini V1.2 and it doesn't work

did you fix the wiring? the pins on the skr relay is different from skr mini e3 v2.0

I tested with multimeter 2 pins on SKR mini e3 v2 but no voltage detected...

Davideq74 avatar Aug 18 '20 12:08 Davideq74

Hello everyone, I am removing the btt relay v1.2 permanently as a failed piece of hardware. It's just sad when equipment all from the same manufacturer does not work together. And if the consumer is able to get it to work they had to reprogram their printer, as well as re-wire the jumper plug between the relay and the mainboard. Well I did all this and although my.printer stays on, however when I try to.heat either the hotbed or hotend my printer just instantly reboots. when it restarts if I again try to pre-heat either the hotbed or hotend it will once again reboot my printer. There is absolutely no excuse for a company to produce components like this that take so.much work. si

Get Outlook for Androidhttps://aka.ms/ghei36


From: Davideq74 [email protected] Sent: Tuesday, August 18, 2020 5:44:11 AM To: bigtreetech/BIGTREETECH-Relay-V1.2 [email protected] Cc: flatcapper [email protected]; Comment [email protected] Subject: Re: [bigtreetech/BIGTREETECH-Relay-V1.2] Auto off after 15 second (#2)

merci alkis01, j'étais prêt à abandonner jusqu'à ce que je trouve votre commentaire sur le câble et regarde les deux cartes, bas et voici les broches sont inversées. ils auraient pu mettre cela sur le manuel d'instructions. le mien fonctionne sur mon skr mini e3 v2 branché le relais sur la broche ps-on de skr mini (inversé le signal et la masse à une extrémité du câble) puis décommenté ce qui suit dans la configuration. #define PSU_CONTROL #define PSU_NAME "Alimentation" #if ENABLED (PSU_CONTROL) #define PSU_ACTIVE_HIGH true assurez-vous que le numéro de broche est correct #define PS_ON_PIN PC13 (sur skr mini e3 v2 son pc13, il peut être différent sur votre carte) [Capture d'écran 05/08/2020 à 3 14 56 AM]https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F16840005%2F89334949-e95a4800-d6c9-11ea-84fe-6df0d085594a.png&data=02%7C01%7C%7C1502d6e5fc4849fe57db08d843746863%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637333514523311761&sdata=o1KfgQTnBdP2UcwFH1PP52FH3rOOmv7ysvUgSZPBYvA%3D&reserved=0 J'espère que cela t'aides

Hello ! I tested on my SKR E3 Mini V1.2 and it doesn't work

did you fix the wiring? the pins on the skr relay is different from skr mini e3 v2.0

I tested with multimeter 2 pins on SKR mini e3 v2 but no voltage detected...

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fbigtreetech%2FBIGTREETECH-Relay-V1.2%2Fissues%2F2%23issuecomment-675455642&data=02%7C01%7C%7C1502d6e5fc4849fe57db08d843746863%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637333514523311761&sdata=EsWoF1bSb140PBMqFivVI7jZxPJEmbwypwcKYR76iKc%3D&reserved=0, or unsubscribehttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAP6GGX5XQ3ASNXBE6FE5A63SBJZRXANCNFSM4J2EQO4Q&data=02%7C01%7C%7C1502d6e5fc4849fe57db08d843746863%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637333514523321758&sdata=GjteytdL6v3jAkLgHzMrsibdyycD6S1xeS%2FAo13jg1Y%3D&reserved=0.

flatcapper avatar Aug 18 '20 21:08 flatcapper

Hello, finally I solved that problem! :) First of all must verify cable connection, check if red and black wires coming from SKR MINI E3 are on the right side of plug. Then modify /check two config files:

Marlin\Configuration.h

#define PSU_CONTROL #define PSU_NAME "Power Supply"

#if ENABLED(PSU_CONTROL)

#define PSU_ACTIVE_HIGH true // Set 'false' for ATX, 'true' for X-Box

or (depends on firmware version)

#define PSU_ACTIVE_STATE HIGH // Set 'LOW' for ATX, 'HIGH' for X-Box

Marlin\src\pins\stm32f1\pins_BTT_SKR_MINI_E3_V2_0.h

#define PS_ON_PIN PC13 // Power Supply Control

Compile and intall. I solved the problem and Relay module works fine!

On two control pins now I have voltage when printer is powered on,and relay always stay excited until printing is finished!

I suggest to work on original Marlin Firmware and to customize it for yopur printer (not the source from BTT repository cause it gives many compiling errors...)

Davideq74 avatar Sep 09 '20 13:09 Davideq74

Hello Davideq74, I suppose I could re- assemble the relay v1.2 for the 4 time. I’ve not had any luck getting it to work, even when btt tech tells me where to connect it to my tft35. So I did as instructed, as well as making the changes needed in the tft35 firmware. Flashed the tft35, connected the 2 pin wire to where l was told to connect it. Powered on the printer and at least the thing stayed on. So decided to put the relay to the test. So selected something to print. Upon pushing the print button and my print bed turned on to begin heating my printer just shuts down. I mean its like someone pushed the reset button shutting down the printer, then it comes back on and reboots. I can not print with this relay connected to my printer. I also tried to connect to the mainboard (skr mini e3 v2.0), connected the relay 2 pin wire to the ps-on port I think. I would have to look. Also made the needed changes to the firmware and flashed the printer. Sadly, I experienced the same thing as when the relay was connected to my tft35. And I followed your instructions since I found the link where they told how to set up the relay. I don’t know what I’m doing different then those that are getting this relay to work. If you know anyone that wants one they are more then welcome to mine. Just pay me what I’m into it and they can have it. I do thank you for answering and am glad that the relay is working for you. I think that all these companies making upgrades for these 3d printers need to get their acts together and produce products that you don’t have to be a programmer in order to use their products. Sincerely, Perry P.

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10

From: Davideq74mailto:[email protected] Sent: Wednesday, September 9, 2020 6:17 AM To: bigtreetech/BIGTREETECH-Relay-V1.2mailto:[email protected] Cc: flatcappermailto:[email protected]; Commentmailto:[email protected] Subject: Re: [bigtreetech/BIGTREETECH-Relay-V1.2] Auto off after 15 second (#2)

Hello, finally I solved that problem! :) First of all must verify cable connection, check if red and black wires coming from SKR MINI E3 are on the right side of plug. Then modify /check two config files:

Marlin\Configuration.h

#define PSU_CONTROL #define PSU_NAME "Power Supply"

#if ENABLED(PSU_CONTROL)

#define PSU_ACTIVE_HIGH true // Set 'false' for ATX, 'true' for X-Box

or (depends on firmware version)

#define PSU_ACTIVE_STATE HIGH // Set 'LOW' for ATX, 'HIGH' for X-Box

Marlin\src\pins\stm32f1\pins_BTT_SKR_MINI_E3_V2_0.h

#define PS_ON_PIN PC13 // Power Supply Control

Compile and intall. I solved the problem and Relay module works fine!

I suggest to work on original Marlin Firmware and to customize it for yopur printer (not the source from BTT repository cause it gives many compiling errors...)

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://eur06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fbigtreetech%2FBIGTREETECH-Relay-V1.2%2Fissues%2F2%23issuecomment-689556766&data=02%7C01%7C%7C6d9ab471f79a43067cef08d854c2b0b3%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637352542443287587&sdata=QPXFgSDX9%2B68V9QV8Vuw46%2BZ5BzsBlloNsvjqh5cupg%3D&reserved=0, or unsubscribehttps://eur06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAP6GGX2S2WN3WVK7D7WT223SE556FANCNFSM4J2EQO4Q&data=02%7C01%7C%7C6d9ab471f79a43067cef08d854c2b0b3%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637352542443287587&sdata=WlJSrozMbAiWyB2S%2FWTScTeN0vCf%2FD39BLUUJ07gbOU%3D&reserved=0.

flatcapper avatar Sep 10 '20 03:09 flatcapper

In my SKR mini e3 V1.2, PT-DET PC-12 is not working.(I don't know why.) so,I connect neopixel pin and change pin assign. then,it works correctly. pins 1 2 IMG_20200911_141003 IMG_20200911_140719

egusa999 avatar Sep 11 '20 08:09 egusa999

Even you have PSU_ACTIVE_HIGH=true and rest of Marlin configured OK, there is a bug in Marlin / SKR mini E3 behaviour after startup keeping the PS_ON_PIN low after startup. The workaround is below. Go to MarlinCore.cpp file , find the function void setup(); //line 823 add within this function a below line PSU_ON();

I've added above line before end of setup() function - (line 1118); Compile marlin and upload new firmware.bin file into SKR Mini E3. Then you have the expected behaviour of motherboard and relay.

hi, can you explain it to me ? thanks

gleny91 avatar Oct 23 '20 17:10 gleny91

i can't find void setup. i found void setup kill pin

Thanks

gleny91 avatar Oct 23 '20 17:10 gleny91

I MANAGED.. THANKS ALOT

gleny91 avatar Oct 23 '20 17:10 gleny91

PLEASE MAKE SURE THE PSU PIN IS NOT REVERSED. IF IT IS REVERSED IT WILL MAKE IT SHUTDOWN EVEN AFTER YOU HAVE PRESSED THE BUTTON. MY CABLE WAS CAME REVERSED. STUPID MISTAKE.

BCTANBC avatar Jan 07 '21 11:01 BCTANBC

So I have got a Ender 3 with a SKR E3 mini 2.0 but I can't get the firmware to compile, anybody that can help me out?

th0547 avatar Jan 27 '21 12:01 th0547

I have a BTT Octopus V1.2 and BTT Relay V1.2. I am running KLIPPER so there is no configuration.h file to modify. I have the same problem as others in that the relay shuts off after about 15 seconds. To make matters even more confusing I am also using a BTT Mini UPS. I removed the UPS but still have the same problem. The Octopus has a dedicated connector for the relay and I have triple checked the wiring. It is correct as far as I can tell. I even tried reversing it but it didn’t help. I tried changing the pin state but KLIPPER a wouldn’t start if I modified the pin state. What do I need to do to allow this to function correctly on an Octopus V1.2 using KLIPPER?

dvan1954 avatar Dec 14 '21 10:12 dvan1954

I feel a bit dumb, but found my problem. The cable that came with the BTT relay had it's wires reversed, so i swap them and the relay works fine

Just to second this for anyone that needs this page later: not only is the wire that comes with the kit swapped, the image of proper board setup uses a swapped wire. In a truly terrible twist, matching this image means you should take some jumpers and connect the wires in reverse.

pranzatelli avatar Jan 11 '22 04:01 pranzatelli