I chose the attiny85 as the MCU (or microcontroller) for this project because I have used it in the past and knew I could get it up and running in no time. In order to be able to cycle the RGB through various colors I needed PWM (or pulse width modulation). Unfortunately the attiny85 only had two PWM channels (with the same resolution). I decided to implement a variation of PWM called BCM (or binary coded modulation).
The left side of the schematic is the circuit for the ring box itself. The right side contains various breakouts and circuits (I didn’t want to waste space).
The Board Layout
I ran into a few issues with the circuit and the orientation of the FETS. Always test the design before ordering. There was also an issue with the RGB LED’s in that pin 1 was marked as pin 3. Luckily I had ordered 3 boards and extra components.