Raspberry Pi3
- Small Linux computer, under $100
WiFi AP https://frillip.com/using-your-raspberry-pi-3-as-a-wifi-access-point-with-hostapd/ ^ 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
pi3 - Linux - w1_gpio driver, connect temp sensor DS18B20 as in https://pinout.xyz/pinout/1_wire
2018-05-03 Working
- Setup the overlay for 1-wire in pi3 config, and reboot.
- visible under /sys/devices/w1_bus_master1
- 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
Now there should be no devices.
cat /sys/devices/w1_bus_master1/w1_master_slave_count
- 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
- Setup the overlay for 1-wire in pi3 config, and reboot.
Buy pi3 in 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
...