Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
en:c1_hardware_1w [2015/02/02 09:38] mdrjr |
en:c1_hardware_1w [2017/05/04 18:46] odroid |
||
---|---|---|---|
Line 7: | Line 7: | ||
Default GPIO for 1-Wire is **Pin #7 (GPIO83)** | Default GPIO for 1-Wire is **Pin #7 (GPIO83)** | ||
- | * Connection: | + | * **Connection: With External-Supply** |
- | {{:en:untitled_sketch_bb.png?750|}} | + | {{:en:1-wire-external-power.png?750|}} |
Pin 1 (Left): Ground (-) | Pin 1 (Left): Ground (-) | ||
Line 16: | Line 16: | ||
Pin 3 (Right): VCC (3.3V) | Pin 3 (Right): VCC (3.3V) | ||
- | You also need to add a resistor from 4.7k to 10k between pin 2 and 3. | + | You also need to add a resistor from 4.7k to 10k between pin 2. |
+ | * **Connection: Supplying the Parasite-Powered** | ||
+ | {{:en:1-wire-parasite-power.png?750|}} | ||
+ | |||
+ | Pin 1 (Left): Ground (-) | ||
+ | |||
+ | Pin 2 (Middle): Pin #7 C1 | ||
+ | |||
+ | Pin 3 (Right): Ground (-) | ||
+ | |||
+ | You also need to add a resistor from 4.7k to 10k between pin 2. | ||
* Load the required kernel modules: <code>modprobe w1-gpio && modprobe w1-therm</code> | * Load the required kernel modules: <code>modprobe w1-gpio && modprobe w1-therm</code> |