The paper presents an adaptation of the microinverter platform from Texas Instruments to incorporate a battery energy storage system (BESS) alongside the development of the BESS system itself. Initially designed for unidirectional power flow between PV panels and an electric grid, the platform required modifications to accommodate bidirectional energy transfer for BESS integration. These modifications encompass software adjustments and hardware enhancements, which are all detailed within the paper. The electrical configuration includes selecting and deploying components such as DCDC power converters, microcontrollers, measured signals, and actuating signals to facilitate battery connection to the platform’s DC bus. Furthermore, a supervisory control and data acquisition (SCADA) system is devised for supervisory control and monitoring, with its implementation outlined. Control software tailored for the chosen microcontroller of the DCDC converters is described in terms of structure and functionality. A hardware-in-the-loop (HIL) methodology is employed to validate the proposed modifications and microgrid configuration. Utilizing the real-time simulator OPAL-RT, the paper presents experimental results and their analysis within the considered microgrid environment.