This document describes the design and implementation of an automated packaging machine using a programmable logic controller (PLC) to streamline the packaging process of small wooden pieces into boxes. The system incorporated various sensors and DC motors to automate the movement and packaging, achieving a production rate of 21 boxes per minute. Experimental results demonstrated significant improvements in efficiency over traditional manual methods, showcasing the automation's ability to decrease product time and increase output.