# New video by Michael; The Factory | Solving Engineering Problems With Colour Theory

**URL:** <https://forum.core-electronics.com.au/t/new-video-by-michael-the-factory-solving-engineering-problems-with-colour-theory/11181>\
**Category:** Videos\
**Created:** [27 August 2021 16:42 UTC](https://forum.core-electronics.com.au/t/new-video-by-michael-the-factory-solving-engineering-problems-with-colour-theory/11181 "2021-08-27T16:42:21Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/michael/32/3545_2.png) [@Michael](https://forum.core-electronics.com.au/u/Michael)\
**Post date:** [27 August 2021 16:42 UTC](https://forum.core-electronics.com.au/t/new-video-by-michael-the-factory-solving-engineering-problems-with-colour-theory/11181/1 "2021-08-27T16:42:21Z")

</div>

New video! Relying on RGB data to identify colours doesn’t apply well to real world application, (damn inverse square law!). So This week in The Factory we’ve made code improvements to the PiicoDev VEML6040 Colour Sensor so it’s now super easy to identify objects by their colour. We also find and fix an interesting MOSFET behaviour preventing our high CRI LED from turning off. Then we show off some assembled GlowBit matrix prototypes and discuss potential solutions for easy tiling.

[![](https://img.youtube.com/vi/Tv5BzyVdcUs/maxresdefault.jpg "The Factory | Solving Engineering Problems With Colour Theory") ](https://www.youtube.com/watch?v=Tv5BzyVdcUs)

---

<div class="post-metadata">

**Author:** ![Greig63365](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/greig63365/32/11384_2.png) [@Greig63365](https://forum.core-electronics.com.au/u/Greig63365)\
**Post date:** [27 September 2021 07:29 UTC](https://forum.core-electronics.com.au/t/new-video-by-michael-the-factory-solving-engineering-problems-with-colour-theory/11181/2 "2021-09-27T07:29:12Z")

</div>

What sort of reading distance are you expecting to get from these?

In the video you’re holding your lunch pretty close to the sensor to get a read…

- Greig

---

<div class="post-metadata">

**Author:** ![Robert93820](https://avatars.discourse-cdn.com/v4/letter/r/ac91a4/32.png) [@Robert93820](https://forum.core-electronics.com.au/u/Robert93820)\
**Post date:** [27 September 2021 09:42 UTC](https://forum.core-electronics.com.au/t/new-video-by-michael-the-factory-solving-engineering-problems-with-colour-theory/11181/3 "2021-09-27T09:42:02Z")

</div>

Hi Michael  
Would not the properties such as the actual colour of the illuminating LED have an influence on the results from different coloured objects. I think to be meaningful this illumination would have to be close to pure white. Methinks a bit hard to achieve with LEDs.  
Cheers Bob

---

<div class="post-metadata">

**Author:** ![Michael](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/michael/32/3545_2.png) [@Michael](https://forum.core-electronics.com.au/u/Michael)\
**Post date:** [27 September 2021 22:44 UTC](https://forum.core-electronics.com.au/t/new-video-by-michael-the-factory-solving-engineering-problems-with-colour-theory/11181/4 "2021-09-27T22:44:11Z")

</div>

For reflected light, the target has to be quite close so it doesn’t get swamped by ambient light. In the video I’m testing in a brightly lit office. If the sensor were mounted in an enclosed chamber, perhaps with non-reflective walls, the range would probably be farther - something to try!

---

<div class="post-metadata">

**Author:** ![Michael](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/michael/32/3545_2.png) [@Michael](https://forum.core-electronics.com.au/u/Michael)\
**Post date:** [27 September 2021 22:47 UTC](https://forum.core-electronics.com.au/t/new-video-by-michael-the-factory-solving-engineering-problems-with-colour-theory/11181/5 "2021-09-27T22:47:59Z")

</div>

Absolutely, yes. The LED we’re using has a high [Colour Rendering Index](https://en.wikipedia.org/wiki/Color_rendering_index) for this reason. High CRI LEDs are used wherever accurate colour is needed like in photography or film lights.

For best results, it’s best to calibrate the sensor for colour classification tasks.

---

<div class="post-metadata">

**Author:** ![Robert93820](https://avatars.discourse-cdn.com/v4/letter/r/ac91a4/32.png) [@Robert93820](https://forum.core-electronics.com.au/u/Robert93820)\
**Post date:** [28 September 2021 00:48 UTC](https://forum.core-electronics.com.au/t/new-video-by-michael-the-factory-solving-engineering-problems-with-colour-theory/11181/6 "2021-09-28T00:48:43Z")

</div>

Hi Michael  
Thanks for that. My fault for not keeping upin my old age. I was not aware these LEDs with more colour accuracy were available although I am not surprised in this day and age.  
Cheers Bob
