Data Sheet
  VMA325 
V. 01 – 19/03/2018  3  ©Velleman nv 
5.  Overview 
VMA325 
The TCS230 senses colour light with the help of an 8 x 8 array of photodiodes. Then, using a current-to-
frequency converter the readings from the photodiodes are converted into a square wave with a frequency 
directly proportional to the light intensity. Finally, using the Arduino
®
 board we can read the square wave 
output and get the results for the colour. 
  supply voltage: 2.7 to 5.5 VDC 
  dimensions : 28.4 x 28.4 mm 
6.  Pin Layout 
GND 
ground 
OUT 
output frequency 
S0 
output frequency scaling selection input 
S1 
output frequency scaling selection input 
S2 
photodiode type selection input 
S3 
photodiode type selection input 
V 
5 VDC power supply 
G 
ground 
OE 
output enable, must be connected to G (ground) 
LED 
LED enable input , low=ON 
7.  Example 
Connection. 
V======5V 
GND======GND 
S0======D3 
S1======D4 
S2======D5 
S3======D6 
OUT======D2 
LED======D7 
OE======GND 
Connect your VMA325 to your microcontroller (VMA100) as above. 
Download the library and data sheet from our website. 
Open the Arduino IDE and import the three libraries. LiquidCrystal_I2C.h is only needed if you are also 
connecting an I2C LCD to your controller. 
Load the VMA325_code sketch into the IDE, compile and upload. 
Start the serial monitor. You should see a result like this:  








