Forum Discussion
UART and GPIO PZEM-004T
Hi Yassine,
Sorry for the delay in replying, I'm Kian and will be supporting on this case.
As per your question, looking at the schematic on DE1-SoC, I dont think it is possible as most UART pins are taken up for other functionality or not connected (not exposed on any of the IO headers on the board) , and the existing HPS UART is connected to usb micro.
You can download some terasic examples or the schematic from here (https://www.terasic.com.tw/cgi-bin/page/archive.pl?Language=English&CategoryNo=167&No=836&PartNo=4#contents) but I'm afraid doesnt have any that suits your needs.
Alternatively to confirm on this, you could email Terasic Support ([email protected]) to get their confirmation whether possible to utilize any ports for RS232 for PZEM-004T.
Thanks
Regards
Kian