Abstract: In this work, a cost-effective sine pulse-width modulation (SPWM) control of an inverter has been implemented using Arduino UNO microcontroller, which can be used with various power stages.