Voron Z Chain Lower mount 4pin dupont mount

Remix of the Voron 2 Z Chain Lower mount to make a mounting space for a 4pin dupont plug.
12
51
0
1106
updated November 20, 2023

Description

PDF

 

This is a remix of the Z Chain Lower mount to allow a mounting point for a single PCB via a 4 pin dupont plug.

Put whatever you want in your voron to monitor the chamber near the bed. It's perfect for an i2c environmental sensor like a BME 280 temperature/humidity sensor, SGP40 VOC sensor or a mix of both - Isik's SGP40/BME280 compact PCB sensor (I'm not sponsored by Isik, I just think it's a cool idea)

The recess in the chain mount is flexible enough to take the 4 pin dupont connector and your sensor just plugs in the front.

 

Installation

 

Example

The picture posted is of a SGP40 plugged into a closed voron 2.4 chamber to monitor VOCs during printing and uses the chamber thermister and klipper modules from the Nevermore Max* to control a nevermore micro when VOC's increase. 

Github - https://github.com/nevermore3d/Nevermore_Max/tree/master/Software/Klipper

*This project is currently a work in progress 19NOV2023

Installation

  • SGP40 connected to raspberry pi host on i2c.1
  • Thermister or other temperature/humidity sensor (ideally) - Note the VOC sensor is very dependent on temperature and humidity; but in a closed chamber you could get away with temperature correction only and correct for change in relative humidity

Klipper modules

copy the sgp40.py and voc_algorithm.py modules into klipper/klippy/extras

cd klipper/klippy/extras
wget https://github.com/nevermore3d/Nevermore_Max/raw/master/Software/Klipper/sgp40.py
wget https://github.com/nevermore3d/Nevermore_Max/raw/master/Software/Klipper/voc_algorithm.py

Klipper config

Using Klipper's temperature_fan PID controller the sgp40.py output tricks the controller into thinking it's controlling temperature (voc) when running a nevermore activated carbon scrubber. The SGP40 sensor relies on temperature and humidity to correctly measure VOC, but with a small assumption that you printer is enclosed we can adjust humidity from an assumed initial temperature of 25C, 50% humidity using temperature alone. Ideally you should use measured humidity and temperature to correct the SGP40 VOC_algorithm.

Here's the example using temperature correction only with PID control:

printer.cfg additions:

## fan - Nevermore Micro with VOC PID control
[sgp40]

[temperature_sensor chamber]
;define your chamber sensor

[temperature_fan VOC/2]
pin: ; Your Nevemore pin here
kick_start_time: 0
#shutdown_speed: 0
off_below: 0.2
max_power: 1.0
#fan_speed: 0.6
sensor_type: SGP40
i2c_mcu: host
i2c_bus: i2c.1
i2c_speed: 400000
voc_scale: 0.5 #set to 50% to enable plotting at a resonable scale
ref_temp_sensor: temperature_sensor chamber
# ref_humidity_sensor:
#min_temp: 0
#max_temp: 500
control: pid
min_temp: 40
max_temp: 300
#max_delta: 5.0
pid_kp: 1
pid_ki: 0.2
pid_kd: 2.0
pid_deriv_time: 5.0
min_speed: 0.
max_speed: 1.0
target_temp: 60 #VOC 120 at voc_scale: 0.5

 

Mainsail (as per Nevermore_Max/Software/Klipper/reeadme.md)

In order to display the full VOC sensor information in Mainsail, the following command needs to be run once in the mainsail directory:

grep -l additionalSensors * -R | xargs sed -i 's+additionalSensors=\[+additionalSensors=\["sgp40",+g'

 

Output

Setting the temperature_fan VOC/2 to “60” will enable fan operation when VOC increases.

gcode: 

SET_TEMPERATURE_FAN_TARGET TEMPERATURE_FAN=VOC/2 TARGET=60 ; Turn on nevermore air scrubber VOC <= 120

Enjoy :)

 

Tags



Model origin

The author remixed this model.

Differences of the remix compared to the original

Added a mounting point for a dupont 4pin plug at the back of the chamber

2 Versions:

  • Original Voron 2.4 remix
  • Remix of Voron 2.4 CanBus Umbilical Mount

License