Holger
Published

Cypress PSoC5LP RGB Sensor

Very simple (due to the integrated Transimpedance amplifier of Cypress' PSoC5LP microcontroller) but efficient self-made RGB-sensor.

BeginnerFull instructions provided2 hours748
Cypress PSoC5LP RGB Sensor

Things used in this project

Hardware components

FreeSoC2 Development Board - PSoC5LP
SparkFun FreeSoC2 Development Board - PSoC5LP
Any Cypress PSoC5LP device/kit can be used
×1
PSoC 5LP Prototyping Kit
Cypress PSoC 5LP Prototyping Kit
Any Cypress PSoC5LP device/kit can be used
×1
SFH-203-P
Or other photo diode especially made for wide light spectrum
×1
RGB Diffused Common Cathode
RGB Diffused Common Cathode
Common Cathode/Anode can easily be adapted by software. It's preferred to have a diffuse LED.
×1
RGB Diffused Common Anode
RGB Diffused Common Anode
Common Cathode/Anode can easily be adapted by software. It's preferred to have a diffuse LED.
×1

Software apps and online services

PSoC Creator
Cypress PSoC Creator
PSoC WS281xLib
Optional: This lbrary is used to drive WS2812B based RGB LEDs. Just as a demo the RGB sensor will control external RGB LED string (based on WS2812B) to follow the illumination by the sampled value of the RGB sensor.

Story

Read more

Schematics

Schematic

PSoC Creator Top Design

Code

PSoC Creator Project (PSoC5LP_RGB_Sensor. incl Demo using WS2812 component)

C/C++
Requires Cypress' PSoC Creator 4.2 or newer
No preview (download only).

Credits

Holger

Holger

11 projects • 11 followers
Starting in the 1980's with home-computer (TI99/4A), later embedded 8051/Z80. Becoming an engineer in 1993, ... now application Engineer
Thanks to Prof. Ralf Mayer.

Comments