The diagram below provides a visual reference for wiring of the components. This diagram was created using the software package Fritzing.
Use Adafruit's Fritzing parts library to create circuit diagrams for your projects. Download the library or just grab individual parts. Get the library and parts from GitHub - Adafruit Fritzing Parts.
The ItsyBitsy M4 is powered by 400mAh battery via the Lipo Backpack. This allows the USB port from the ItsyBitsy M4 to charge the 400mAh battery. A slide switch is connected to the two switch pin on the Lipo Back.
- BAT from Lipo Backpack to BAT on ItsyBitsy M4
- Ground from Lipo Backpack to GND on ItsyBitsy M4
- 5V from Lipo Backpack to USB on ItsyBitsy M4
A 2-pin slide switch is wired to the switch pins on the Trinket/ItsyBitsy Lipo Backpack.