sleepy
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
sleepy [2015/04/24 11:50] – andi | sleepy [2015/04/24 12:35] – [Speaker] 2001:1a80:22a4:a900:97fc:6854:fe65:ef8c | ||
---|---|---|---|
Line 6: | Line 6: | ||
* permissions '' | * permissions '' | ||
+ | ===== Accelerometer ===== | ||
Line 16: | Line 17: | ||
| SDA (brown) | Pol 1 (hinten rechts) | (weiß) SDA | | | SDA (brown) | Pol 1 (hinten rechts) | (weiß) SDA | | ||
+ | ===== Temperature ===== | ||
+ | |||
+ | https:// | ||
+ | |||
+ | | Orange | 3V | | ||
+ | | Yellow | GPIO #4 | | ||
+ | | Green | GND | | ||
+ | |||
+ | |||
+ | sudo modprobe w1-gpio | ||
+ | sudo modprobe w1-therm | ||
+ | cat / | ||
+ | ===== Speaker ===== | ||
+ | |||
+ | GPIO 18 | ||
+ | |||
+ | right input and output | ||
+ | |||
+ | mono files | ||
+ | |||
+ | |||
+ | gpio mode 1 out | ||
+ | gpio write 1 1 | ||
+ | play test.wav -c 1 repeat 3 | ||
+ | gpio write 1 0 |
sleepy.txt · Last modified: 2015/04/24 13:42 by 2001:1a80:22a4:a900:97fc:6854:fe65:ef8c