!!! Caution !!!
This module was design to connect directly to the AC grid power.
Its misuse might cause ELECTRIC SHOCK or FIRE.
!!! Caution !!!
Phase Order Detection
https://www.electroschematics.com/detector-module/
https://create.arduino.cc/projecthub/andrzejco/sensor-230v-ac-for-arduino-1b1109
https://www.electronicsweekly.com/blogs/engineer-in-wonderland/improved-isolated-wide-range-zero-crossing-detector-needs-no-power-switch-2020-07/
https://www.eevblog.com/forum/projects/mains-zero-crossing-detection/
https://sound-au.com/appnotes/an005.htm
This project was created using Dextrel idea: https://dextrel.net/dextrel-start-page/design-ideas-2/mains-zero-crossing-detector