You are browsing as a guest. Sign up (or log in) to start making projects!

2h 0m 5s logged

Color Picker Devlog #1

What is this?
The color picker is a device which can identify the RGB and HEX color values of any object using a color sensor and a integrated screen!

Progress

  • Figured out how to use the display and color sensor
  • Added a button which starts color sampling and turns on the LED (When the button is released, the screen stops updating and LED is turned off)
  • Completed the wiring and most of the coding

Challenges

  • To convert the raw values to the displayed values, I had to divide the raw value by the overall light and multiply it by 256, but the number simplified itself to zero, resulting in 0 * 256 = 0, and only displaying zero as the color values. I fixed this by multiplying first, and then dividing, avoiding the simplification to zero.

What’s Next?

  • Add battery power (Via a 18650 and tp4056 charging module)
  • Create a 3d printed enclosure
  • Add RGB to HEX conversion
  • Add a shroud around the sensor to block outside light and get better color accuracy
0
29

Comments 1

@kai_ling

i really love your concept!! this is something i would love to take on walks and document the colours of cool things