Simulation is essential for healthcare professionals, students, and researchers, providing a safe environment for skill development and improved patient care. This paper presents enhancements to the xPULM TM electro-mechanical lung simulator, enabling simulation of adult and neonatal breathing patterns. Hardware improvements include interchangeable flow sensors and additional temperature, humidity, volatile organic compounds (VOCs), and pressure sensors. The software redesign separates control and processing elements, enhancing performance. Measured parameters demonstrate expanded capabilities, such as increased airflow range and higher sampling frequency. Airtightness measurements show improved chamber sealing. Future developments aim to simulate neonatal breathing patterns and optimise software for high-frequency measurements. The enhanced xPULM TM simulator provides a realistic platform for simulating lung mechanics, benefiting respiratory medicine research and education.