Well, that is really nothing what's worth to mention since there are millions of already done projects like this one on youtube and other channels.
However, I am still working on my desktop robot and want to charge the battery during runtime without having to plug the robot into a charging unit.
Wireless charging is the magic word and it's quite common theses days so I could just buy the whole thing. I won't do that since I am happy when I can play with components which seems to be from an ancient time, transistors.
That circuit I found on youtube in Ludic Science's channel is perhaps the most easy one with the less components. You will just need one common transistor (a 2N2222 will do the trick), a LED, some magnet wire and a single AA battery.
I tried to do that before but failed. The magig is the resonance which enables the power transfer. The two coils have to be in resonance to make it work.
This is the circuit (borrowed screenshot from Ludic's video)
This is the transmitter coil. Make 12 windings then take a wire loop and do another 12 windings so that you end up with 3 wires, the middel one is twisted together.The circuit is straight forward, so I am not going to explain much more here. The receiver coil is 24 windings and each end of the wire is just connected to a LED.
The only thing I changed on that circuit was to add a 1k base resistor since the 2222 got quite hot.
I left it running over night and will see how the battery looks tomorrow morning. Depending on the result I will try to put a 10k or larger base resistor in place, trying to save more battery power by the same output.
UPDATE #1: The 10k resistor did not light up the LED bright enough so I kept the 1k in place.
Update #2: The current with one red LED is around 5mA. If I have time I will figure out and test a circuit to charge a battery.
Update #3: Correction, the receiver coil is 24 windings, NOT 12. Also I forgot tom mention that by 5mA output the primary circuit is drawing 84mA.
https://www.youtube.com/watch?v=_aVeT5GBp6g