I tried to make an electromagnet at home but when I connect the two copper wires to a 1.5V battery it keeps short circuiting and heating up. Also it doesn't attract other nails.

https://lemmy.world/post/1211410

I tried to make an electromagnet at home but when I connect the two copper wires to a 1.5V battery it keeps short circuiting and heating up. Also it doesn't attract other nails. - Lemmy.world

This is my electromagnet.

You need your wire to be isolated, and many more turns