Differences between revisions 12 and 13
Revision 12 as of 2018-06-23 13:10:17
Size: 1891
Editor: PieterSmit
Comment:
Revision 13 as of 2019-02-07 09:09:27
Size: 1995
Editor: PieterSmit
Comment:
Deletions are marked like this. Additions are marked like this.
Line 14: Line 14:
== Pi3 Temperatrure sensor == == Pi3 Temperature sensor ==
Line 16: Line 16:
 * pi3 - Linux - w1_gpio driver, connect temp sensor DS18B20 as in [[https://pinout.xyz/pinout/1_wire]]

Raspberry Pi3

Raspberry Pi3 - Led Flash

Pi3 Temperature sensor

  • Links Arduino/DS18B20TempSensors

  • pi3 - Linux - w1_gpio driver, connect temp sensor DS18B20 as in https://pinout.xyz/pinout/1_wire

  • http://temp-pi3.s3-website-us-east-1.amazonaws.com/

  • https://pimylifeup.com/raspberry-pi-temperature-sensor/

  • https://pinout.xyz/pinout/1_wire

  • 2018-05-03 Working :)

    1. Setup the overlay for 1-wire in pi3 config, and reboot.
      • visible under /sys/devices/w1_bus_master1
    2. It was picking up spurious clients, probably due to no pull up on gpio-4(pin-7)
      • Wire to breadboard pin 1 (Top/Edge, Left(away from edge)) 3.3v
      • Wire to breadboard pin 6 (3rd from Top, on Right edge) GND
      • Wire to breadboard pin 7 (1-wire) and connect with pull-up 4.7k resistor to 3.3v (pin-1) rail
    3. Now there should be no devices.

      cat /sys/devices/w1_bus_master1/w1_master_slave_count 
    4. Attache the 3 pins or the DS18B20 to Gnd, 3.3v, 1-wire+pull-up 4.7k.
      • Now see once device connected and can read mC° e.g.

        # cat /sys/devices/w1_bus_master1/28-000003574871/w1_slave 
        b8 00 4b 46 7f ff 08 10 b7 : crc=b7 YES
        b8 00 4b 46 7f ff 08 10 b7 t=11500

Buy pi3 in NZ

Pi3 - CEC HDMI controll

...

linux/Pi3 (last edited 2019-02-07 09:09:27 by PieterSmit)