This is an old revision of the document!
A colour sensor (TCS 34725) can detect the brightness and colour of the light emitted. It works with the I2C; in our laboratory, each sensor has a fixed 0x29 address in the I2C bus. The sensor is in the black enclosure, ensuring no ambient light impacts readings. The only light source is an RGB LED, controlled as described in the scenario EMB9B. This is another LED connected parallel to the one you can observe in the camera.
To implement this scenario, it is necessary to get familiar with the following scenarios first:
To simplify TCS sensor use, we will use a dedicated library:
lib_deps = adafruit/Adafruit TCS34725@^1.4.2
Describe a task to be implemented by the scenario user.
Write starting conditions, i.e. what to do in the beginning, what to pay attention to before beginning, how the mechanical part should look, etc. Include needed compiler configuration, etc.
Write some extra information if, i.e. some steps are optional; otherwise, cancel this paragraph (but do not remove the header).
Describe activities done in Step 1.
…
Describe activities done in Step n.
Provide some result validation methods for self-assessment.
This section is to be extended as new questions appear.
When using the printed version of this manual, please refer to the latest online version of this document to obtain the valid and up-to-date list of the FAQ.
Provide some FAQs in the following form:
Question?: Answer.
This Intellectual Output was implemented under the Erasmus+ KA2.
Project IOT-OPEN.EU Reloaded – Education-based strengthening of the European universities, companies and labour force in the global IoT market.
Project number: 2022-1-PL01-KA220-HED-000085090.
Erasmus+ Disclaimer
This project has been funded with support from the European Commission.
This publication reflects the views of only the author, and the Commission cannot be held responsible for any use that may be made of the information contained therein.
Copyright Notice
This content was created by the IOT-OPEN.EU Reloaded consortium, 2022,2024.
The content is Copyrighted and distributed under CC BY-NC Creative Commons Licence, free for Non-Commercial use.