I have remixed this excellent Smart sensor design to fit on an Ender 3 V2 modified for Direct Drive inside a Lack enclosure.
Changes: