I took another step toward actually building this, which was to start using the temperature sensor and the arduino! You can see in the picture below that the sensor is sticking out of the arduino. It's super easy to use - just plug the outer two pins into 5V and Ground, and the middle pin into an analog input.
Arduino sitting on my bed because I have no desk.
Then I downloaded some simple code from adafruit.com, from which I bought the sensor. If you don't know who Ladyada (Limor Fried) is, you should read about her. She was instrumental in bringing about the arduino revolution, which put easy-to-use microcontrollers and electronics within reach of non-engineers like me and allowed millions of people to make LEDs blink.
As you can see, it's reading the temperature! Super awesome! Now I need to embed the sensor in a coupler that will go between my shower head and the pipe coming from the wall. Annoyingly, Home Depot doesn't have something as basic as a 1/2-inch coupler, nor a 1/2-inch splitter (I have plans to put in an additional shower head that runs to the other side of the shower so Kerry and I can each have water!). Looks like I should have just gone to Orchard Supply yet again, because they have like every kind of pipe you could want.
Now I just need to get my servos!! The Hong Kong mail doesn't have the same level of tracking that we do. All they can tell me is that the package left Hong Kong about a week ago. Hopefully it'll come soon!!
No comments:
Post a Comment