Saturday, September 22, 2012

Solar Cell Characteristics

So, a certain unnamed project that I am working on requires the use of a solar cell to charge some batteries. I got these solar cells from an "over-supply" store in Santa Clara for $4 a piece. As seen in Figure 1, its one of those typical solar cells from a garden lamp that charges batteries during the day and turns some LEDs on at night.

Thursday, September 13, 2012

Arduino & Tri-Colored LEDs

I'm currently working on an unnamed project which requires the integration of tri-color LEDs (RGB). These are merely four-pin LEDs with a common anode or cathode and an input pin for red, green, and blue. With varying currents, a multitude of colors can be produced. So I created a C++ (arduino) library for handling such LEDs. Since most of my knowledge of programming is in C, learning about classes in C++ is a significant accomplishment for me.