Example Projects

Circuits and Code Wireless

Meet the Materials
Conductive Materials
Non-Conductive Materials
Thinking Out Loud
  • ATtiny Breadboard Programming Piggyback Extension
  • ATtiny Programming Shield
  • BLE (Bluetooth Low Energy)
  • Bluetooth Mate
  • Breadboard Pincushion
  • Circular Knitting Looms
  • Circular Knitting Machines
  • Circular Sock Knitting Machines
  • Circular Weaving Looms
  • CNC Textile Machines
  • Data Logging
  • desoldering wick
  • digital USB microscope
  • DIY Mini Breadboard
  • Embroidered LilyBLE Module
  • ESP octopus sewable breakout
  • ETextile Tester Bracelet
  • Fabric Markers
  • Fabric Scissors
  • File
  • Hole Maker
  • Hot Air Gun
  • Craft Iron
  • ISP Alligator Clip Extension
  • Laser Cutter
  • LilyPad SnapRing
  • MQTT Brokers and Clients
  • MQTT client
  • multimeter hat
  • Needle Threader
  • ohmBroach
  • ohmGlove
  • ohmHook
  • ohmTranslator
  • Pincushion Breadboard Bracelet
  • Pompom Maker
  • Popper Machines
  • Prototyping with Snaps
  • CNC Milling Machine
  • Resistance Visualization Tool
  • Seam-Ripping Continuity Meter
  • Sewing Machines
  • Snap Press Options
  • Knitting dolly
  • Spudger
  • Tester Overview
  • Tester Tool: bracelets
  • Tester Tool: circle
  • Tester Tool: simple strip
  • Tester Tool: u-shape
  • Thin nose pliers
  • Vibrating Crochet Hook
  • Vinylcutter
  • Wire Wrap Tool
  • Wireless Communication 101
  • Xbee
  • Xbee Direct (Xbee-Xbee)
  • Xbee Direct (Multiple Xbee - Xbee- comp)
  • Xbee Direct (Sensor-Xbee-Comp)
  • Xbee dongle
  • Xbee FirmwareUpdate
  • Xbee lilypad shield PCB
  • Xbee Serial Communication
  • Support the creation of content on this website through PATREON!
  • About
  • E-Textile Events
  • E-Textile Spaces
  • Newsletter
  • Print & Publications
  • E-Textile Shopping

    Content by Mika Satomi and Hannah Perner-Wilson
    E-Textile Tailor Shop by KOBAKANT
    The following institutions have funded our research and supported our work:

    Since 2020, Hannah is guest professor of the Spiel&&Objekt Master's program at the University of Performing Arts Ernst Busch in Berlin

    From 2013-2015 Mika was a guest professor at the eLab at Kunsthochschule Berlin-Weissensee

    From July - December 2013 Hannah was a researcher at the UdK's Design Research Lab

    From 2010-2012 Mika was a guest researcher in the Smart Textiles Design Lab at The Swedish School of Textiles

    From 2009 - 2011 Hannah was a graduate student in the MIT Media Lab's High-Low Tech research group led by Leah Buechley

    In 2009 Hannah and Mika were both research fellows at the Distance Lab

    Between 2003 - 2009 Hannah and Mika were both students at Interface Cultures
    We support the Open Source Hardware movement. All our own designs published on this website are released under the Free Cultural Works definition
    Tools Wireless

    MQTT client

    This post is a follow up to mqtt broker post.
    The devices that are connecting to MQTT broker (ESP, computer.. etc) is called “Client”, and on client side you will be running some kind of software that act as a MQTT client that publish/subscribe data to broker.

    For example, on ESPs, we used “espMQTTclient” library (on Arduino IDE, go to Sketch/Include Library/Library Manager and type in “espMQTT” on search bar on Library Manager window), based on the provided example SimpleMQTTClient to program ESP32-Dev kit board we used.

    On computers, we used Pure Data software to sonify data published from ESPs, and for this we used MQTT client external from njazz.
    The binary of the externals were not available at the time we tried this (it may have changed now) and I had to compile it myself. For mac, it worked straightforward by using “make” on command line and compile.
    For Windows, it was a bit tricky. It provides “cmake” file but it did not compile with visual studio with the file it created. I ended up installing minGW following this tutorial https://azrael.digipen.edu/~mmead/www/public/mingw/index.html
    After some try+error, it did compile… but when I copied the compiled external to other windows computer, it did not work. It gave an error on PD that it can not find the MQTT-client library even though the correct mqtt_client.dll file is in the path. This is because it actually needs other standard windows library which it can not find the path. As a quick fix, I copied also “libgcc_s_seh-1.dll”,”libstdc++-6.dll” and “libwinpthread-1.dll” to the same folder as the mqtt_client.dll (because these .dll are needed from the mqtt_client.dll) and it works for now. (you can find these .dll on minGW folder) Ideally it should be compiled as static library within the mqtt_client.dll but I could not figure out how the cmake file should be changed for it.
    Once you have your mqtt_client external on your computer, and add the path to the externals, you can use the object to subscribe/publish the data.

    Leave a comment