Voron Expander board, I2C temp sensor AHT20

Basic Information:

Printer Model: SV08, Mainline Klipper
MCU / Printerboard: Voron Expander board
Host / SBC
klippy.log

Describe your issue:

The expander works and I can use the Mosfets and such.

Now I want to be able to use I2C temp sensors. But I only can find examples of a display on the I2C bus.

Does anybody know how to use the I2C temp sensors in combination with the Expander board I2C bus?

From a brief look, it is not an “expander” in the sense chip that can multiplex/switch channels.
It is just a board with mcu.

So it is just an MCU with a board, same as any for any 3d printer.
So, IDK about this specific AT20 sensor if there is a code to support it (Maybe it is compatible with HTU21, who knows?).

But any I2C device would simply connect to the bus:

[display]
lcd_type: sh1106
i2c_bus: i2c1a

[temperature_sensor abc]
sensor_type: SHT3X
i2c_mcu: expander
i2c_bus: i2c1a

[temperature_sensor bcd]
sensor_type: SHT21
#   Must be "HTU21D" , "SI7013", "SI7020", "SI7021" or "SHT21"
i2c_mcu: expander
i2c_bus: i2c1a

*as long as there is no address clash, you can virtually add up to 127 devices.
(There is a limit though, with bus capacitance and pull-up resistance, if you decide to add too much devices).

Hope that helps.

1 Like

Witch temperature do you want to measure? I can’t find an “AT20” sensor, just an AHT20 https://www.aosong.com/userfiles/files/media/Data%20Sheet%20AHT20.pdf. Therefore my question.

Aha! So it is kinda simple.
Thanks for explaining, will try tomorrow.

You are right, I meant the AHT20

Ok, but witch temperature do you want to measure?

Chamber temperature, I switched over to ABS and ASA and need to know what temp works best

Ok, understand. That makes sense.

Silly me, it was kinda hidden on the Klipper site all the time.

You could set the topic to solved.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.