Tag Archives: embroidery

Ada Lovelace’s skills (embroidery, languages, and more) led to her pioneering computer work in the 19th century

This is a cleaned up version of the Ada Lovelace story,

A pioneer in the field of computing, she has a remarkable life story as noted in this October 13, 2014 posting, and explored further in this October 13, 2015 posting (Ada Lovelace “… manipulative, aggressive, a drug addict …” and a genius but was she likable?) published to honour the 200th anniversary of her birth.

In a December 8, 2022 essay for The Conversation, Corinna Schlombs focuses on skills other than mathematics that influenced her thinking about computers (Note: Links have been removed),

Growing up in a privileged aristocratic family, Lovelace was educated by home tutors, as was common for girls like her. She received lessons in French and Italian, music and in suitable handicrafts such as embroidery. Less common for a girl in her time, she also studied math. Lovelace continued to work with math tutors into her adult life, and she eventually corresponded with mathematician and logician Augustus De Morgan at London University about symbolic logic.

Lovelace drew on all of these lessons when she wrote her computer program – in reality, it was a set of instructions for a mechanical calculator that had been built only in parts.

The computer in question was the Analytical Engine designed by mathematician, philosopher and inventor Charles Babbage. Lovelace had met Babbage when she was introduced to London society. The two related to each other over their shared love for mathematics and fascination for mechanical calculation. By the early 1840s, Babbage had won and lost government funding for a mathematical calculator, fallen out with the skilled craftsman building the precision parts for his machine, and was close to giving up on his project. At this point, Lovelace stepped in as an advocate.

To make Babbage’s calculator known to a British audience, Lovelace proposed to translate into English an article that described the Analytical Engine. The article was written in French by the Italian mathematician Luigi Menabrea and published in a Swiss journal. Scholars believe that Babbage encouraged her to add notes of her own.

In her notes, which ended up twice as long as the original article, Lovelace drew on different areas of her education. Lovelace began by describing how to code instructions onto cards with punched holes, like those used for the Jacquard weaving loom, a device patented in 1804 that used punch cards to automate weaving patterns in fabric.

Having learned embroidery herself, Lovelace was familiar with the repetitive patterns used for handicrafts. Similarly repetitive steps were needed for mathematical calculations. To avoid duplicating cards for repetitive steps, Lovelace used loops, nested loops and conditional testing in her program instructions.

Finally, Lovelace recognized that the numbers manipulated by the Analytical Engine could be seen as other types of symbols, such as musical notes. An accomplished singer and pianist, Lovelace was familiar with musical notation symbols representing aspects of musical performance such as pitch and duration, and she had manipulated logical symbols in her correspondence with De Morgan. It was not a large step for her to realize that the Analytical Engine could process symbols — not just crunch numbers — and even compose music.

… Lovelace applied knowledge from what we today think of as disparate fields in the sciences, arts and the humanities. A well-rounded thinker, she created solutions that were well ahead of her time.

If you have time, do check out Schlombs’ essay (h/t December 9, 2022 news item on phys.org).

For more about Jacquard looms and computing, there’s Sarah Laskow’s September 16, 2014 article for The Atlantic, which includes some interesting details (Note: Links have been removed),

…, one of the very first machines that could run something like what we now call a “program” was used to make fabric. This machine—a loom—could process so much information that the fabric it produced could display pictures detailed enough that they might be mistaken for engravings.

Like, for instance, the image above [as of March 3, 2023, the image is not there]: a woven piece of fabric that depicts Joseph-Marie Jacquard, the inventor of the weaving technology that made its creation possible. As James Essinger recounts in Jacquard’s Web, in the early 1840s Charles Babbage kept a copy at home and would ask guests to guess how it was made. They were usually wrong.

.. At its simplest, weaving means taking a series of parallel strings (the warp) lifting a selection of them up, and running another string (the weft) between the two layers, creating a crosshatch. …

The Jacquard loom, though, could process information about which of those strings should be lifted up and in what order. That information was stored in punch cards—often 2,000 or more strung together. The holes in the punch cards would let through only a selection of the rods that lifted the warp strings. In other words, the machine could replace the role of a person manually selecting which strings would appear on top. Once the punch cards were created, Jacquard looms could quickly make pictures with subtle curves and details that earlier would have take months to complete. …

… As Ada Lovelace wrote him: “We may say most aptly that the Analytical Engine weaves algebraical patterns just as the Jacquard-loom weaves flowers and leaves.”

For anyone who’s very curious about Jacquard looms, there’s a June 25, 2019 Objects and Stories article (Programming patterns: the story of the Jacquard loom) on the UK’s Science and Industry Museum (in Manchester) website.

Embroidery as a low-cost solution for making wearable electronics?

A November 22, 2022 news item on Nanowerk explores embroidery as a means for affixing wearable electronics to textiles,

Embroidering power-generating yarns onto fabric allowed researchers to embed a self-powered, numerical touch-pad and movement sensors into clothing. The technique offers a low-cost, scalable potential method for making wearable devices.

“Our technique uses embroidery, which is pretty simple – you can stitch our yarns directly on the fabric,” said the study’s lead author Rong Yin, assistant professor of textile engineering, chemistry and science at North Carolina State University. “During fabric production, you don’t need to consider anything about the wearable devices. You can integrate the power-generating yarns after the clothing item has been made.”

Caption: Yu Chen, graduate student at NC State, demonstrates embroidery techniques. Courtesy: North Caroline State University

A North Carolina State University November 22, 2022 news release (also on EurekAlert), which originated the news item, describes the research in more detail,

In the study published in Nano Energy, researchers tested multiple designs for power-generating yarns. To make them durable enough to withstand the tension and bending of the embroidery stitching process, they ultimately used five commercially available copper wires, which had a thin polyurethane coating, together. Then, they stitched them onto cotton fabric with another material called PTFE.

“This is a low-cost method for making wearable electronics using commercially available products,” Yin said. “The electrical properties of our prototypes were comparable to other designs that relied on the same power generation mechanism.”

The researchers relied on a method of generating electricity called the “triboelectric effect,” which involves harnessing electrons exchanged by two different materials, like static electricity. They found the PTFE fabric had the best performance in terms of voltage and current when in contact with the polyurethane-coated copper wires, as compared to other types of fabric that they tested, including cotton and silk. They also tested coating the embroidery samples in plasma to increase the effect.

In our design, you have two layers – one is your conductive, polyurethane-coated copper wires, and the other is PTFE, and they have a gap between them,” Yin said. “When the two non-conductive materials come into contact with each other, one material will lose some electrons, and some will get some electrons. When you link them together, there will be a current.”

Researchers tested their yarns as motion sensors by embroidering them with the PTFE fabric on denim. They placed the embroidery patches on the palm, under the arm, at the elbow and at the knee to track electrical signals generated as a person moves. They also attached fabric with their embroidery on the insole of a shoe to test its use as a pedometer, finding their electrical signals varied depending on whether the person was walking, running or jumping.

Lastly, they tested their yarns in a textile-based numeric keypad on the arm, which they made by embroidering numbers on a piece of cotton fabric, and attaching them to a piece of PTFE fabric. Depending on the number that the person pushed on the keypad, they saw different electrical signals generated for each number.

“You can embroider our yarns onto clothes, and when you move, it generates an electrical signal, and those signals can be used as a sensor,” Yin said. “When we put the embroidery in a shoe, if you are running, it generates a higher voltage than if you were just walking. When we stitched numbers onto fabric, and press them, it generates a different voltage for each number. It could be used as an interface.”

Since textile products will inevitably be washed, they tested the durability of their embroidery design in a series of washing and rubbing tests. After hand washing and rinsing the embroidery with detergent, and drying it in an oven, they found no difference or a slight increase in voltage. For the prototype coated in plasma, they found weakened but still superior performance compared with the original sample. After an abrasion test, they found that there was no significant change in electrical output performance of their designs after 10,000 rubbing cycles.

In future work, they plan to integrate their sensors with other devices to add more functions.

“The next step is to integrate these sensors into a wearable system,” Yin said.

Here’s a link to and a citation for the paper,

Flexible, durable, and washable triboelectric yarn and embroidery for self-powered sensing and human-machine interaction by Yu Chen, Erdong Chen, Zihao Wang, Yali Ling, Rosie Fisher, Mengjiao Li, Jacob Hart, Weilei Mu, Wei Gao, Xiaoming Tao, Bao Yang and Rong Yin. Nano Energy Volume 104, Part A, 15 December 2022, 107929 DOI: 10.1016/j.nanoen.2022.107929 Available online: 27 October 2022 Version of Record: 4 November 2022.

This paper is behind a paywall.