That's good. I've revised the schematic, but I do not know what to do with Vref. I would assume I connect it to 5V or 0V? The new schematic is here: