Shanel Wu

They/them. PhD student: smart textiles, weaving, computational craft, hardware hacking.

View My GitHub Profile

E-Textiles Web Multimeter

Spring 2019

Visualization Web App

The e-textile multimeter and visualizer in use

Concept

E-textiles prototyping with embroidery

Prototyping

Testing e-textiles circuit

Testing

Visualizing e-textiles circuit with multimeter

Visualization

An e-textiles design workflow showing how the multimeter might be used after prototyping to test and visualize the design.

Description: Motivation & Goals

Both of us work in e-textiles and run into several obstacles during the design process. Like many other kinds of making, our process involves prototyping, analyzing or diagnosing the design, debugging, and then iterating. In e-textiles, there aren’t many tools to support the diagnosis and debugging stages. For this project, we would like to build upon Rona’s ongoing work in creating a wearable e-textile multimeter and extend its capabilities. The tool currently indicates continuity in an e-textile circuit through an LED, which helps the user identify any shorts or breaks in their sewn or woven circuit.

Our proposed design for this e-textile diagnostic tool will add a digital representation to the e-textile multimeter, visualizing the circuit layout while the multimeter is in use. Translating from the physical iteration will give the user deeper insights during their design process. This real-time feedback will let the user move more quickly through iterations and debug more efficiently.

Components

Electronics

  • Arduino Uno
  • Sparkfun Bluetooth Mate Silver
  • ADNS-9800 motion sensor
  • Other Bluetooth-enabled device
  • Soft multimeter probe
    • Soft jumper wires 
    • LED
    • Conductive threads 

Materials

  • Fabric
  • Snap connectors
  • Cotton/non-conductive yarn

Tools

  • Soldering iron
  • Sewing needle

Block Diagram

Block diagram of system showing Arduino, motion sensor, Bluetooth, and visualizer

Block diagram showing connections for motion sensor, Bluetooth module, and data flow into the visualizer. (click for hi-res)

Probe Circuit Schematic

Circuit schematic of multimeter probe and a simple circuit under testing.

Schematic showing how to connect the Arduino and probe to the test circuit.

Instructions

Modifying the ADNS Motion Sensor for 5V mode

Underside of sensor, showing where to solder and cut

1. The ADNS can run on 3.3V or 5V logic. The breakout board ships in 3.3V mode. If you are using a microcontroller that runs on 5V logic (e.g. Arduino Uno), follow the board maker’s instructions for enabling 5V mode as shown above. Use an Exacto knife or fine blade to cut the traces.

Top of sensor, showing how to secure plastic lens

2. The sensor lens does not come secured to the rest of the board, so use a soldering iron to slightly melt the two plastic pegs so they won’t fall out of their slots.

Arduino & Bluetooth Set Up and Pairing

  1. Connect the Arduino Uno, RN-42 Bluetooth module, and ADNS motion sensor as shown in the block diagram. This is a more detailed diagram of the ADNS to Arduino connection. Make sure to connect both GND pins on the sensor. The MOT pin is not necessary to run the code. Power the ADNS with 5V and the RN-42 with 3.3V. When the RN-42 module is powered, you will see a slowly blinking red LED, indicating that it is in pairing mode. Additionally, connect pin 5 on the Arduino to GND to keep the device inactive.
  2. Load the ADNS_Bluetooth_burstmotion code (GitHub) onto the Arduino. Open the serial monitor and wait for the ADNS firmware to finish uploading. You will see "Optical Chip Initialized" and some register readings when it is complete. If you see all zeros from the registers, such as the Product_ID and SROM_Version, that's a sign that the sensor is not properly connected.
  3. Now to configure the RN-42. Switch the serial monitor from “Newline” to “No line ending” on the bottom dialog. Then, send “$$$” to the module to switch it to command mode. You should see the red LED on the module begin blinking much more quickly.
  4. Switch the serial monitor back to "Newline". Send the command “SN” to rename the module to something you will easily recognize, like "ETextileMeter". Enter “S\~, 6” to set the module’s profile to HID (Human Interface Device). Enter “SH, 0221” to configure the module as a mouse. Enter “SA, 2” to set the authentication mode to SSP (simple secure pairing) to make connecting to the module much easier. Optional: Enter "SM, 6" to enable auto-reconnect with paired devices.
  5. Restart the module to save the changes in configuration by entering "R,1" or restarting the entire system.
  6. Open the Bluetooth settings on another device, such as your laptop, scan for the module with its new name, and pair with it. The module should connect as a mouse!
  7. Reopen the serial monitor. Enable pin 5 "activeSwitch" on the Arduino by disconnecting it from GND, and move the motion sensor. You should see X and Y coordinates in the serial monitor, as well as the mouse cursor on your screen move.

Making the Soft Multimeter Probe

The finger-meter case:

 The ADNS Motion Sensor was placed in the bottom together with a strip of conductive fabric that operated as an analog input (A0) for the voltage divider. 

Soft Jumper wires: 
Conductive threads wrapped with non-conductive yarn for isolation.  

Visualizer and Using Everything

The visualization app is hosted on GitHub, but can also be forked and opened on your own machine without an Internet connection. Open the visualizer, connect the multimeter to your laptop, power your test circuit, and probe away.

[[projects]] [[electronics]] [[programming]] [[smart-textiles]]


Associated Blog Posts: