This study examines the impact of educational robotics activities with a design thinking approach on students' learning outcomes, environmental awareness, and self-efficacy in problem-solving. The research is based on a mixed-methods approach, incorporating quantitative data from surveys and qualitative data from working sheets and photos of students' prototypes. The study involved 92 students who participated in a three-hour workshop using the C4STEM framework and the 5-step plan for educational robotics activities. The findings indicate that the educational robotics activities facilitated students' learning about sustainability, recycling, and product development. The design thinking approach, hands-on experiences, and collaborative problem-solving enhanced students' creativity and critical thinking skills. The students demonstrated a strong understanding of the connection between sustainability and robotics, developing innovative prototypes with sustainable components. Moreover, the workshop had a positive impact on students' environmental awareness, as they gained knowledge about e-waste and recycling. The results also revealed increased students' self-efficacy in using robots for problem-solving. The study highlights the significance of integrating robotics into education to promote 21st-century skills. By incorporating design thinking and sustainability principles, educators can foster students' environmental consciousness and equip them with the necessary skills to address sustainable development goals.