Model originally uploaded to Thingiverse at https://www.thingiverse.com/thing:2587313.
My version of a filament sensor holder for the Duet3D filament sensor.
Edit: Strengthened the clip on the side and added the CAD files. V2 Edit2: Added a clip to clamp it to a Nimble screw, so that it is fixed in place better. V3
The two stacks were identical, until the requirement for the bowden tube came through and of course it needs a bowden tube! The basic idea is a box that the PCB and can be adapted in various ways to attach to something. In our case it would be to the drive cable. The bearings, rubber wheels and all fit inside the stacks. or bearing blocks, and the whole thing is bolted together with 4 screws. The top stack has smaller bolt holes, so there is no need for nuts. Makes it all a lighter system.
The holders for the bowden tube are simple slide in press fit fittings, but it would be easy to tap them for a real bowden tube clamp. Or use the little black clamps that E3D uses.