I have the guts from a greeting card that was originally powered by two CR2032 cells. After some investigation it appears each cell powers the speaker and motor separately, so they only need 3v each. I tested this by removing both cells, then activating each feature one by one.
I'm curious if I can use the 3.3v on the Pi3 to power one or both of those features through python. I'd be adding a button for control to turn it off and on. Realistically I think it would be easier to desolder the motor leads and wire to the Pi directly, but the music portion has a chip to play a specific tune, as well as an external speaker. If it is indeed possible to power this from the Pi, how should I connect it up?
2 white wires go to the speaker
Red/Black to got the motor
The switch is in the corner and is constantly on unless a piece of paper (tab from the card) breaks the connection.