Diabetes is one of the chronic currently diseases that grows more alarming in number of patients in the world, however, it is a preventable and controllable disease if you react in time and have the necessary care, for this reason and because of the way that it affects the quality of life of patients is that the ways to control or prevent this disease become a priority area for research in the health sector. This work aims to study the response of the light reflex of 123 patients previously diagnosed with diabetes mellitus type 1 using a digital pupilometer for obtaining a signal that represents the diameter of the pupil with respect to time by inducing a controlled light stimulus. This signal is processed to obtain 4 descriptive parameters of this, which are used in different tests looking how they described critical aspects of the disease. Among the tests we found that through these parameters and clustering algorithm we can distinguish specific groups with similar characteristics, however, by performing a regression analysis between these parameters and glucose levels we conclude that the samples should be taken with a stricter time and recording speed control with which were taken this due to the sensitivity to errors in sampling of the algorithms used.