I am using a Wemos D1 Mini for an IoT demonstration.
I have
- A SG90 servo 5V, 360mA (max)
- A motion sensor 5V, 65mA
- A battery charging board and voltage regulator outputting 5V, 1A (max).
The microUSB port on the Wemos will be used for uploading code.
I could connect a microUSB male to the charging board and then manually swap between the charging USB and the code upload USB but that feels clunky.
I could directly supply 5V from the charging board to the Wemos (via 5V VCC rather than the USB) AND the servo AND the motion sensor separately, but I lack the electronics knowhow to think through the wiring.
Any comments? Thanks