-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
M80 not working at v1.2 #7
Comments
Because v1.2 is only sensitive on power-off (LOW) signal :( |
Need a STC15 firmware modification ? |
Any one think it's possible to simply connect the RST pin to a pin on the SKR1.3 and make the pin go HIGH to turn on the power supply? The 5+ pin next to the RST pin registers as 4.68V, which is lower than 5V. Wonder if 3.3v from the SKR will be enough to trigger the rearm. |
I've rigged up a 2n 3806 to trigger the reset and it seems to work. I have the Base connected to a 1K resistor where I plan to hook up to the Z endstop pin, the Collector to the +5v, and the Collector to the RST pin. I plan to modify the firmware so M80 invokes the RST pin with the transistor and M81 shuts down the PSU. |
OK my comment from before works with a tweek. For those that are interested, here is what I did. BOM:
Wiring Marlin Code Modification MarlinCore.h Search for 'PSU_CONTROL' Change (or comment out with double slash) This should allow you to do a M80 to turn on the relay and then a M81 to turn off the relay. |
Easier to buy the old version 1.0 from banggood. |
Thanks for this info! If I knew it'd be such a hassle, I would've bought the old version 1.0. Sucks that the source wasn't released for the firmware for v1.2 |
Done! Took my about 2 hours to get all the details..... it was an easy reverse eng. I never saw something like this... this board is .... ehhm ehmm... funny. 1) Activate the M80 what you need to do is:
and magically M80 and M81 are now supported... Here a shot during the rework: I suggest to use a coin to shield the AD/DC converter, kepton tape is nice so no 0603 componets wil fly away with hot air. Here the bridge: All golden and shiny? well not really.... please continue reading. 2) Increase the impedance of the input pin Well this is technical but IMHO an important point. Problem is R4, wait for it... here it comes... it is freaking 100 Ohm!!!!! Zuckme...... so basically this input is draining about 25mA from the Marlin µC output PS_ON_PIN pin, which is no bueno. You should stay below 20mA, way below.... I almost could not believe it. So 25mA current base to turn on a NPN? No thank you.... this is hilarious. This explain why I was measuring 2.7V at the PS_ON_PIN when the PSU was on.... with 25mA the 3.3V state high pin out voltage were going bananas.... So I swapped the R4 with 1KR (1KOhm) resistor, and voila... I was down to ca.... 3mA.... If you do not have that resistor laying around like me you could take the R13... which is 1.8KR and is there only for the short circuit detection (see my post above).... which is not functional anyway without the STC15. Here the finish (Zuk)hack: There is no need change any parameter on the Marlin SW even If you don't know what I am talking about, just leave it. Hey BIGTREETECH.... I am so sorry... but this is what you delivered to me... |
I have a SKR Mini E3 v2.0. No problem. |
Works fine on BTT GTR V1.0! Thanks @Zuckme |
I only switched pins to the SG connector and it work without any modifications, still I'm going to replace 100 ohm resistor later |
Mine had also the SG connector pins in the wrong position, M81 works without any mod/hack. For M80 you need to do some hacks. |
Good job. Works perfectly!! thanks |
I Managed it in an unusual way with my octopus Pro 426 and the Relay 1.2. Then i degraded it and installed an SolidStateRelay with the Power-Pins from my Octopus Pro board. Thank you Bigtreetech for Junk in my Basement. But why complicated when you can install a same priced Solid-State Relay. |
G-code M80 not working with V1.2, but working with V1.0.
The text was updated successfully, but these errors were encountered: