This application note describes how to make a high voltage relay driver that switches at zerocrossing with the SLG47105 GreenPAK. It uses a half wave rectifier and optocoupler to provide a zero-crossing voltage detector (ZCVD) externally. It is also delayed internally to account for the operating time of the relay and ZCVD circuit so the relay switches at a future zero-crossing.