Open chibberd opened 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.
LiPO battery guide https://rogershobbycenter.com/lipoguide/
PIR
https://cdn-learn.adafruit.com/downloads/pdf/pir-passive-infrared-proximity-motion-sensor.pdf
Just needs a digital in
For PIR, any GPIO will do, interrupts are supported.
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).
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
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
LiPO Shim PIR Accelerometer Camera