-
Notifications
You must be signed in to change notification settings - Fork 0
Platform and Wiring
Hermann Mayer edited this page Oct 11, 2015
·
3 revisions
Part | Link |
---|---|
Raspberry Pi Model B rev2 | https://www.raspberrypi.org |
Light Sensor Brick from ITead Studio | http://wiki.iteadstudio.com/Light_Sensor_Brick |
PIR Motion Sensor from Seeed Studio | http://www.seeedstudio.com/wiki/PIR_Motion_sensor_module |
MCP3008, 10 Bit / 8 Channel ADC | http://www.adafruit.com/products/856 |
AVM FRITZ!Powerline 546E | http://avm.de/produkte/fritzpowerline/fritzpowerline-546e/ |
AVM FRITZ!Box Fon WLAN 7360 SL | http://avm.de/produkte/fritzbox/fritzbox-7360/ |
Source | Destination |
---|---|
RP1 Pin 1 (+3V3) | PIR Motion Pin 2 (VCC) |
RP1 Pin 1 (+3V3) | Light Sensor Pin 2 (VCC) |
RP1 Pin 1 (+3V3) | MCP3008 Pin 16 (VDD) |
RP1 Pin 1 (+3V3) | MCP3008 Pin 15 (VREF) |
PR1 Pin 6 (GND) | PIR Motion Pin 3 (VCC) |
PR1 Pin 6 (GND) | Light Sensor Pin 1 (VCC) |
PR1 Pin 6 (GND) | MCP3008 Pin 14 (AGND) |
PR1 Pin 6 (GND) | MCP3008 Pin 9 (DGND) |
PR1 Pin 11 (GPIO 17) | PIR Motion Pin 1 (OUT) |
MCP3008 Pin 1 (CH0) | Light Sensor Pin 3 (OUT) |
PR1 Pin 23 (GPIO 11, SCLK) | MCP3008 Pin 13 (CL) |
PR1 Pin 21 (GPIO 9, MISO) | MCP3008 Pin 12 (DOUT) |
PR1 Pin 19 (GPIO 10, MOSI) | MCP3008 Pin 11 (DIN) |
PR1 Pin 24 (CE0, GPIO8) | MCP3008 Pin 10 (CS) |
- Wiring the MCP3008
- MCP3008 Datasheet
- Setup SPI on the Raspberry Pi, SPI loopback test #1
- Setup SPI on the Raspberry Pi, SPI loopback test #2
- C/C++ Example, how to connect the MCP3008 with the Raspberry Pi via Linux Kernel SPI devices
- Additional Raspberry Pi Pinouts #1
- Additional Raspberry Pi Pinouts #2