Week 9: E-Textiles II

Status: Documented

20 Nov, 2018

This week


Objectives | Tasks executed


Microcontroller: Atmel Attiny45
Input sensor: LDR sensor as an input
Output Devices

  1. RGB LED
    a) When the board's LDR detects exactly 200 input level, the Red LED of the RGB lights up.
    b) When a specific higher level of light at 350 + is reached, the RGB goes for a 6 color transformation pattern. c) Any other Light level, and the RGB LED stays off.
  2. LED with PIR and IR Using Firefly and Arduino, managed to make the LED blink directly through a firefly Interface without encoding the IC. The control of the IC was realtime and from the grasshopper UI of Rhino. Note: Board used was Arduino Uno for this one case.
Actuators
  1. Nitinol Using an arduino with a transistor within the circuit, I managed to make the the laser cut auxetic in the shape of a living hinge to actuate movement on a paper by a thin strand of nitinol.
  2. Conductive ink driven LED The Skin electronic assignment has a patch on a PV film-same as RGB which is stuck within my Textile scaffolding assignment. Its a patch that is driven from an Attiny.

Kabir (Elder brother): "Whats up, didnt see you come home since a few days" ,Me: "For the last three days, I banged my head trying to make a 3 colored led glow into 9 multiple colors" , Kabir: "Need a snack? Can drop it by. Me: "You are my life saviour."

Conversation with my elder brother, Kabir on not beeing able to visit home for 3 consecutive days from the lab.

Swatch 1 (Nitinol+ Laser Cut)
Swatch 2 (RGB + Copper Tape) Extra Credit (Firefly+ Gh)-Part 1 | Arduino Uno Extra Credit (Firefly+ Gh)-Part 2 | Arduino Uno



                                                   

                                                    

Codes tested on Arduino before embeddeding

Code: RGB LED with Photo resistor

Code 2

Code: FIRMATA | Firefly


Tips and Tricks


Info Panel

Attiny have a limited current drawable. If you want to power more leds or motors or something requiring more current, go for a transistor circuit within your schematic.

Warning Notes

Always check continuity on sewable threads after sewing. A little bit of flux at the end helps hold together the strands so its easier to solder the components on.

Danger Panel

Take caution of the sewing needles. Also, the thread can break and so its better to sew at slower speeds.

Success Panel

A common mistake in LDR circuits is to connect the LDR's end to the analog pin of an IC. The trace needs to be between analog pin and connection between LDR+resistor.

F.A.Q.

I usually ask the Global team or myself questions relevant to the week's task.I plan to use this section to help me document for our lab's next batch of students important questions and their answers discussed during Global review/Recitation.

I first used an arduino to check code. I then programmed an attiny 45 with breadboard and arduiono and made it work with that. I then used instead an attiny44 on pcb board and proceeded with that to achieve this result.
Under Refferred links in the Introduction section, there is a link: Attiny programming using an Arduino. I followed the same process.
I first programmed an Attiny on a breadboard using an arduino Uno. Thereafter, I made the schematic set up on the breadboard for an RGB code. Once it worked, i made a video of its working. Their are two videos in the documentation: first one shows how attiny lights up the 6 color RGB sequence if overexposed to more light. The second shows the same sewn onto a hat and lights up red when it hits a lower level of light. I had also made a lasercut nitinol embedded design in my earlier assignment days, made it work with an arduino and SMPS. Moved on to making a copper tape RGB patch on fabric. Hence the two actuators and a sewn programmed attiny on it.

Download Section