MAX31865 on octopus pro not working

Hello i am trying to setup my Octopus pro to use the on board MAX31865 sensor, however with the standard config it does not work due to pin PA6 as this is also used for the display, I am not sure howelse to use both. Any help would be greatly appreciated. I couldn’t find a single document talking about the klipper config for the octopus pro board specifically pertaining to the MAX31865

What type of display are you using? PA6 is a hardware SPI pin, and it is possible to have more than one device on the same SPI bus as long as they have different chip select pins.

I am usung the stabdard mini 12864 display with the two ribbon commections.

Okay, so something like the lines below should work. I’m not including the full extruder section, only the bit relevant to the sensor. I don’t have this hardware to test, so I can’t guarantee this is correct.

[display]
lcd_type: uc1701
cs_pin: EXP1_6
a0_pin: EXP1_7
contrast: 40
encoder_pins: ^EXP2_3, ^EXP2_5
click_pin: ^!EXP1_2
spi_bus: spi1

[extruder]
sensor_type: MAX31865
sensor_pin: PF8
spi_bus: spi1

Thank you so much man I will give it a shot, I really appreciate it

# Driver4
[extruder]
step_pin: PE2 #PF9
dir_pin: PE3 #PF10
enable_pin: !PD4 #!PG2
microsteps: 16
rotation_distance: 5.645
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: PA2 # HE0
sensor_pin:  PA15 #PE15 #PF4 # T0
sensor_type: MAX31855 #EPCOS 100K B57560G104F

control: pid
pid_Kp: 25.4
pid_Ki: 2.65
pid_Kd: 227.4
min_temp: 0
max_temp: 270

#   One of "MAX6675", "MAX31855", "MAX31856", or "MAX31865".
#sensor_pin:
#   The chip select line for the sensor chip. This parameter must be
#   provided.
spi_speed: 4000000
#   The SPI speed (in hz) to use when communicating with the chip.
#   The default is 4000000.
#spi_bus:
spi_software_sclk_pin: PB3 #PA5
spi_software_mosi_pin: PB5 #PA7
spi_software_miso_pin: PB4 #PA6
#   See the "common SPI settings" section for a description of the
#   above parameters.
#tc_type: K
#tc_use_50Hz_filter: False
#tc_averaging_count: 1
#   The above parameters control the sensor parameters of MAX31856
#   chips. The defaults for each parameter are next to the parameter
#   name in the above list.
#rtd_nominal_r: 100
#rtd_reference_r: 430
#rtd_num_of_wires: 2
#rtd_use_50Hz_filter: False
#   The above parameters control the sensor parameters of MAX31865
#   chips. The defaults for each parameter are next to the parameter
#   name in the above list.

setting for 31855 is ok. 31865 should similar

1 Like

Will this solution also work with the MAX31856?