A flashlight that can copy a color. Like a copycat, but a flashlight -- a flash-cat.
Programmed with an Arduino.
These are the parts I used, though it would be easy to change out the board and LED ring:
- ItsyBitsy M0
- Flora Color Sensor
- An old flashlight and some batteries.
- NeoPixel Jewel
Pictures and things coming soon.
Download flashcat.io
and load it into your Arduino IDE.
Use the Arduino's Library Manager to install these Adafruit libraries as necessary:
- Adafruit_TCS34725
- Adafruit_NeoPixel
- Adafruit_DotStar
From Arduino's BoardManager, select Adafruit ItsyBitsy M0
in the list of Adafruit SAMD Boards
.
Select the appropriate programming port, and upload.
See the code's comments if things don't seem to work.
Pictures and more coming soon.