I use this method from the ATmega328p application notes to make Zero Crossing Detector. Please check the following link for more details: https://www.microchip.com/en-us/application-notes/an2508 Simplest Zero Crossing DetectorCircuit The circuit uses two 1Mohm resistors to limit the current to less than 1mA at the microcontroller input port. Then connect directly to […]

Continuing work on my previous project, namely the generation of pulse width modulated sinusoidal waves called SPWM, I added an important function, namely voltage feedback in this Arduino SPWM generator project. In addition, I also added voltage, temperature, and battery protection functions. Protection is to protect against over-voltage, low voltage, […]