Download Print this page

Pin Layout - Velleman VMA325 User Manual

Color sensor module

Advertisement

5.
Overview
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
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
OUT
S0
S1
S2
S3
V
G
OE
LED
7.
Example
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:
V. 01 – 19/03/2018
ground
output frequency
output frequency scaling selection input
output frequency scaling selection input
photodiode type selection input
photodiode type selection input
5 VDC power supply
ground
output enable, must be connected to G (ground)
LED enable input , low=ON
V======5V
GND======GND
S0======D3
S1======D4
S2======D5
S3======D6
OUT======D2
LED======D7
OE======GND
VMA325
VMA325
®
board we can read the square wave
Connection.
3
©Velleman nv

Advertisement

loading

This manual is also suitable for:

Tcs3200