This is a remix of Raspberry Pi Camera Mount for CR-10 with two changes:
This works like a charm on my Ender 3.