makerbase-mks / MKS-PI

As we all know, the Klipper firmware has the advantages of high printing speed, high precision, and the ability to use the web page to control the printer, etc. MKS PI is a high-end microcomputer board designed by makerbase to replace the Raspberry Pi for the convenience of 3D printing users to use the Klipper firmware. In terms of hardware, MKS PI has a powerful 4-core 64-bit SOC onboard, with 1GBytes of DDR3 memory, supports HDMI screen interface and PI-TS35 screen interface, provides Ethernet port, 3-channel USB interfaces (can be connected to a 3D printer main board, USB Wireless network card, USB camera, U disk, USB keyboard and mouse, etc.); In terms of software, Makerbase provides a complete Klipper firmware transplanted based on the Armbian desktop system, and directly supports klipperScreen. Users only need to download the image file provided by Makerbase, burn it to the TF card, without a lot of construction work, use the usb port or serial port to connect your main board, configure the parameters on the webpage, and you can use the Klipper firmware happily!
GNU General Public License v3.0
112 stars 9 forks source link

IO port #35

Open oz1sms opened 1 year ago

oz1sms commented 1 year ago

How do i configure the user io port 1-C7 1-C3 1-D1 1-B4 !-C0 1-D0 in klipper

oliverjuice commented 1 year ago

image

[mcu mkspi]
serial: /tmp/klipper_host_mcu

[output_pin led_pin]
pin: mkspi:gpiochip1/gpio19
value: 0
xX-RIKO-xx commented 1 year ago

Thanks for the image with the GPIO-Pins that helps a lot👍 But now I wonder which of them is capable of outputting a PWM signal for a Fan controlled by a Mosfet.

oliverjuice commented 1 year ago

I can't be 100% sure but I don't think any of the GPIO1 pins on the RK3328 have hardware PWM, so I don't think any of those pins are hardware PWM