VoronDesign / Voron-Hardware

Cool Hardware designed by the Voron Design group
GNU General Public License v3.0
907 stars 356 forks source link

MOSFET doesn't switch off #220

Open shkup opened 11 months ago

shkup commented 11 months ago

When I connect to a MOSFET it's always on and doesn't respond to switching off from the UI. The red control LED on the board below that PA is always on. I connect a 5v LED (regular, not addressable), the plus wire to vin, ground to M1.

The mapping of the pinout is:

[mcu expander]
serial: /dev/serial/by-id/usb-Klipper_stm32f042x6_24000F009845674846333520-if00
restart_method: command

# toolhead led
[output_pin toolhead_led]
pin: expander:PA1
value: 0
shutdown_value: 0

When I map MOSFET without connecting it anything is responds to power toggle (The MOSFET red control LED on the board turns on and off accordingly). Is the wiring wrong? How can I fix it?