Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
interfaces:1wire [2015/12/09 13:44]
darron
interfaces:1wire [2016/01/20 10:21] (current)
darron [KEYES DS18B20 module]
Line 4: Line 4:
 \\ \\ \\ \\
 {{:interfaces:1wire-2.jpg?200}} {{:interfaces:1wire-2.jpg?200}}
 +\\ \\
 +{{:interfaces:keyes.jpg?200}}
 </wrap> </wrap>
  
Line 27: 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. 
 +<code> 
 +                +---P1---+ 
 +3V3             01      02 5V 
 +GPIO0/GPIO2     03 A/A+ 04 5V 
 +GPIO1/GPIO3     05 B/B+ 06 GND 
 +GPIO4           07 2    08 GPIO14/TX 
 +                ..      .. 
 +</code> 
 + 
 +NB. The 1 wire data line must pulled high via 4K7 to 3V3 power. 
 + 
 === DS18B20 Thermometer === === DS18B20 Thermometer ===
 <code> <code>
Line 48: Line 62:
 </code> </code>
  
 +=== KEYES KY-001 DS18B20 module ===
 +
 +This module re-orders the pins so beware.
 +
 +<code>
 ++-------+
 +|DS18B20|
 +|       |
 ++-G R Y-+
 +  | | |
 +  
 +G GROUND
 +R POWER
 +Y DATA
 +</code>
 +
 +DATA is pulled up via a 4K7 resistor and an LED. The LED will flash
 +during communication with the chip.
 === DS2431 EEPROM === === DS2431 EEPROM ===
 <code> <code>