This document describes a system for generating electricity from footstep power using a piezoelectric sensor and microcontroller. The system works by converting the downward force of a footstep on a plate into rotational motion of a shaft connected to a generator. When a person steps on the plate, the piezoelectric sensor produces electricity that is stored in a battery. The stored power can then be used for applications like street lights, fans, or security alarms. The system provides an alternative renewable energy source and has potential to harness wasted foot traffic energy in crowded areas.