Electronics Design

A project log for Ring Box for Proposal 2014

Design, create, and build a custom ring box for an Engagement Proposal

mikeneiderhausermikeneiderhauser 05/01/2014 at 12:460 Comments

The ring box would feature four RGB LED’s and would be able to cycle through various colors. In addition to the RGB LED’s I put a bright white LED into the design to act as a spot light. Lastly, the box needed to be self powered and have a run-time of longer than four hours. I built in a Li-Po Battery and Li-Po Battery charger into the design.

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 Schematic

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.