This paper explores the development of a low-cost alternating current (AC) smart current generator using ARM Cortex-M33 microcontrollers with integrated peripherals, Digital to Analog Converters (DAC) and Operational amplifiers (OPAMPS). The system generates an AC voltage signal through the DAC, which is then converted to an AC using integrated operational amplifiers and passive components. The proposed design provides a compact, low-power, cost-effective solution which is suitable for optimized embedded system sensor design. Results show a signal-to-noise ratio (SNR) of up to 70 dB and a total harmonic distortion (THD) as low as 0.2%, illustrating the potential for advanced sensing applications.