This paper presents the design and implementation of a didactic and flexible training module that contributes to the theoretical and practical development of academic training, this through a mechanical structure and a software that has the ability to perform multiple laboratory practices in different areas related to microcontrollers, computer vision, automation. The design consist of four blocks; mechanic structure, machine vision, programmable logic control and interface communication and electronic. Each block is subdivided into several stages, implementing various control principles applied in the industry, in this case, the mechanic structure represents a dispensing process, transport, machining, classification and counting. Machine vision block has software supported in OpenCV libraries for processing and two cameras for image acquisition, the first one located on a machining table and the second one, on a conveyor belt to the sorting process. The control block has a S7-200 PLC that can command a bank of pneumatic and electric actuators. At the communication interface and electronic block is developed a user-friendly framework and built a set of electronics boards for control signal conditioning. The module compact structure facilitates teaching for teachers thanks the integrity of various areas and encourages students to additional future developments that may complement each initially shaped block.