Quantity   Component name
1 × Arduino UNO
1 × LED RGB LED RGB Luckylight LL509RGBC4
1 × Photodiode Fotodiodo BPW21R photodiode visible light range of wavelengths of light received is similar to the human eye, used to detect the refraction of colors on the surface.
1 × LT1490A integrated Integrated containing 2 operational amplifiers, used one of them to create the transimpedance amplifier that will convert and amplify the signal voltage of the photodiode.
1 × Button Button: Used to start the sequence lighting and reading the photodiode
1 × Resistance 820K Used for signal amplification in the photodiode transimpedance amplifier circuit.
1 × Capacitor 100 nanofarads Used to filter the signal from the photodiode and make it more stable.
1 × Resistor 10k this resistance is used to create a voltage divider circuit and pull up the button. Reference: http://www.luisllamas.es/2014/09/leer-un-pulsador-con-arduino/
1 × Resistors 2x100ohm 150ohm 120ohm 10ohm Resistors used in the LED RGB (2x100ohm, 150ohm, 120ohm, 10ohm) resistors connected to each pin of the LED rgb, have chosen these resistances so that the light intensity detected by the photodiode in each color component is very similar, resistance create a voltage divider on each pin.