Archive for March, 2007

Further information about the Software

Friday, March 30th, 2007

On Sunday the first workshop starts. So here comes another update for the software (a windows version as my Mac is at home) inluding new blocks to represent a waituntil command and to print serial values on the Serial Monitor.

Although there are easy textual languages for children – mostly based on Logo- we decided to combine text with a visual language based on building blocks. As textual language we use standard Arduino at the moment. The code can be produced by dragging building blocks together. In our first user testing sessions we found that language is extremely important. Using English blocks and dialogs is a problem for the 11-years-olds we worked with. That is why we work with a language file in the software. At the moment English and German exist. To change the language you can go to the lib folder and change e.g. probs.properties.eng name to probs.properties.

To further explain the functionality take a look at the example.

On the left you can see the building blocks. “On”, “OnFor”, “Off” and “Thermo” are used to “switch” a digital port on or off. “If “and “Waituntil” are followed by dialogs to produce (analog or digital) sensor queries. “Monitor” allows you to print the value of a sensor to Arduinos “Serial Monitor”. That is helpful to get an idea of what values you need to construct for example if-statements.

To produce code you can either drag blocks directly under the loop method or start your own method with the rounded “MethodStart” block. You can drag the cornered “Method” block under the loop block to call your own method. Some blocks (“If”, “WaitUntil”, “Delay”, “OnFor” and “Repeat”) require neighbors as you can guess because of their shape. If you use these blocks their right neighbors will be interpreted for the code.

In our example the algorithm starts with the first block under the “Loop” method. It switches port 0 on. Afterwards a “Delay” block follows- it needs a neighbor – a variable. As we dragged a variable there and set it to 1000 our algorithm waits a second. The port 0 is switched off. Again it waits a second and then calls the method “WaitUntilTest” that is located somewhere else on the canvas. With a dialog WaitUntil was set to wait for a certain sensor event. While it happens (e.g. while the light sensor says it is quite bright) the method goes on and switches Pin 1 on and off. That is what the block thermo does as we use it mainly for thermochromic ink where we do not want to overheat the fabric. When it is getting darker the algorithm leaves the loop and pin 13 (here an LED) is switched on once.

Blocks that are on the canvas but not under a method block are not interpreted.

Below you can see the code translated to a rather unclean but working Arduino code.

int val= 0;

int compare=0;

int Pin0 = 0;

int Variable56=1000;

int Variable106=1000;

int Pin1 = 1;

int Variable253=1000;

int Pin13 = 13;

void setup(){

pinMode(Pin0, OUTPUT);

pinMode(Pin0, OUTPUT);

pinMode(Pin1, OUTPUT);

pinMode(Pin0, INPUT);

pinMode(Pin13, OUTPUT);

}

void loop(){

digitalWrite(Pin0, HIGH);

delay(Variable56);

digitalWrite(Pin0, LOW);

delay(Variable106);

WaitUntilTest();

}

void WaitUntilTest()

{

while(analogRead(Pin0)>454){

digitalWrite(Pin1, HIGH);

delay(500);

digitalWrite(Pin1, LOW);

delay(500);

}digitalWrite(Pin13, HIGH);

delay(Variable253);

digitalWrite(Pin13, LOW);

}

Impressions from Cebit

Tuesday, March 20th, 2007

Saturday I visited the Cebit in Hannover and passed by the “smart textiles Village“. There where some products exibited and a lot of interesting people to talk to. 2 things where inspiring for the EduWear project. Sunload presented their solar bags that can power PDAs, mobile phones or notebooks (I cannot imagine that but they say so).  To work with solar technology could be a nice thing to make children reflect on the “bad” sides of technology as spending a lot of energy.

TITV Greiz showed products they made like a ski glove with an integrated mobile phone. They also had smd LEDs on a data glove. The technique they used can be interesting for our workshops because they used conductive glue to connect the LED. Maybe that is easier then sew them.

Dance presentation

Tuesday, March 20th, 2007

To test hard- and software and develop together with children we have a weekly group of children coming to our lab. One group was recently finishing the projects: clothes for agents inspired by James Bond. They did build bracelets and had a dance as a presentation in Bremen’s town hall.

Lessons we learned: the connection between hardware and yarn is a critical point and we hope we can solve with the textile connectors. The children liked the software but found a lot of small bugs..

Basic Workshop Concept for the First Workshop

Friday, March 16th, 2007

Target Audience

- 20 girls and boys 9 to 13 years old
- No prior knowledge, no prerequisites needed
- No consideration of specific origin or milieu

The first workshop will focus on the topic of bags. Bags can be created in various ways enriched and made “intelligent” with sensors, actuators and the Arduino Boards. Possible ideas can be for instance security sports bags, glowing hand bags, or games fixed to the bags.
Children develop imaginations and fantasies surrounding the topic and conceive project ideas which are implemented subsequently with the help of the tutors. In the end the results are presented. The workshop process will be divided into stages at different stations as follows:

Workshop Stations

1. Fantasies
2. Technology (Hardware/Software) + Material
3. Imagination
4. Conception + Construction
5. Pesentation

Organisational

Date: 5 days from 01.04.07 – 05.04.07 (Easter holidays)
Place: Youth Hostel Bremen (including overnight stays and program for the evenings)
Carers and staff: 4 Tutors + 2 responsible carers for the nights + EduWear partners Boras and Bremen

Pedagogical Objectives

- Foster personal development of children
- Foster abilities in solidarity
- Mediate participation with designing the world
- Offer access to Digital Media and its algorithms by making them tangible, open and mouldable

Technological Objectives

Experiencing the deployment of Arduino Microcontrollers
- How will children cope with the Arduino Technology?
- What problems will they face in implementing while using new technology?
- Will children stick to their ideas or will they built variant artefacts instead?

Experiencing the deployment of the graphical programming environment Arduino Blocks

- Will children cope with the interface?
- What strategies will they develop while using the interface?

Insights for the further development of the Arduino-technology toward a Smart Textile Kit

Workshop issues by Deirdre, Tomas and Tunde

Thursday, March 15th, 2007

Hello EduWear partners!

After the kick off meeting the Workshop group sat together and tried to solve some basic issues that came up during our discussions in Bremen. So these were:

Duration of workshops:

We have 30 hours planned for each workshop (5×6 hours), but that is probably too much. In all participating countries it could be a problem to get the teachers and the children out of the school for a whole week. Usually the workshops and teacher training events last about 20 hours. We could do it in the following way:
- have a weekend workshop (2×8 hours),
- organize the workshops during the summer holidays,
- run the workshops in the afternoons when both children and teachers have more time (4×5 hours).

We can spend at least 20 hours working with them (“contact time” as Deirdre stated) and leave them to “play along” with the kit for another 10 hours. In this way we could fulfill the “30 hours lasting workshop” plan.

Chidlren working in the classrooms:

The children should work in small groups – up to 5 pupils in each of them. With the average number of students in the classroom between 20-30 we need up to 6 separate kits, or one kit containing enough material to share between 5-6 groups.

There were also some questions concerning the Construction kits:

Should the Kit contain also other materials? Should it contain also some tools (scissors etc?)

We agreed that to keep the cost of the Kit low it should only contain materials that are not usually available in the classroom. The teachers/children should bring their own art&craft materials from home (some maybe available in the schools too).

There was also a question whether we should prepare various versions of the kit for different target groups (age etc.), but so far we should focus on one version designated for 10-14 years old children.

Please post your ideas, comments or proposals here…

Circuit for sensor/actuator patches

Wednesday, March 14th, 2007

To ease the circuits with resistors and actuators we wanted to but the resistors and actuators on fabric and having color coded connection to the controller. I just finished to make prototypes to verify the circuits. Here are the schemes for switch, sensor and led.

And that is how a patch could look (only from the technical point of view ;-) )

Why I can’t upload my programs to the Arduino board?

Tuesday, March 13th, 2007

This is taken from the Trobleshooting section of the official Arduino guide

* Be sure that you are resetting the board a couple of seconds
before uploading.

* However, on some computers, you may need to press the reset
button on the board after you hit the upload button in the Arduino
environment. Try different intervals of time between the two, up to 10
seconds or more.

* Disconnect digital pins 0 and 1 while uploading (they can
connected and used after the code has been uploaded).

* If you get this error: [VP 1] Device is not responding
correctly. try uploading again (i.e. reset the board and press the
download button a second time).

* Check that you’re not running any programs that scan all serial
ports, like PDA sync applications, Bluetooth-USB drivers (e.g.
BlueSoleil), virtual daemon tools, etc.

* Make sure you don’t have firewall software that blocks access to
the serial port (e.g. ZoneAlarm).

* If you have a really ancient Arduino board, you may need to
change the baud rate at which sketches are uploaded to 9600 (from the
normal 19200). You will have to change the speed in the preferences
file directly. See the preferences page for instructions on finding
the file. Look for the file in your computer and change the
serial.download_rate property to match the one in your board. If you
have such a board, it’s recommended that you burn the latest
bootloader (which works at 19200 baud). This can be done with the
‘Tools | Burn Bootloader menu item.

By Arduino

How to connect the 3 pieces?

Tuesday, March 13th, 2007

1. Connect a 9V Battery (it should be full enough at least 7 V) to the
power board with a grey cable.
2. Connect the power board with the programmer board where it say
“Pow” on the board  with a grey cable
3. Connect the other cable from the programmer board to the main board
(with the Atmega8)  with a grey cable
5. Connect the programmer board with a serial cable to your pc
5. Make sure the LED blinks when you hit reset

High current with Arduino

Tuesday, March 13th, 2007

For thermochromic material as well as for other smart outputs e.g. Nitinol (Shape Memory Alloy) we need more current than the regular Arduino can give. To achive this we use a special circuit. A great tutorial on the circuit you can find under: http://itp.nyu.edu/physcomp/Tutorials/HighCurrentLoads. You will need an extra power supply (e.g. a 9V battery), a transistor (all TIP 120 are ok, I used 150872 - 62  from Conrad  and a 1N4004 diode (e.g. 162248 - 62 from Conrad).

Trip to Sweden: ideas and experiences

Tuesday, March 13th, 2007

Boras in March is a wet and cool experience. Still Marion, Lena and I could use the time to develop ideas and concepts for the EduWear prototypes. The Swedish School of Textiles is impressive as it is fully equipped with all kinds of industry machinery. You can find machines for weaving, knitting, embroidery but also color and printing labs. Boras is a small city but traditionally housed a lot of textile industry what you still can see in the city. There are loads of nice cafes around and I had a great time in and outside school. There are also many interesting PhD researches and seminars going on for example the „Design seminar“ as a meeting point for Scandinavian people from Interaction and Textile design. It is organized by Linda Worbin who made marvelous prototypes in the “IT+textiles”project.

From the textile development perspective there will be the following products we are aimed at in the EduWear project:

An „experimental kit“ for circuits and programming were the children get the first hands-on experiences with electronics or programming and gain a basic understanding before working on their individual projects. There will be an electronic circuit the children can change by putting patches onto it or by closing gaps using textile technologies like sewing and a read-made circuit were children can practice programming.

The kit will also provide textile sensors and actuators. As first example we will have a pressure sensitive switch, stretch sensitive woven fabric, and a regular textile switch. For actuators we are aiming at a thermo chromic display that is pre-produced and children apply their own pattern by stenciling, painting or gluing their designs onto it. This textile in- and outputs will be supported by standard electronic components like light sensors.

An easy to use textile patch were the controller sits on as well as easy-to-connect patches with the sensors and actuators. These patches will be also used in the experimental kit. Take a look at Lena’s paper prototypes below.