I'm making a turret that shoots mosquitos with a laser using computer vision. I'm very comfortable with the software involved, but am new to the hardware and circuit design (voltage, current, etc.). Particularly, I'm not sure how to design a circuit that provides everything with sufficient power without blowing anything out.
- Raspberry Pi 3 (and/or Arduino UNO, both available)
- Raspberry Pi camera module (computer vision to track mosquitos)
- USB webcam (to triangulate distance to target from 2nd vantage point)
- Two stepper motors (28BYJ-48) with driver boards (ULN2003) for horizontal & vertical aiming
- 5mW red laser (starting weak & safe)
- Raspberry Pi 3: Recommended PSU current capacity 2.5A, Maximum total USB peripheral current draw 1.2A, bare-board consumption: ~400mA
- Raspberry Pi camera: 250mA
- USB webcam: 5V, 500mA
- Laser 3-5V, 5mW (do I understand correctly that providing 5V will make this consumption 1mA? Amps = Watts / Volts)
- Stepper Motors (each): DC 5V 4-phase, Insulation Resistance: >10MΩ (500V), Dielectric Strength: 600V AC / 1mA / 1s, DC Resistance: 200Ω±7% (25C)
1) Can power everything directly off the Raspberry Pi 3, or do I need an external power source?
2) Do I need any resistors? If so, what might the circuit design look like? (or what's your thought process designing one?)
Appreciate any guidance,