1 / 5
Picadillo Picante Module — image 1
1 / 5

Picadillo Picante Module

Order a print of this model

We calculate the final price from your selected file. You review and accept it before payment.

Saved on this device.

Case for mounting a HTU21D connected to Raspberry Pi Pico to 2020 extrusion.

Rating
5 / 5
Likes
2
Downloads
15
Makes
1
Views
184
Reviews
1

Updated at source:

Model information

License
Creative Commons — Attribution — Noncommercial — Share Alike

I wanted to use the HTU21D sensor for reading enclosure temperature and humidity with my Klipper Ender 5 S1. I connected the sensor directly to my Raspberry Pi 3, but the length of wire between the Pi in the electronics cabinet and the sensor in the build chamber would cause intermittent i2c read/write errors that crash Klipper and kill a print.


To remedy this, I wired the HTU2D sensor to a Pi Pico using very short wiring to minimize noise causing i2c errors. Then I have the Pico connected to the Pi 3 via USB cable (which doesn't have noise/robustness issues).

This printed enclosure is three parts. The middle bracket is exposed on both sides to make soldering easy. I first bolted the Pico and HTU21D to the bracket using M2 and M2.5 hardware, then soldered the wires. There's multiple choices for which GPIO to use. I happened to use GPIO12 and 13.

You can then bolt all three pieces together as a sandwich, or first bolt the back plate to your printer and then bolt the middle and front cover to that. The intent is to avoid awkward hand movement in cramped spaces on enclosed printers.

Here is my klipper code for reference:

[mcu pico]
serial: /dev/serial/by-id/usb-Klipper_rp2040_E6611C08CB444822-if00

[temperature_sensor Enclosure_Temperature]
sensor_type: HTU21D
i2c_mcu: pico
i2c_software_scl_pin:pico:gpio13
i2c_software_sda_pin:pico:gpio12
htu21d_report_time: 5

Tags