env_sensor
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
env_sensor [2015/12/06 17:54] – [Connect a SHT15] breaker27 | env_sensor [2018/02/18 19:39] (current) – [Partlist (in buildup order)] breaker27 | ||
---|---|---|---|
Line 12: | Line 12: | ||
| 1 | PCB Generic Midi 1 | | | 1 | PCB Generic Midi 1 | | ||
| 1 | Resistor 560R green-blue-brown | | 1 | Resistor 560R green-blue-brown | ||
- | | 1 | Resistor 150k 0,1% brown-green-black | + | | 1 | Resistor 150k 0,1% brown-green-black |
- | | 1 | Resistor 330k 0,1% orange-orange-black | + | | 1 | Resistor 330k 0,1% orange-orange-black |
| 1 | Resistor 1M brown-black-green | | 1 | Resistor 1M brown-black-green | ||
- | | 1 | Resistor 100k brown-black-yellow | + | | 1 | Resistor 100k brown-black-yellow |
| 1 | Resistor 10k brown-black-orange | | 1 | Resistor 10k brown-black-orange | ||
| 1 | Resistor 4k7 yellow-violet-red | | 1 | Resistor 4k7 yellow-violet-red | ||
Line 79: | Line 79: | ||
- If you want to detect the botton / switch / pin state **immediately**, | - If you want to detect the botton / switch / pin state **immediately**, | ||
* If you use the internal resistor with its resistance of around 22 kOhm, it would draw about 135µA, which is a lot. This is only recommended if you power your device with a power supply (not batteries). | * If you use the internal resistor with its resistance of around 22 kOhm, it would draw about 135µA, which is a lot. This is only recommended if you power your device with a power supply (not batteries). | ||
- | * The second option is to connect an external (physical) pull-up resistor of 1 MOhm to 10 MOhm (untested). One 1 MOhm pull-up (for one I/O pin) would draw around 3µA (at 3V battery voltage), so this is also noticeable compared to the sleep power consumption of around 1,2µA. Depending on your batteries, amount of I/O pins used as digital input and the percentage of the pin being pulled down by the button/..., you may try a risistor with a higher value like 10 MOhm. | + | * The second option is to connect an external (physical) pull-up resistor of 1 MOhm to 10 MOhm. One 1 MOhm pull-up (for one I/O pin) would draw around 3µA (at 3V battery voltage), so this is also noticeable compared to the sleep power consumption of around 1,2µA. Depending on your batteries, amount of I/O pins used as digital input and the percentage of the pin being pulled down by the button/..., you may try a risistor with a higher value like 10 MOhm. |
===== Connect a SHT15 ===== | ===== Connect a SHT15 ===== |
env_sensor.1449420877.txt.gz · Last modified: 2015/12/06 17:54 by breaker27