Hi all,
I'm building a kid MP3 player with a few buttons for my 2 years old son.
It's very simple: button pressed-> turn up -> play music -> auto shutoff.
For my first project I selected ready-made boards (with links):
Here is the proposed assembly:
- place the power switch between the battery and my circuit (red and black wires).
- connect the "ON" pin of the power switch to the "VIN" pin via a push button so that the system can be turned on by teh user.
- connect the "OFF" pin of the power switch to the "trigger 1" so that the controller can turn the system off.
When there is just the battery, and not USB cable, this works as expected. The push buttons turns it up, and the `trigger 1` output turns it off.
This gets messy as soon as I plug the USB to the FTDI to recharge the battery.
Here is what I observe when the USB is plugged:
- the red led of the solid-state power switch is always on.
- state of the latch can be changed from `on` to `off`, and from `off` to `on`. However this is not visible on the led (see #1).
- the "charge" led of the LilyPad is always on.
I didn't anticipate that. It raise many questions:
a - How can I validate that the "
MCP73831 3.7V Lipo charger" works well through the MOSPHETs?
b - Is it workable or should I consider to replace the "solid-state power circuit" with something else (maybe a relay)?
Tell me what you think.