Prototyping an Arduino sketch can lead to several disconnects and reconnects of the USB cable. This unobtrusive on/off switch hack takes (3) dollar store parts to achieve what is often sold retail for vastly more. A gratuitous USB cable and/or toggle switch may already be some thing presently laying around your shop.
- USB Car Charger
- USB Cable
- Toggle Switch
- Paint (Optional)
Hard connect GND, D+ and D- to the female USB and toggle the VCC.