###### Abstract  
In this implementation, an innovative and automated measurement and educational-demonstrative resource is proposed that estimates Brewster's angle and the index of refraction of semitransparent materials. The apparatus, built and programmed with LEGO Mindstorms model Ev3, utilizes a microbit board and a machine vision camera (Huskylens cam). This camera detects the intensity extinction of a reflected laser beam at the polarization angle. The Ev3 connection cables and general input/output electronic interfaces have been modified to establish communication with the intelligent brick. Upon completion, the Brewster's angle and the index of refraction are displayed on the intelligent brick screen. It will also be shown that the percentage error corresponding to the measurement of the refractive index of a glass and acrylic sample is 1.92% and 0.47%, respectively. According to its characteristics, this resource is suitable for use in undergraduate or graduate physics and engineering laboratories/courses. Brewster's angle; refractive index; AI camera; automation; intelligent brick +
Footnote †: journal:  
this angle is estimated in physics or optics laboratories by shining a laser beam (with linear polarization perpendicular to the plane of incidence) onto a semi-transparent surface. At a certain angle of incidence, the reflected beam will have almost zero intensity, corresponding to the Brewster's angle [6]. The mechanical process is generally carried out manually or by rotating a motor, while the intensity of the reflected beam is measured by eye or using a power meter [7; 8; 9; 10] (this means that the sensor must be placed perpendicular to the beam for each measurement, sometimes complicating the mechanical mount). This proposal is based on the automatic measurement of Brewster's angle using Lego Mindstorms [11] Ev3 components (aiming to demonstrate that Mindstorms models can be used for general electronic control purposes in different projects and approaches) and a micro:bit board as control elements. A machine vision sensor (Huskylens camera and an easy-to-use artificial intelligence AI device equipped with multiple functions, such as image recognition, object tracking, object recognition, line tracking, color recognition and tag recognition) will be used to detect the decrease in and extinction of the reflected beam intensity, making use of its feature to recognize colors and to store the detection in a variable for a post-processing stage. Once the intensity of the beam is the minimum, the motor responsible for rotating the material under test will stop, storing the angle at which this occurred. Finally, this angle will be used to estimate the refractive index of the material. The primary purpose of this research is to develop an innovative and automated tool that estimates Brewster's angle and the refractive index of semitransparent material, aiming to enhance the teaching/learning experience in undergraduate and graduate physics and engineering courses by providing a hands-on, interactive method for understanding and measuring these optical phenomena. This research introduces a novel application of LEGO Ev3 components and a machine vision camera in the automated measurement of Brewster's angle and the refractive index of materials. The integration of these technologies demonstrates the potential of using these devices to make scientific devices, which has not been extensively explored in the literature. The developed tool offers significant practical value by providing an engaging and interactive method for students to learn about optical phenomena. It bridges multiple areas of knowledge, including electronics, programming, physics, design, and mathematics, making it a versatile educational resource. Additionally, the tool's potential for remote laboratory implementation enhances its applicability in diverse educational settings, particularly in distance learning environments.