The circuit diagram above shows how the components will be wired together. This won't be 100% exact in the actual circuit but it's a very close approximation.
- Slide switch to Lipoly Backpack
- VCC from Camera to 5V on Trinket
- GND from Camera to GND on Trinket
- BAT from Lipo backpack to BAT on Trinket
- G from Lipo backpack to GND on Trinket
- 5V from Lipo backpack to USB
The circuit will be powered by a 3.7V 100mAh Lithium ion battery via JST connection. The battery plugs directly into the Trinket Backpack, which allows the recharging over the microUSB port on the Trinket.