This application note was designed to change the output voltage of the Pmod DPOT (digital potentiometer) from 0 to 5 V and the comparator module returns a high level if the voltage is greater than threshold. The input voltage and output level of the comparator module is displayed in the serial monitor.
You can made a custom PCB for this. you can use JLCPCB to it. JLCPCB is one of the most experienced PCB manufacturers in China. They offer standard PCB prototypes, flexible PCBs, aluminum PCBs, Stencils. Additionally they offer assembly service. With prices as low as 2 USD for 10 PCBs, also you may interested in their gerber view function.