During my time in the educational system I have often questioned what it took to become so proficient at a skill to become a master, a leader of accomplishment. It's a simple question with complicated answers. For example, if I want to become a great pianist, am I just born with these aptitudes or over time, practice, and frustrations; does it just happen?
Stress and Reaction. That "AHHH" feeling. From a purely mechanical standpoint stress can be defined as, "Pressure or tension exerted on a material object: "the distribution of stress is uniform across the bar."[1] This is an important definition to me as an engineer and scientist because it allows insight into the language that I understand. However, it is important as a person to be personal; Thus, a less rigid, more biological approach to its definition is desired. [Catch more after the break]
I was in the lab last week and we got onto the topic of seven segment displays. Someone then proposed the challenge of driving it using only 4 I/Os without a driver. A very interesting challenge indeed. After much deliberation they finally shared the secret of Charlieplexing. This is a basic way to control large arrays of LEDs using just a few pins. In fact the equation works out as follows: L = n^2 - n Where L is the number of LEDs controlled and n is the number of pins that are used. Personally, I love this. I love LEDs and I love controlling them. Some possible project include using this method for larger LED cubes, 7-segment driving, and other fantastical inventions. Anyway, The circuit is actually pretty simple and available at the end of the video above. As for the code, it is just a matter of reassigning the pins to output or input on the fly and then changing the state of the other outputs. This goes into how it works. With a 3 pin setup, one pin must be changed to an inpu...
Comments
Post a Comment