bigtreetech / BIGTREETECH-SKR-V1.3

32bit board with LPC1768, support marlin2.0 and smoothieware, support lcd2004/12864, On-board TMC2130 SPI interface and TMC2208 UART interface no additional wiring is required
1.01k stars 1.15k forks source link

SKR v1.3 PS_ON Pin #32

Closed djice024 closed 5 years ago

djice024 commented 5 years ago

I am building my own 3d printer, it is a delta printer so I decided to go for a 32-bit board. After some research, I concluded that the SKR 1.3 was the best option. With only one problem. I want to use an ATX power supply but can't find a PS_ON# pin on the SKR 1.3. Is there any way I can assign a PS_ON# pin or cant this board do this? Thanks for the help in advance.

ghost commented 5 years ago

Try adding (Y_MAX pin as an example) into your pins file (pins_BIGTREE_SKR_V1.3.h) ..

#define PS_ON_PIN    P1_26

it ought to work OK.

The SKR 1.3 board is kind of short of pins, which is probably why no one has added the pin (don't know).

BigTreeTech could have made more physical pins available to the user very easily, maybe they didn't on purpose in order to maximize profits ? (new version soon). For a start, the CPU has 2 pins which aren't used at all (P1.0 and P0.26), you could solder to them if you're able. Then there are the 5 software UART Tx pins that could have had a pin header for the user to use as they so wish. And then they could also have put a pin header for the SPI motor lines (MOSI, MISO and SCK), though you can get to them under the driver boards.

djice024 commented 5 years ago

Yeah, the SKR 1.3 does have some flaws. I still feel it is better than just a RAMPS with a 32-bit controller. Doesn't the PS_ON need a connection to ground to turn on? And where will I be able to input the 5v? Thanks for the help.

ghost commented 5 years ago

You need to use a small NPN (with base current limiting resistor) between the boards PS_ON output pin and the ATX PS_ON input so that the SKR can pull the ATX's PS_ON pin low. Or a low gate voltage drive small N-channel FET in place of the NPN.

To power the SKR 1.3 from an external +5V supply ..

BTT_SKR_13_5V_PSU_Supply

djice024 commented 5 years ago

The transistor would be between the PSU's PS_On pin and ground, controlled by the SKR 1.3, Right? the power makes sense. Thanks a lot.

ghost commented 5 years ago

Here's five possible options (their are more) ..

Marlin_PS_ON_PSU

A bit of an over-kill but you could just buy a little board to go between such as (#define POWER_SUPPLY 2) ..

https://www.ebay.co.uk/itm/3-20V-Mosfet-MOS-Transistor-Trigger-Switch-Driver-Board-PWM-Control-Module-CDUK/382886645254

djice024 commented 5 years ago

I'll try that out, Thanks.

Nonametruck commented 5 years ago

If you are using the MKS tft there are pins there right?

djice024 commented 5 years ago

If you are using the MKS tft there are pins there right?

That's for the MKS PWC and you'll still need a PS_ON pin. This was for an ATX power supply.

djice024 commented 5 years ago

Here's five possible options (their are more) ..

Marlin_PS_ON_PSU

A bit of an over-kill but you could just buy a little board to go between such as (#define POWER_SUPPLY 2) ..

https://www.ebay.co.uk/itm/3-20V-Mosfet-MOS-Transistor-Trigger-Switch-Driver-Board-PWM-Control-Module-CDUK/382886645254

I have been doing some experimenting. I ended up using an NPN transistor. I tried using the resistor config you posted, but it didn't seem to work with that. It did work without the pullup resistor so I assume the board has a built-in one. I ended up using the BLtouch pin. I wanted to thank you as you helped out an immense amount. I attached my pins.h pins_BIGTREE_SKR_V1.3.zip

leonyd0823 commented 5 years ago

Buenos días estoy tratando de poner unas tiras LED en esta placa skr v1.3 pero en realidad no se de donde tomar los pines ni cuales serían los más adecuado. Tanto para una tira LED RGB que una tira LED digital. La verdad busco un poco de información sobre este tema y un poco de ayuda muchas gracias el objetivo es poder controlar las tiras LED con la placa según el estado de la impresión.

djice024 commented 5 years ago

Buenos días estoy tratando de poner unas tiras LED en esta placa skr v1.3 pero en realidad no se de donde tomar los pines ni cuales serían los más adecuado. Tanto para una tira LED RGB que una tira LED digital. La verdad busco un poco de información sobre este tema y un poco de ayuda muchas gracias el objetivo es poder controlar las tiras LED con la placa según el estado de la impresión.

https://github.com/bigtreetech/BIGTREETECH-SKR-V1.3/issues/63

oxcxsxixbxaxn commented 4 years ago

Here's five possible options (their are more) .. Marlin_PS_ON_PSU A bit of an over-kill but you could just buy a little board to go between such as (#define POWER_SUPPLY 2) .. https://www.ebay.co.uk/itm/3-20V-Mosfet-MOS-Transistor-Trigger-Switch-Driver-Board-PWM-Control-Module-CDUK/382886645254

I have been doing some experimenting. I ended up using an NPN transistor. I tried using the resistor config you posted, but it didn't seem to work with that. It did work without the pullup resistor so I assume the board has a built-in one. I ended up using the BLtouch pin. I wanted to thank you as you helped out an immense amount. I attached my pins.h pins_BIGTREE_SKR_V1.3.zip

@djice024 So which of the 5 scenarios did you use? I have a the components handy, but did you use the NPN only? and neither of the resistors shown?
Oh, the NPN is BC547, I think that is still appropriate, right? Thx