As a team we reviewed the various products that our customer requested for us to design. Our customer had hired other engineering groups to build other designs. Thus, we only had to select one project. One of the first projects that we looked at was one involving a photoresistor with a 7 segment display. This project involved displaying a light at varying intensities depending on the brightness detected by the photoresistor, ideally so that a light would be displayed when in the darkness and no light would display when in the light. Another option that we had was a project involving a buzzer that would have varying output based on the value read by a potentiometer. In addition to this, we had the option of creating a display that counted how many times a button was pressed. Additionally, we could create an RGB LED that would fade between the colors of the rainbow continuously.
Part Two: Brainstorming and Choosing Project...One of our teammates, Alvarro, remembered that there is already a working RGB LED on our TIVA processor and that we had already worked on projects regarding changing LED colors. Thus, we decided that with our previous experience and the powerful applications of a fading RGB LED, we decided to pursue the fading RGB LED project. We thought it was important to understand how LED displays work because of their versatile applications utilized n almost every sort of mobile device from smartphones, smartwatches, and computer monitors.
Part Three: DevelopWe began to build our project using the Launchpad and Energia. We wired up the boards and wrote code in C.
Our customer originally gave us the following hue chart to follow:
We developed the product, but upon looking at our product, the customer communicated with us that they wanted a different color pattern. The updated color chart they gave us looked like this:
This was our board set-up:
Then, our customer let us know that they also wanted the RGB color fade to switch directions in response to a tilt switch. So we added in additional feature, and wired it up! (The schematics of the set-up can be found in the Schematic section...)
Watch our fading RGB LED in action! After much trial and error, the RGB LED finally works! The color fade matches the given color chart and it switches direction in response to the tilt switch!
Comments