https://bitbucket.org/malhan-designs/x301-mods/src/master/24v to USB Converter Mount/
A simple mount for this 24v to USB Converter I got from Amazon: https://www.amazon.com/gp/product/B01HM12N2C
I use this converter to safely power my Raspberry Pi off my printer's 24v PSU. Use 3M VHB double sided tape to attach it to the electronics box.