These is the schematic for the Digital power supply made with Arduino and a NEXTION display. Make the connections as below, upload the Arduino code and the .tft file to the display.