chibberd / remote_camera

0 stars 0 forks source link

Plan hardware connections #1

Open chibberd opened 5 years ago

chibberd commented 5 years ago

LiPO Shim PIR Accelerometer Camera

chibberd commented 5 years ago

https://www.raspberrypi.org/documentation/usage/gpio/

image

chibberd commented 5 years ago

LiPO shim

https://pinout.xyz/pinout/zero_lipo

image

chibberd commented 5 years ago

https://shop.pimoroni.com/products/adafruit-micro-lipo-usb-liion-lipoly-charger-v1#description

Batter is 2000mAh so solder closed the jumper to increase the charge current.

Solder the header onto the LiPO shim to make it easy to remove from the Pi.

chibberd commented 5 years ago

LiPO battery guide https://rogershobbycenter.com/lipoguide/

chibberd commented 5 years ago

PIR

https://cdn-learn.adafruit.com/downloads/pdf/pir-passive-infrared-proximity-motion-sensor.pdf

image

Just needs a digital in

chibberd commented 5 years ago

For PIR, any GPIO will do, interrupts are supported.

chibberd commented 5 years ago

Need 5V and ground for PIR and accelerometer. 5V will need to come from the LiPO shim output pin, ground can be back to the Pi.

Accelerometer can't use I2C as it is blocked by the LiPO shim. SPI is available though (19, 21, 23 or 35, 38, 40).

chibberd commented 5 years ago

LiPO shim pins 1-12 P1 5V to accelerometer and PIR P39 Ground to accelerometer P35 MISO/SDO for accelerometer SPI P36 CS for accelerometer SPI (low to enable SPI) P38 MOSI/SDA for accelerometer SPI P40 SCLK/SCL for accelerometer SPI P30 ground to PIR P29 digital in for PIR

chibberd commented 5 years ago

LiPO shim pins 1-12 P1 5V to accelerometer and PIR P39 Ground to accelerometer P21 MISO/SDO for accelerometer SPI P24 CS for accelerometer SPI (low to enable SPI) P19 MOSI/SDA for accelerometer SPI P23 SCLK/SCL for accelerometer SPI P30 ground to PIR P29 digital in for PIR