Home > Surveillance Equipment > Sensor Color

Sensor Color

August 15th, 2009 admin

How do I make a simple color sensor?

Hello, I need to make a sensor color that distiguish at least three colors with the least quantity of parts as possible, but something that works. For example, a different LED for the three colors. If you can sketch the circuit, it would be the best, what I'm trying to say it's that I don't want just simple words telling me what to do, at least I want a circuit. And if you've had some experience using those kind of sensors, any problems, etc, I'd like to know it.

If you have more than one option in the way of making the circuit, I'll look trough them carefully.

You cannot expect other people to design circuits for you. Enough to describe the setup and give a few hints, which is already a lot of experience and effort that you get for nothing.

First it does depend on the actual object to be measured, and the purpose of the measurement. Lets say it is a sheet of coloured paper, which means we can illuminate it with leds of different colours, and measure the reflected light. In other cases it may be the light transmitted through the object, or radiated from the object.

We need a method of showing the colour. The actual method I am suggesting is to use a RGB system. Now you need a co-ordinate system to describe the colour.

For simplicity let us use three leds as colour sources, red, green and blue. We have to accept wavelengths provided. They should all be the same viewing angle. They are all directed at the same point on the paper. Chose the ultra-bright type, the highest number of millicandelas that you can find. Get the data sheet for each one.

Power supply.
Use a 9V DC regulated wall adaptor (plug pack). The current - greater than 100mA - almost any will do. It is possible to use a 12V battery, but an 8V or 9V x 3 terminal regulator device is still needed. A second plug pack is for the negative rail needed for the op-amp.
There are various ways to achieve this. You need approximately +8V, 0V, -8V supply, so two supplies connected so. The negative rail is only a few mA, the positive rail is a few tens of mA, so almost any regulated supply will do.

The light source
The three leds have to be switched separately, so only one is on at a time. Three separate small on/off switches or a 3 position switch. The current will be 10-15mA, and should be regulated. Use the led forward voltage (Vf) and a "ballast" resistor from a regulated 8V supply to do this. The Vf and so resistor is different for each led. Use (9V - Vf) to get the voltage across the resistor. Calculate the resistor value for each led as R=V/I.

The detector
This is a silicon photodiode. The best way to get this is a single small solar cell, say the size of a postage stamp. Perhaps from an old solar powered calculator. Arrange it so the reflected light of the leds will hit the active surface.

Measuring.
The solar cell must have a load resistor. This is determined experimentally. The resistor is connected directly across the output of the cell, and adjust its value so the voltage across the resistor is approx. 20-25 mV for the highest light signal reflected from the LED when using brilliant white paper. This is so we can get a linear light response from the photo detector. It is measuring the current which is proportional to light. The next step is an amplifier circuit. This will convert the 0-20mV signal to a 0-2V signal. That means a voltage gain of approximately 100.
See the wiki link below for a non-inverting amplifier using an op-amp. Almost any op-amp will do. Use 100K for the Rf and 1K for the Rg. This gives a gain of 101, close enough.

Readout.
The simplest is to use the DMM. You could buy a panel meter or cheap DMM dedicated to the job.
It can be connected to an Analogue to digital converter in turn connected to a microprocessor or PC, so the whole thing can be displayed and controlled from the computer. A bigger effort required. I don't know what level you are at.

Calibration
You use a reference white sheet to adjust the gain of each channel to the same sensitivity. That means a factor you can multiply the reading by so all will be the same result = 100% for reference white. Select the weakest channel reading, call that 100%. Adjust the other two to suit. This adjustment can be a calculation when processing the result, or it could be the switch for the leds has 2 poles. One pole controls the LED off/on, the other the gain of the amplifier, so all channels read the same (100%) with reference white.

Using it.
To compare different coloured objects just read the ratios of red/green/blue and express them as percentages of the reference white. There are other measuring systems using this but yours will not be directly referenced to them because the wavelengths used are different.

A better system would use a white light source with colour filter set that matches each other to get the colour ratios. However the leds give a far simpler and cheaper starting point, even if some colours will be measured incorrectly because the leds are just single colours, not bands of colours.

The second link shows a red/green/blue photo sensors, with three filters built in. This is a better way, but may be more expensive than you hope. It can have a white lamp or even ambient lighting, depending on the purpose.

The third link details a colorimeter design. This is for a full understanding.

Color Night Vision Camera with 1 3 Sony Color CCD sensor
Color Night Vision Camera with 1 3 Sony Color CCD sensor
$39.00
Time Remaining: 2h 27m
Buy It Now for only: $39.00

SECURITY PHOTO CAMERA w Motion Sensor  Spy  Nanny
SECURITY PHOTO CAMERA w Motion Sensor Spy Nanny
$34.00
Time Remaining: 3h 25m
Buy It Now for only: $44.00

2 X TenvisNew MJPEG SERIES MINI INDOOR IP CAMERA 1 4 CMOS Sensor  21 LED 2pcs
2 X TenvisNew MJPEG SERIES MINI INDOOR IP CAMERA 1 4 CMOS Sensor 21 LED 2pcs
$105.99
Time Remaining: 6h 20m
Buy It Now for only: $105.99

1 4 PAL Color IR Sensor PCB CCTV Camera Board Module
1 4 PAL Color IR Sensor PCB CCTV Camera Board Module
$11.33
Time Remaining: 9h 24m
Buy It Now for only: $11.33

1 4 Color D N IR Sensor PCB CCTV CCD Camera Board
1 4 Color D N IR Sensor PCB CCTV CCD Camera Board
$15.53
Time Remaining: 14h 51m
Buy It Now for only: $15.53

1 3 IR Sensor 8mm Lens Infrared Day Night CCTV Camera
1 3 IR Sensor 8mm Lens Infrared Day Night CCTV Camera
$58.05
Time Remaining: 15h 52m
Buy It Now for only: $58.05

HIdden 1 3 Sony Color CCD 420 TVL PIR Sensor Covert Dome Color Camera 37mm
HIdden 1 3 Sony Color CCD 420 TVL PIR Sensor Covert Dome Color Camera 37mm
$54.59
Time Remaining: 16h 18m
Buy It Now for only: $54.59

Entry Guardian Wireless Video Door Phone CMOS Sensor infa red also
Entry Guardian Wireless Video Door Phone CMOS Sensor infa red also
$179.99
Time Remaining: 16h 38m
Buy It Now for only: $199.99

23 IR 70Ft LED Outdoor Metal Security Dome Camera 540TVL Sony Color CCD Sensor
23 IR 70Ft LED Outdoor Metal Security Dome Camera 540TVL Sony Color CCD Sensor
$75.49
Time Remaining: 1d 1h 42m
Buy It Now for only: $75.49

1 3 Sony Color CCD Sensor 23 IR 75Ft LED Color Dome Camera Outdoor Metal
1 3 Sony Color CCD Sensor 23 IR 75Ft LED Color Dome Camera Outdoor Metal
$39.95
Time Remaining: 1d 1h 56m
Buy It Now for only: $39.95

1 3 Sony Color CCD Sensor 23 IR 50Ft LED Color Dome Camera Indoor Plastic
1 3 Sony Color CCD Sensor 23 IR 50Ft LED Color Dome Camera Indoor Plastic
$50.99
Time Remaining: 1d 1h 56m
Buy It Now for only: $50.99

Fake Dummy Security Motion Detector Sensor CCTV Camera
Fake Dummy Security Motion Detector Sensor CCTV Camera
$0.99
Time Remaining: 1d 2h 21m

NEW iMotion Spy Sensor Camera w Auto Focus
NEW iMotion Spy Sensor Camera w Auto Focus
$76.49
Time Remaining: 1d 3h 21m
Buy It Now for only: $76.49

1 3 Sony Color CCD Sensor Indoor Plastic 23 IR 50Ft Dome Camera CCTV Security
1 3 Sony Color CCD Sensor Indoor Plastic 23 IR 50Ft Dome Camera CCTV Security
$51.49
Time Remaining: 1d 4h 12m
Buy It Now for only: $51.49

420TVL Mini Pin Hole CCTV Security Camera PIR 15 Leds 1 3 Sony Sensor
420TVL Mini Pin Hole CCTV Security Camera PIR 15 Leds 1 3 Sony Sensor
$39.50
Time Remaining: 1d 5h
Buy It Now for only: $39.50

420TVL 36LEDs 8mm Lens 1 3 Auto IR Sensor CCD Camera
420TVL 36LEDs 8mm Lens 1 3 Auto IR Sensor CCD Camera
$71.33
Time Remaining: 1d 13h 11m
Buy It Now for only: $71.33

690TVL WDR Board Camera Pixim SEAWOLF Sensor Chipset 4mm 9mm Lens Mini Camera
690TVL WDR Board Camera Pixim SEAWOLF Sensor Chipset 4mm 9mm Lens Mini Camera
$114.99
Time Remaining: 1d 16h 6m
Buy It Now for only: $114.99

TENVIS WI FI IP CAM pan tilt smartphones night vision motion sensor
TENVIS WI FI IP CAM pan tilt smartphones night vision motion sensor
$34.99
Time Remaining: 1d 17h 13m

1 3 Sony Color CCD Sensor Color Dome Camera 23 IR 75Ft LED Outdoor Metal
1 3 Sony Color CCD Sensor Color Dome Camera 23 IR 75Ft LED Outdoor Metal
$55.09
Time Remaining: 1d 17h 21m
Buy It Now for only: $55.09

1 3 CCTV 540TVL Sony CCD Sensor Dome IR LED Camera
1 3 CCTV 540TVL Sony CCD Sensor Dome IR LED Camera
$59.39
Time Remaining: 1d 18h 30m
Buy It Now for only: $59.39

New iMotion Spy Sensor Camera w Motion Detector
New iMotion Spy Sensor Camera w Motion Detector
$76.49
Time Remaining: 1d 19h 20m
Buy It Now for only: $76.49

1 3 Sony Color CCD Sensor Indoor Plastic 23 IR 50Ft Dome Camera CCTV Security
1 3 Sony Color CCD Sensor Indoor Plastic 23 IR 50Ft Dome Camera CCTV Security
$48.49
Time Remaining: 1d 22h 20m
Buy It Now for only: $48.49

36MM Waterproof Ultra WDR Pixim SEAWOLF Sensor OSD Camera
36MM Waterproof Ultra WDR Pixim SEAWOLF Sensor OSD Camera
$110.00
Time Remaining: 2d 56m
Buy It Now for only: $110.00

Sony CCD 520TVL IR Sensor Dome Color Camera with Audio
Sony CCD 520TVL IR Sensor Dome Color Camera with Audio
$50.39
Time Remaining: 2d 1h 45m
Buy It Now for only: $50.39

Pinhole Lens PIR Covert Security Camera Body Heat Motion Sensor DVR CCTV BMN
Pinhole Lens PIR Covert Security Camera Body Heat Motion Sensor DVR CCTV BMN
$197.99
Time Remaining: 2d 2h 16m
Buy It Now for only: $197.99

1 3 Sony Color CCD Sensor Color Dome Camera Indoor Plastic 50Ft 23 IR LED
1 3 Sony Color CCD Sensor Color Dome Camera Indoor Plastic 50Ft 23 IR LED
$48.29
Time Remaining: 2d 2h 27m
Buy It Now for only: $48.29

Metal Housing 80M CCD Sensor Wired Security Camera
Metal Housing 80M CCD Sensor Wired Security Camera
$66.29
Time Remaining: 2d 3h 13m
Buy It Now for only: $66.29

SECURITY PHOTO CAMERA w Motion Sensor  Spy  Nanny
SECURITY PHOTO CAMERA w Motion Sensor Spy Nanny
$34.00
Time Remaining: 2d 3h 25m
Buy It Now for only: $44.00

1 3 Sony 520TVL Sensor IR 37mm Pinhole Camera 18 Leds
1 3 Sony 520TVL Sensor IR 37mm Pinhole Camera 18 Leds
$62.99
Time Remaining: 2d 3h 41m
Buy It Now for only: $62.99

Catch Thieves w iMotion Sensor Hidden Spy Camcorder
Catch Thieves w iMotion Sensor Hidden Spy Camcorder
$76.49
Time Remaining: 2d 4h 19m
Buy It Now for only: $76.49

iMotion Hidden Spy Sensor Camera use on Office Desk
iMotion Hidden Spy Sensor Camera use on Office Desk
$76.49
Time Remaining: 2d 4h 19m
Buy It Now for only: $76.49

Protect Belongings in Motel w iMotion Sensor Spy Cam
Protect Belongings in Motel w iMotion Sensor Spy Cam
$76.49
Time Remaining: 2d 4h 19m
Buy It Now for only: $76.49

Protect Belongings in Cubicle w iMotion Sensor Spy Cam
Protect Belongings in Cubicle w iMotion Sensor Spy Cam
$76.49
Time Remaining: 2d 4h 19m
Buy It Now for only: $76.49

Protect Valuables in Laboratory w iMotion Sensor Cam
Protect Valuables in Laboratory w iMotion Sensor Cam
$76.49
Time Remaining: 2d 4h 19m
Buy It Now for only: $76.49

Protect NURSERY w New iMotion Sensor Camera
Protect NURSERY w New iMotion Sensor Camera
$76.49
Time Remaining: 2d 4h 19m
Buy It Now for only: $76.49

Protect Belongings in Hotel w iMotion Sensor Spy Cam
Protect Belongings in Hotel w iMotion Sensor Spy Cam
$76.49
Time Remaining: 2d 4h 19m
Buy It Now for only: $76.49

Protect Office Desk w Hidden iMotion Sensor Camera
Protect Office Desk w Hidden iMotion Sensor Camera
$76.49
Time Remaining: 2d 4h 20m
Buy It Now for only: $76.49

NEW Sensor Detector Wireless DVR Spy Camera
NEW Sensor Detector Wireless DVR Spy Camera
$76.49
Time Remaining: 2d 4h 20m
Buy It Now for only: $76.49

Safeguard Wine Cellar w iMotion Hidden Sensor Camera
Safeguard Wine Cellar w iMotion Hidden Sensor Camera
$76.49
Time Remaining: 2d 4h 20m
Buy It Now for only: $76.49

Protect Valuables in STOREROOM w iMotion Sensor Cam
Protect Valuables in STOREROOM w iMotion Sensor Cam
$76.49
Time Remaining: 2d 4h 20m
Buy It Now for only: $76.49

New Sensor Detector DVR Cam for Bird Watching
New Sensor Detector DVR Cam for Bird Watching
$76.49
Time Remaining: 2d 4h 20m
Buy It Now for only: $76.49

8mm Lens 1 3 Auto IR Sensor CCD Security CCTV Camera
8mm Lens 1 3 Auto IR Sensor CCD Security CCTV Camera
$70.09
Time Remaining: 2d 5h 26m
Buy It Now for only: $70.09

420TVL Sony CCD Sensor Surveillance Security CCTV 48IR Camera Waterproof
420TVL Sony CCD Sensor Surveillance Security CCTV 48IR Camera Waterproof
$49.99
Time Remaining: 2d 6h 5m
Buy It Now for only: $49.99

PAL Sensor Mini Digital Security Color CCD Camera New
PAL Sensor Mini Digital Security Color CCD Camera New
$20.88
Time Remaining: 2d 7h 36m
Buy It Now for only: $20.88

3 colors Dummy Security Camera Realistic Looking LED Wireless With Motion Sensor
3 colors Dummy Security Camera Realistic Looking LED Wireless With Motion Sensor
$19.50
Time Remaining: 2d 9h 31m
Buy It Now for only: $19.50

540TVL Sony Color CCD Sensor 23 IR 70Ft LED Color Dome Camera Outdoor Metal
540TVL Sony Color CCD Sensor 23 IR 70Ft LED Color Dome Camera Outdoor Metal
$69.99
Time Remaining: 2d 15h 51m
Buy It Now for only: $69.99

Security Labs Slc 1049C Color 3 Axis Dome Camera With HadTM Ccd Image Sensor
Security Labs Slc 1049C Color 3 Axis Dome Camera With HadTM Ccd Image Sensor
$142.99
Time Remaining: 2d 16h 53m
Buy It Now for only: $142.99

NETBOTZ WALLBOTZ 310 POWER SUPPLY MOUNT  DOOR SENSOR
NETBOTZ WALLBOTZ 310 POWER SUPPLY MOUNT DOOR SENSOR
$340.00
Time Remaining: 2d 17h 13m
Buy It Now for only: $340.00

1 3 Sony Color CCD Sensor Dome Camera 23 IR 50Ft LED Color Indoor Plastic
1 3 Sony Color CCD Sensor Dome Camera 23 IR 50Ft LED Color Indoor Plastic
$48.39
Time Remaining: 2d 20h 10m
Buy It Now for only: $48.39

FUHO CGIR 9232 1 3 SONY CCD Image Sensor Inter Line Infrared Color Camera
FUHO CGIR 9232 1 3 SONY CCD Image Sensor Inter Line Infrared Color Camera
$79.99
Time Remaining: 3d 5h 59m
Buy It Now for only: $79.99

24 LED Light IR Waterproof Camera CMOS Sensor 03Mega pixels NTSC DVR Monitor
24 LED Light IR Waterproof Camera CMOS Sensor 03Mega pixels NTSC DVR Monitor
$28.96
Time Remaining: 3d 7h 8m
Buy It Now for only: $28.96

Takex Passive InfraRed Dome Sensors SP100
Takex Passive InfraRed Dome Sensors SP100
$299.00
Time Remaining: 3d 13h 51m

8mm Lens 1 3 Auto IR Sensor CCD Security CCTV Camera
8mm Lens 1 3 Auto IR Sensor CCD Security CCTV Camera
$71.35
Time Remaining: 3d 14h 34m
Buy It Now for only: $71.35

C191 24G Wireless CH4 Hidden Bug Sensor Color Camera
C191 24G Wireless CH4 Hidden Bug Sensor Color Camera
$39.93
Time Remaining: 3d 15h 27m
Buy It Now for only: $39.93

C190 24G Wireless CH3 Hidden Bug Sensor Color Camera
C190 24G Wireless CH3 Hidden Bug Sensor Color Camera
$39.93
Time Remaining: 3d 15h 27m
Buy It Now for only: $39.93

C189 24G Wireless CH2 Hidden Bug Sensor Color Camera
C189 24G Wireless CH2 Hidden Bug Sensor Color Camera
$39.93
Time Remaining: 3d 15h 27m
Buy It Now for only: $39.93

C188 24G Wireless CH1 Hidden Bug Sensor Color Camera
C188 24G Wireless CH1 Hidden Bug Sensor Color Camera
$39.93
Time Remaining: 3d 15h 27m
Buy It Now for only: $39.93

UK13 Bug Sensor Spy Wireless Colour Pinhole Camera
UK13 Bug Sensor Spy Wireless Colour Pinhole Camera
$39.99
Time Remaining: 3d 15h 35m
Buy It Now for only: $39.99

8mm Lens 1 3 Auto IR Sensor CCD Security CCTV Camera
8mm Lens 1 3 Auto IR Sensor CCD Security CCTV Camera
$73.44
Time Remaining: 3d 16h 28m
Buy It Now for only: $73.44


Comments are closed.