Blink! Using an Arduino and some other components, make some LEDs light up from multiple inputs. Sounds pretty simple. Also make it do something interesting? Now its getting complicated.
After finishing the Proof of Concept, I now needed to meet the requirements of the assignment. That meant adding a second sensor and making the interaction meaningful.
It was simple enough to add the second sensor. I simply had to do all of the wiring that I had already done again. That didn't take me too long. The problems here arose when trying to program the Arduino.
None of the problems I ran into were overly complicated, they all seemed to be stupid little mistakes; forgotten semicolons, forgetting to change a variable after a copy/paste, things like that. It wasn't too much of an issue. It took me a little longer than it should have, but I was done! Or so I thought.
I realized later that I had multiple inputs like I was supposed to, but that the different inputs didn't actually do anything different from each other. I decided that the best way to solve this was to set up two more LEDs, with each one lighting up depending on which sensor detected the stronger wind.
More problems here, but it was more of the same. A few minutes of debugging and I was set! I fixed up the pin-out diagram and I was finished! Ready for show and tell tomorrow!
Tuesday, February 18, 2014
Monday, February 17, 2014
Blink: Proof of Concept
Blink! Using an Arduino and some other components, make some LEDs light up from multiple inputs. Sounds pretty simple. Also make it do something interesting? Now its getting complicated.
For my project, I originally planned to meet the minimum requirements and get my B. I was partway through programming the Arduino to read in from a potentiometer and a button and have each light up when I came up with a better idea. The inspiration for the project struck me after seeing other forms of input combined with a little bit of curiosity.
After seeing one of these and asking what it did, I had an idea for what I jokingly call Lights Over Rochester.
Now I had my idea to (hopefully!) get me that A. I would use a couple of these to sense wind and light up the LED accordingly. Cool!
A half hour of work later I had my proof of concept working. Just one sensor, but it lit up the LED when I blew on it.
For my project, I originally planned to meet the minimum requirements and get my B. I was partway through programming the Arduino to read in from a potentiometer and a button and have each light up when I came up with a better idea. The inspiration for the project struck me after seeing other forms of input combined with a little bit of curiosity.
After seeing one of these and asking what it did, I had an idea for what I jokingly call Lights Over Rochester.
Now I had my idea to (hopefully!) get me that A. I would use a couple of these to sense wind and light up the LED accordingly. Cool!
A half hour of work later I had my proof of concept working. Just one sensor, but it lit up the LED when I blew on it.
Mission Success!
Subscribe to:
Comments (Atom)




