- Wire18B20-Temp DS18b20
- Temp+Hum-DHT22 Temperature & Humidity. ** Use V3.3,GND,GPIO1; Most need a 4.7kOhm resistor V3.3-Pin1
- Temp+Hum-DHT11 Temperature & Humidity. less accurate; ** Use V3.3,GND,GPIO17; Most need a 4.7kOhm resistor V3.3-Pin1
- Temp-i2cTMP102 ** Use V3.3,GND,SLA(GPIO3),SLC(GPIO3) pins
- Temp-i2cMCP9808 ** Use V3.3,GND,SLA(GPIO3),SLC(GPIO3) pins
- Temp+Press-i2cT5403 ** Use V3.3,GND,SLA(GPIO3),SLC(GPIO3) pins
- Temp+Press-i2cBMPxx ** Use V3.3,GND,SLA(GPIO3),SLC(GPIO3) pins
- Temp-Ambient+Infrared-mlx90614 Use V3.3,GND,SLA(GPIO3),SLC(GPIO3) pins
- Temp+Press+Hum-i2cBMExx ** best sensor temp/press/humidity ** Use V3.3,GND,SLA(GPIO3),SLC(GPIO3) pins
- Temp+Hum-i2cSHT21 ** Use V3.3,GND,SLA(GPIO3),SLC(GPIO3) pins
- Temp+Hum-i2cAM2320 ** Use V3.3,GND,SLA(GPIO3),SLC(GPIO3) pins
- Temp-i2cLM75A-35 ** Use V3.3,GND,SLA(GPIO3),SLC(GPIO3) pins
- Lux+RGB-i2cTCS34725 ** Use V3.3,GND,SLA(GPIO3),SLC(GPIO3) pins
- IR-Visible-UV -1145 ** Use V3.3,GND,SLA(GPIO3),SLC(GPIO3) pins
- visible Light -OPT3001 - not ready
- Ambient-White-i2cVEML6030 ** Use V3.3,GND,SLA(GPIO3),SLC(GPIO3) pins
- RGB-White-i2cVEML6040 ** Use V3.3,GND,SLA(GPIO3),SLC(GPIO3) pins
- UV-i2cVEML6070 ** Use V3.3,GND,SLA(GPIO3),SLC(GPIO3) pins
- UVA-UVB-i2cVEML6075 ** Use V3.3,GND,SLA(GPIO3),SLC(GPIO3) pins
- Lux-i2cTSL2561 ** Use V3.3,GND,SLA(GPIO3),SLC(GPIO3) pins
- current and voltage i2c INA 209 ** Use V3.3,GND,SLA(GPIO3),SLC(GPIO3) pins
- XYZ-gyroscope l3g4000/l3gd20h ** Use V3.3,GND,SLA(GPIO3),SLC(GPIO3) pins
- 3 degree sensor mag3110 ** Use V3.3,GND,SLA(GPIO3),SLC(GPIO3) pins
- 3 degree sensor hmc5883L ** Use V3.3,GND,SLA(GPIO3),SLC(GPIO3) pins
- 9 degree sensor BNO055 ** Use V3.3,GND,SLA(GPIO3),SLC(GPIO3) pins
- 9 degree sensor mpu9255 ** Use V3.3,GND,SLA(GPIO3),SLC(GPIO3) pins
- 6 degree sensor mpu6050 ** Use V3.3,GND,SLA(GPIO3),SLC(GPIO3) pins
- 6 degree sensor lsm303 - not ready
- Analog-1x16bit-i2cADS1x15 - one channel ** Use V3.3,GND,SLA(GPIO3),SLC(GPIO3) pins
- Analog-4x16bit-i2cADS1x15 - 4 channels ** Use V3.3,GND,SLA(GPIO3),SLC(GPIO3) pins
- Analog-4x8bit-one-channel-i2cPCF8591 ** Use V3.3,GND,SLA(GPIO3),SLC(GPIO3) pins
- Analog-4x8bit-i2cPCF8591 ** Use V3.3,GND,SLA(GPIO3),SLC(GPIO3) pins
- Analog-8x10bit-spiMCP3008 - 8 channels 10 bit 0-3.3 analog input channels ** use SPI connection
- Analog-8x10bit-one-channel-spiMCP3008 1 channels 10 bit 0-3.3 analog input channels
- pulse- sensor ** use any valid GPIO pin can detect > 50Hz frequency, pulse needs to be > 50uSecs , sets count and frequency state in indigo,. A microwave movement sensor (red - +5V, black -GND, green through diode[cathode to sensor, anode to RPI] to any GPIO pin): ~ $11
- TOUCH- 1 touchPad active ** supports 3 different sensors 2 with i2c and one with 2 general GPIO pins. (TTP226-xxx 16 Serial/8direct, TTP 226LSF 16 i2c channels; MPR121 i2c 12 channel)
- TOUCH- 4 touchPads active ** supports 3 different sensors 2 with i2c and one with 2 general GPIO pins. (TTP226-xxx 16 Serial/8direct, TTP 226LSF 16 i2c channels; MPR121 i2c 12 channel)
- TOUCH- 12 touchPads active ** supports 3 different sensors 2 with i2c and one with 2 general GPIO pins. (TTP226-xxx 16 Serial/8direct, TTP 226LSF 16 i2c channels; MPR121 i2c 12 channel)
- TOUCH- 16 touchPads active ** supports 3 different sensors 2 with i2c and one with 2 general GPIO pins. (TTP226-xxx 16 Serial/8direct, TTP 226LSF 16 i2c channels; MPR121 i2c 12 channel) note the jumpers on the TTP226-LSF-i2c 8pads +slider board ( KEYSEL) and the 16 pad TTP (P1-3)
- GPIO-max-1-PINs ** digital GPIO pin input
- GPIO-max-4-PINs ** digital GPIO pin input
- GPIO-max-10-PINs ** digital GPIO pin input
- GPIO-max-26-PINs ** digital GPIO pin input
- distance-ultrasound ** use 2 general GPIO pins for echo and trigger
- distance-TOF-vl503l0x ** Use V3.3,GND,SLA(GPIO3),SLC(GPIO3) pins
- distance-TOF+Lux-vcnl4010 ** Use V3.3,GND,SLA(GPIO3),SLC(GPIO3) pins
- distance-TOF+Lux-vl6180 ** Use V3.3,GND,SLA(GPIO3),SLC(GPIO3) pins
- proximity-apds9960 ** Use V3.3,GND,SLA(GPIO3),SLC(GPIO3) pins
- my sensors.py ** program you can define your own sensor or any other function with this on the RPI
- myprogram.py ** program you can define your own sensor or any other function with this on the RPI, differnet version
- - out - GPIO-1-ON/off ** use any general GPIO pin to create a digital output device
- - out - GPIO-1-Dimmer ** use any general GPIO pin to create a digital output device with PWM (pulse width modulation), its a dimmer device in indigo, you can drive LEDs with this
- - out - GPIO-max-4-PINs ** use up to 4 general GPIO pin to create a digital output device with 4 output channels
- - out - GPIO-max-10-PINs ** use up to 10 general GPIO pin to create a digital output device with 10 output channels
- - out - GPIO-max-26-PINs ** use up to 26 general GPIO pin to create a digital output device with 26 output channels
- - out - FM-radio-setTEA5767 -- a neat little digital FM tuner ** Use V3.3,GND,SLA(GPIO3),SLC(GPIO3) pins
- - out - Analog-1x12bit-i2cMCP4725 ** Use V3.3,GND,SLA(GPIO3),SLC(GPIO3) pins
- - out - Analog-1x8bit-i2cPCF8591 ** Use V3.3,GND,SLA(GPIO3),SLC(GPIO3) pins
- - out - Display avriaous display modules supported, see device defs
- - out - Neopixel device output for RGB LED chains ** Use V5,GND,GPIO18 pins and a level shifter
- - out - Neopixel-Dimmer device output for RGB LED chains ** Use V5,GND,GPIO18 pins and a level shifter, it is a indigo dimmer device
- - out - myoutput.py program on rPi. You can supply your own program to receive text commands from the plugin to do any action on the rPi you like to do.
A good description can be found here :http://www.reuk.co.uk/DS18B20-Temperature-Sensor-with-Raspberry-Pi.htm
This image shows how to connect a simple 1 wire DS18b20 (not the P version!!) to the rPi.: I use pins pins 1,7,9
The plugin does all the software configuration on the rPi
To create a SENSOR deviceFIRST connect the device to the rPi. Then in Indigo add device: select piBeacon/ sensor model. Then select the rPi the sensor is connected to, select the State column display and save.
After correct setup you should set in 1-2 minutes the sates being populated
Temperature/Pressure can be changed in config menu/configuration (celsius, fahrenheit, kelvin / ...)
Sensor Connection pins:
OneWire D18B20 sensor will be connected:
- Pin1=3.3V --> VCC,
- Pin7=GPIO4-->Signal
- Pin9=Ground--> ground
DHT sensor will be connected:
- Pin1=3.3V --> VCC,
- Pin11=GPIO17-->Signal or Pin 7=GPIO4 (selectable in device edit), both together should work, but then no ONEwire device on pin 7
- Pin9=Ground--> ground
i2c sensors will be connected to pins
- Pin1=3.3V --> VCC
- Pin3=GPIO2-->SDA
- Pin5=GPIO3-->SDC
- Pin9=Ground--> ground
there are 127 possibilities. if you connect 2 they must have a different address. you can see the address of a connected i2c device with:
sudo i2cdetect -y 1
it will show you a matrix of HEX numbers and the one number of the connected device
SPI sensors will be connected to pins
- Pin1 =3.3V --> VCC
- Pin19=GPIO10-->MOSI
- Pin21=GPIO9--> MISO
- Pin23=GPIO11-> SCKL
- Pin24=GPIO8 =CE-0 either for channel selector
- Pin26=GPIO7 =CE-1 or for channel selector
- Pin25=Ground--> ground
INPUT GPIO PINS
any PIN that is not used for i2c pins and -- not Onewire or DHT if active - can be used as input pin
OUTPUT GPIO PINS are
(use PIN and ground to drive an external device, max current= 33mA):
any PIN that is not used for i2c pins and -- not Onewire or DHT if active - can be used as output pin
and below the complete pin layout
Karl