MAKING IMPROVISED COMPASS
You can construct improvised compasses using a piece of ferrous metal that can be needle shaped or a flat double-edged razor blade and a piece of nonmetallic string or long hair from which to suspend it. You can magnetize or polarize the metal by slowly stroking it in one direction on a piece of silk or carefully through your hair using deliberate strokes. You can also polarize metal by stroking it repeatedly at one end with a magnet. Always rub in one direction only. If you have a battery and some electric wire, you can polarize the metal electrically. The wire should be insulated. If not insulated, wrap the metal object in a single, thin strip of paper to prevent contact. The battery must be a minimum of 2 volts. Form a coil with the electric wire and touch its ends to the battery's terminals. Repeatedly insert one end of the metal object in and out of the coil. The needle will become an electromagnet. When suspended from a piece of nonmetallic string, or floated on a small piece of wood in water, it will align itself with a north-south line.
You can construct a more elaborate improvised compass using a sewing needle or thin metallic object, a nonmetallic container (for example, a plastic dip container), its lid with the center cut out and waterproofed, and the silver tip from a pen. To construct this compass, take an ordinary sewing needle and break in half. One half will form your direction pointer and the other will act as the pivot point. Push the portion used as the pivot point through the bottom center of your container; this portion should be flush on the bottom and not interfere with the lid. Attach the center of the other portion (the pointer) of the needle on the pen's silver tip using glue, tree sap, or melted plastic. Magnetize one end of the pointer and rest it on the pivot point.