Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
interfaces:1wire [2015/10/22 21:17] – [1wire] darron | interfaces:1wire [2016/01/20 10:21] (current) – [KEYES DS18B20 module] darron | ||
---|---|---|---|
Line 2: | Line 2: | ||
<wrap right> | <wrap right> | ||
{{: | {{: | ||
+ | \\ \\ | ||
+ | {{: | ||
+ | \\ \\ | ||
+ | {{: | ||
</ | </ | ||
Line 25: | Line 29: | ||
| 7 | GPIO4 | DATA| | | 7 | GPIO4 | DATA| | ||
- | Data is pulled high via 4K7 to 3V3 power. | + | The relevant pins on the Pi header are as follows. |
+ | < | ||
+ | +---P1---+ | ||
+ | 3V3 | ||
+ | GPIO0/ | ||
+ | GPIO1/ | ||
+ | GPIO4 07 2 08 GPIO14/TX | ||
+ | .. .. | ||
+ | </ | ||
+ | |||
+ | NB. The 1 wire data line must pulled high via 4K7 to 3V3 power. | ||
+ | |||
=== DS18B20 Thermometer === | === DS18B20 Thermometer === | ||
< | < | ||
Line 46: | Line 62: | ||
</ | </ | ||
+ | === KEYES KY-001 DS18B20 module === | ||
+ | |||
+ | This module re-orders the pins so beware. | ||
+ | |||
+ | < | ||
+ | +-------+ | ||
+ | |DS18B20| | ||
+ | | | | ||
+ | +-G R Y-+ | ||
+ | | | | | ||
+ | | ||
+ | G GROUND | ||
+ | R POWER | ||
+ | Y DATA | ||
+ | </ | ||
+ | |||
+ | DATA is pulled up via a 4K7 resistor and an LED. The LED will flash | ||
+ | during communication with the chip. | ||
=== DS2431 EEPROM === | === DS2431 EEPROM === | ||
< | < |