Differences between revisions 1 and 13 (spanning 12 versions)
Revision 1 as of 2017-01-08 03:38:01
Size: 189
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 5: Line 5:
 * [[eco/PowerMonitoring]]
 * [[Pi3/led1.py]]
Line 6: Line 8:
 ^ https://developer.android.com/things/hardware/raspberrypi-io.html
== Raspberry Pi3 - Led Flash ==
 * Get pin-out from the linux terminal, just run https://www.raspberrypi.org/documentation/usage/gpio/ {{{
pinout
   }}}
  
== 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 ==
 * https://nz.rs-online.com/web/authHome.html
 * pishop.nz

== Pi3 - CEC HDMI controll ==
 * https://blog.gordonturner.com/2016/12/14/using-cec-client-on-a-raspberry-pi/
    * e.g. switch television off with {{{
echo "standby 0" | cec-client RPI -s -d 1
      }}}
    * http://www.cec-o-matic.com/

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)