Git Product home page Git Product logo

Comments (7)

emersonsc avatar emersonsc commented on July 26, 2024

https://github.com/bigtreetech/BIGTREETECH-Relay-V1.2/blob/master/BIGTREETECH%20Relay%20V1.2/BIGTREETECH%20Relay%20V1.2/Hardware/%E5%BC%80%E5%85%B3%E5%8A%A0%E6%89%93%E5%AE%8C%E5%85%B3%E6%9C%BA.jpg

I know thats for a different MCU, but it should give you an idea on how to wire it correctly to function properly. Only other thing you could try is to try ^PC3 and see if that helps.

from manta-m8p.

GregNuspel avatar GregNuspel commented on July 26, 2024

I have the same problem with my printer. The pin is configured as:

[output_pin PS_ON_OFF]
pin: PC3
value: 1

My print end code is:

[gcode_macro END_PRINT]
gcode:
    # Turn off bed, extruder, and fan
    M140 S0
    M104 S0
    M106 S0
    # Move nozzle away from print while retracting
    G91
    G1 X-2 Y-2 E-3 F300
    # Raise nozzle by 10mm
    G1 Z10 F3000
    G90
    G1 X10 Y330 F1000
    # Disable steppers
    M84
    G90 ; absolute positioning
    TEMPERATURE_WAIT sensor=extruder maximum=60
    SET_PIN PIN=PS_ON_OFF VALUE=0; shut down the printer

The board boots too slow for the 15 second time delay of the relay board. I have tested the relays actions for the end of print and it works as predicted. I need to know if there is a way to make PC3 go high before Klipper loads or is there a way to lengthen the 15 second delay on the relay board?

from manta-m8p.

jariddler avatar jariddler commented on July 26, 2024

When building the firmware if you set pin pc3 high on startup it will fix the issues with the relay board

from manta-m8p.

GregNuspel avatar GregNuspel commented on July 26, 2024

I tried to enter this in menuconfig : set_digital_out pin=PC3 value=1

When I ran make I had the following error: Unknown initial pin set_digital_out pin=PC3 value=1

Is there a different pin callout on the microprocessor level?

from manta-m8p.

jariddler avatar jariddler commented on July 26, 2024

Just put the pin. Pc3 nothing else

from manta-m8p.

Kostt3d avatar Kostt3d commented on July 26, 2024

Hy everybody
i switched my motherboard for a M4P and this setup work perfectly
[output_pin ps_on_pin]
pin: PD1

The pin to configure as an output. This parameter must be

provided.

#pwm: False

Set if the output pin should be capable of pulse-width-modulation.

If this is true, the value fields should be between 0 and 1; if it

is false the value fields should be either 0 or 1. The default is

False.

#static_value:

If this is set, then the pin is assigned to this value at startup

and the pin can not be changed during runtime. A static pin uses

slightly less ram in the micro-controller. The default is to use

runtime configuration of pins.

value:1

The value to initially set the pin to during MCU configuration.

The default is 0 (for low voltage).

shutdown_value : 1

from manta-m8p.

ajaytanna avatar ajaytanna commented on July 26, 2024

Just put the pin. Pc3 nothing else
As in attached picture? No need to mention "high" or any other comment?
Screen Shot 2024-05-12 at 07 37 52 AM

from manta-m8p.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.