Hello Arduino Community,
I am working on project three (love-o-meter), and noticed that the temperature readings coming into the serial console can show swings of about 3F (converted from C to F).
I was reading the datasheet of the TMP sensor and see they are recommending adding on a capacitor to help prevent voltage fluctuation/have a more consistent read out. http://www.analog.com/media/en/technical-documentation/data-sheets/TMP35_36_37.pdf
I tried reading ahead but do not fully grasp the concept of the capacitor.
Questions: 1. At a high level, I understand a capacitor as a bucket full of water (electricity). When the capacitor is full, it would spew electricity, much like an overflowing bucket of water. When we see variance in voltage, the capacitor would pour out needed electricity to help smooth things over? Can you confirm this is the correct understanding of a capacitor? Likewise, can you please chastise me on whether or not I used the terms electricity properly here? I am unsure if you would reference the overflow as voltage or current :(
- Based on the datasheet, I see the capacitor goes from Power to Ground, and the Power end of the TMP sensor goes to Power as well. I am a bit confused, my mind wants me to take one lead of the capacitor from power and have the other lead be connected to the Power lead of the TMP sensor. Can you please help clarify how the capacitor is used/how it should properly be connected?
Appreciate the help in advance and sorry about the newbie questions :confused: -stromb0li