I have a remote controlled toy car and I am to modify it as a line follower. I opened the car and happened to disconnect the wires. What I have is a couple of cylindrical plastics where the copper (or bronze) wires are wound. These two cylinders are facing each other. When I separated them, what I saw was a cylindrical magnet that has a plastic inside it. (Imagine a hotdog on a stick). The magnet can rotate and therefore the plastic rotates with the magnet. It serves as the steer for the front wheels.
I don't know if I accidentally cut a wire. Now, I have the two separate cylinders and a copper (or bronze) wire is wound around them. I tried connecting a battery (AA size, 1.5 volts) at the two ends of the separate wires but it didn't work. Kindly teach me how to repair this stuff. Thank you in advance.