Most people today combine conductive thread - embroidery thread that can carry an electrical current - with other types of electronics to create outfits, stuffed animals or accessories that light up or communicate.
However, scientists realised that this off-the-shelf conductive thread also has magnetic properties that can be manipulated to store either digital data or visual information like letters or numbers.
"This is a completely electronic-free design, which means you can iron the smart fabric or put it in the washer and dryer," said Shyam Gollakota, associate professor at the University of Washington in the US.
"We are using something that already exists on a smartphone and uses almost no power, so the cost of reading this type of data is negligible," said Gollakota.
Also Read
In one example, they stored the passcode to an electronic door lock on a patch of conductive fabric sewn to a shirt cuff. They unlocked the door by waving the cuff in front of an array of magnetometers.
They used conventional sewing machines to embroider fabric with off-the-shelf conductive thread, whose magnetic poles start out in a random order.
By rubbing a magnet against the fabric, the researchers were able to physically align the poles in either a positive or negative direction, which can correspond to the 1s and 0s in digital data.
Like hotel card keys, the strength of the magnetic signal weakens by about 30 per cent over the course of a week, though the fabric can be re-magnetized and re-programmed multiple times.
This is in contrast to many smart garments today that still require on-board electronics or sensors to work.
That can be problematic if you get caught in the rain or forget to detach those electronics before throwing them in the washing machine - a potential barrier to widespread adoption of other wearable technology designs.
The team also demonstrated that the magnetized fabric could be used to interact with a smartphone while it is in one's pocket.
Each gesture yields a different magnetic signal that can invoke specific actions like pausing or playing music.
Disclaimer: No Business Standard Journalist was involved in creation of this content