Author Topic: SFM Color Sensor - BH1745  (Read 244 times)

tolson

  • Global Moderator
  • *****
  • Posts: 839
  • Karma: +19/-0
    • View Profile
    • Thomas Olson Consulting
SFM Color Sensor - BH1745
« on: April 18, 2017, 05:31:30 PM »
My attempt to interface the BH1745 Color Sensor to Simblee. I originally made the shield to interface to RFduino. But thought it would be more interesting to use it in conjunction with Simblee For Mobile. My intent was to display on the smart device the color detected by the remote Simblee based color sensor.



While the UI part of this project works, I don't quite understand the algorithm needed to get a perfect representation of the color at the extremes like black and white. And that affects the in between results. I am having issues with blues and greens.



My starting sample code is here. It needs work. But here is if you want to hack at it.
http://thomasolson.com/PROJECTS/BLE/Simblee/SFM_color/
« Last Edit: April 18, 2017, 06:03:46 PM by tolson »

 

anything