SlideShare a Scribd company logo
Creative Interactive Objects - Report
Project: Cyclist’s Jacket
Group: Marzena (120328206), Mateus (130614737) and Vanessa (130614531)
1. To reach the solution we presented, we followed these steps:
1. Project choice - After a discussion about which project option should we choose and
each one of us found more interesting, challenging and practical, we decided to pick the
cyclist’s jacket. The fact that we are more familiar to cyclists giving indications about
their turning directions in the streets than to the other projects also impacted on our
choice.
2. Design of the product - The next step was to design how the jacket would function and
look like. This phase was crucial to come up with a design that would make the
interaction between the clothing and the cyclist, which is our target user, the most
natural, comfortable and engaging as possible. However, we also had to take into
account that the components we had available to turn the design model into a functional
prototype might have take some time to arrive.
We chose to put the LEDs along the sides of the arms on the jacket, so the light would
be visible even if the cyclist is using a backpack. Also for this reason, we decided not to
put any LEDs on the back. Furthermore, we decided to put the Lilypad inside on the
back, so it would be protected against possible bad weather, increasing the durability of
the product. We also looked forward to make the LEDs blink in the same speed of car
lights when they are turning, so all the actors involved in the scenario (cyclists, drivers,
pedestrians) would be more familiar with the signal.
3. Prototype development - Firstly we made a low-fi prototypes on paper sheets so we
would know how and where exactly the conductive thread goes and where the sensors
and LEDs should be to give us the best results. Secondly, we designed the circuit with
Arduino Uno and breadboards. As the components started arriving, we started to build
the working prototype. We firstly made tests with isolated components in the Arduino
Uno Board to understand how they work, and then we incrementally integrated them
with the jacket.
2. The major tasks undertaken were:
● Designing the product
● Choosing components
● Coding
● Implementation of the circuit in the prototype
The two first tasks took one day each. The coding started as the components were
delivered. The implementation of the circuit, though, had to wait for the delivery of the majority
of the components, which caused a massive impact in the planned schedule (explained on next
topics).
The next topic explains with more details the distribution of the tasks among the group
members.
3. Responsibilities of each member:
● Marzena - Participated actively in the following activities: design of the jacket, design of
the circuit, coding, daily check with Dave about delivery of components, implementation
of real circuit in jacket, research about conductive thread and its usage with Lilypad,
sewing the circuit into the jacket, prototyping.
● Mateus - Participated actively in the following activities: design of the jacket, design of
the circuit, coding, daily check with Dave about delivery of components, implementation
of real circuit in jacket and troubleshooting problems in the circuit.
● Vanessa - Participated actively in the following activities: planning design of the jacket,
design of the circuit and coding, daily check about delivery of components, research
about Lilypad connections and common circuits, implementation of the real circuit and
debugging.
4. User Manual: instructions on how to operate the product and also interact with it
including information on installation and setting up.
Each circuit is pre-programmed so the only thing you need to do is to turn the battery attached
on the front on (it has a small switch on the left hand side). After doing that you will see that the
light on both Lilypad and the battery supply has turned on and the jacked is ready to use.
To turn on the side LED’s simply just raise your arm like you usually do to take a turn either right
or left and the signal lights will start blinking. To turn them off just put your arm down and
continue your ride.
After you get off the bike, please remember to turn off the battery supply with the same switch
you turned it on.
In case the battery runs out please replace it with the same one which is a LiPo 3.7 V battery.
When any problems would occur please do not hesitate to contact your supplier for help.
Video demonstrating use of jacket: http://www.youtube.com/watch?v=4uxZaYNTusg
5. Programmers Guide
a. A brief discussion of the design decisions taken.
The hardware components of this project are:
● Red LEDs and one resistor of 560 Ohm for each LED used.
● Conductive Thread.
● Flex Sensors (4.5”) and one resistor of 10k Ohm for each sensor used.
● LilyPad Arduino atmega328.
The arduino used in this project is LilyPad because it is a wearable e-textile technology.
Each LilyPad was creatively designed to have large connecting pads to allow them to be sewn
into clothing. Various input, output, power, and sensor boards are available. And they're also
washable. Those were the main reason to choose this type of Arduino.
As a sew-board, the project connects most of the components to LilyPad through
conductive threads. Also, we choose Red LEDs because Red is a bright colour. Also, we
choose Flex Sensor because of its suitability in the functionality. As Flex Sensor is a Sensor
b. Breadboard layout sheet for your final circuit.
In the Layout is only represented the left arm. To build the right arm, the sketch is the
same. Conductive threads that carry different signals (positive and negative) can not
touch each other. Make sure you protect threads with some non-conductive material.
Video demonstrating part of the built circuit: http://www.youtube.com/watch?v=FzRcpkZ-MKw
c. Testing conducted.
First, build a simple circuit with only the LEDs. To test if the connections work, build a simple
program and check if the LEDs are blinking. If so, you can connect the flex sensor and calibrate
the signal to what you want as threshold for blinking the LEDs.
d. Code.
/*-------------------------------*/
//GLOBAL VARIABLES
//Flex Sensor Pin (flexPinLeft)
//the analog pin the Flex Sensor is connected to
int flexPinLeft = A2;
int ledLeft = 2;
int ledDelay = 200;
int flexPinRight = A0;
int ledRight = 6;
int flexThreshold = 0;
/*-------------------------------*/
//FUNCTIONS//
void setup() {
//Setting the Outputs
pinMode(ledLeft, OUTPUT);
pinMode(ledRight, OUTPUT);
}
void loop(){
int flexLeftValue = analogRead(flexPinLeft); // Getting value of left arm.
int flexRightValue = analogRead(flexPinRight); // Getting value of right arm.
int(50); // Delay for helping on getting analog signal.
//Check flexLeft value.
if(flexLeftValue == flexThreshold) {
blinkLeds(ledLeft); //leds on
} else {
turnOffLeds(ledLeft); //leds off
}
//Check flexRight value.
if(flexRightValue == flexThreshold) {
blinkLeds(ledRight); //leds on
} else {
turnOffLeds(ledRight); //leds off
}
}
//This function blinks LEDs given as parameter.
void blinkLeds(int led){
digitalWrite(led, HIGH);
delay(ledDelay);
turnOffLeds(led);
}
// This function turns off LEDs given by parameter.
void turnOffLeds(int led){
digitalWrite(led, LOW);
delay(ledDelay);
}
e. Known shortcomings.
It was realized that when connecting the flex sensor through conductive threads, its
behaviour was as digital input. Thats why the threshold is 0 instead of other value. This is why
the code works like that.
When in direct contact with the arm of the cyclist, the flex sensor changes its resistance
and does not work properly. One possible solution is to involve the Flex Sensor with some Non-
Conductive material.
This prototype used power through normal cable. The ideal is to use Power Supply
attached to the LilyPad.

More Related Content

What's hot

Understanding robotics: Introductory Event | GDSC RCCIIT
Understanding robotics: Introductory Event | GDSC RCCIITUnderstanding robotics: Introductory Event | GDSC RCCIIT
Understanding robotics: Introductory Event | GDSC RCCIIT
GDSCRCCIITTeam
 
Loken
LokenLoken
Arduino Introduction Guide 1
Arduino Introduction Guide 1Arduino Introduction Guide 1
Arduino Introduction Guide 1
elketeaches
 
GESTURE BASED WIRELESS SHADOW ROBOT !
GESTURE BASED WIRELESS SHADOW ROBOT !GESTURE BASED WIRELESS SHADOW ROBOT !
GESTURE BASED WIRELESS SHADOW ROBOT !
Sharif Raihan Kabir
 
Gesture control car
Gesture control carGesture control car
Gesture control car
saurav kumar mourya
 
Smart Blind Stick using Arduino
Smart Blind Stick using ArduinoSmart Blind Stick using Arduino
Smart Blind Stick using Arduino
ijtsrd
 
Project Report on Hand gesture controlled robot part 1
Project Report on Hand gesture controlled robot part 1Project Report on Hand gesture controlled robot part 1
Project Report on Hand gesture controlled robot part 1
Pragya
 
Project ppt 1
Project ppt 1Project ppt 1
Project ppt 1
Krishna Reddy
 
Arduino Workshop Day 2 - Advance Arduino & DIY
Arduino Workshop Day 2 - Advance Arduino & DIYArduino Workshop Day 2 - Advance Arduino & DIY
Arduino Workshop Day 2 - Advance Arduino & DIY
Vishnu
 
Practicas con arduino
Practicas con arduinoPracticas con arduino
Practicas con arduino
Eduardo Suarez
 
Arduino tutorial
Arduino tutorialArduino tutorial
Arduino tutorial
HarikaReddy115
 
ARDUIO BASIC TUTORIAL
ARDUIO BASIC TUTORIALARDUIO BASIC TUTORIAL
ARDUIO BASIC TUTORIAL
Vijay Kumar
 
Basic Sensors
Basic Sensors Basic Sensors
Basic Sensors
creatjet3d labs
 
Arduino Workshop Day 1 - Basic Arduino
Arduino Workshop Day 1 - Basic ArduinoArduino Workshop Day 1 - Basic Arduino
Arduino Workshop Day 1 - Basic Arduino
Vishnu
 
Obstacle Detctor Robot report
Obstacle Detctor Robot reportObstacle Detctor Robot report
Obstacle Detctor Robot report
Nikita Kaushal
 
2 D.O.F Robotic Arm (SCARA Robot) using Arduino Programming
2 D.O.F Robotic Arm (SCARA Robot) using Arduino Programming2 D.O.F Robotic Arm (SCARA Robot) using Arduino Programming
2 D.O.F Robotic Arm (SCARA Robot) using Arduino Programming
Manpreet Singh
 
IRJET - Smart Blind Stick using Image Processing
IRJET - Smart Blind Stick using Image ProcessingIRJET - Smart Blind Stick using Image Processing
IRJET - Smart Blind Stick using Image Processing
IRJET Journal
 
Arduino slides
Arduino slidesArduino slides
Arduino slides
sdcharle
 
Arduino Uno Board - Robomart
Arduino Uno Board - RobomartArduino Uno Board - Robomart
Arduino Uno Board - Robomart
raspberrypib
 
Animatronic hand controller
Animatronic hand controllerAnimatronic hand controller
Animatronic hand controller
Sabrina Chowdhury
 

What's hot (20)

Understanding robotics: Introductory Event | GDSC RCCIIT
Understanding robotics: Introductory Event | GDSC RCCIITUnderstanding robotics: Introductory Event | GDSC RCCIIT
Understanding robotics: Introductory Event | GDSC RCCIIT
 
Loken
LokenLoken
Loken
 
Arduino Introduction Guide 1
Arduino Introduction Guide 1Arduino Introduction Guide 1
Arduino Introduction Guide 1
 
GESTURE BASED WIRELESS SHADOW ROBOT !
GESTURE BASED WIRELESS SHADOW ROBOT !GESTURE BASED WIRELESS SHADOW ROBOT !
GESTURE BASED WIRELESS SHADOW ROBOT !
 
Gesture control car
Gesture control carGesture control car
Gesture control car
 
Smart Blind Stick using Arduino
Smart Blind Stick using ArduinoSmart Blind Stick using Arduino
Smart Blind Stick using Arduino
 
Project Report on Hand gesture controlled robot part 1
Project Report on Hand gesture controlled robot part 1Project Report on Hand gesture controlled robot part 1
Project Report on Hand gesture controlled robot part 1
 
Project ppt 1
Project ppt 1Project ppt 1
Project ppt 1
 
Arduino Workshop Day 2 - Advance Arduino & DIY
Arduino Workshop Day 2 - Advance Arduino & DIYArduino Workshop Day 2 - Advance Arduino & DIY
Arduino Workshop Day 2 - Advance Arduino & DIY
 
Practicas con arduino
Practicas con arduinoPracticas con arduino
Practicas con arduino
 
Arduino tutorial
Arduino tutorialArduino tutorial
Arduino tutorial
 
ARDUIO BASIC TUTORIAL
ARDUIO BASIC TUTORIALARDUIO BASIC TUTORIAL
ARDUIO BASIC TUTORIAL
 
Basic Sensors
Basic Sensors Basic Sensors
Basic Sensors
 
Arduino Workshop Day 1 - Basic Arduino
Arduino Workshop Day 1 - Basic ArduinoArduino Workshop Day 1 - Basic Arduino
Arduino Workshop Day 1 - Basic Arduino
 
Obstacle Detctor Robot report
Obstacle Detctor Robot reportObstacle Detctor Robot report
Obstacle Detctor Robot report
 
2 D.O.F Robotic Arm (SCARA Robot) using Arduino Programming
2 D.O.F Robotic Arm (SCARA Robot) using Arduino Programming2 D.O.F Robotic Arm (SCARA Robot) using Arduino Programming
2 D.O.F Robotic Arm (SCARA Robot) using Arduino Programming
 
IRJET - Smart Blind Stick using Image Processing
IRJET - Smart Blind Stick using Image ProcessingIRJET - Smart Blind Stick using Image Processing
IRJET - Smart Blind Stick using Image Processing
 
Arduino slides
Arduino slidesArduino slides
Arduino slides
 
Arduino Uno Board - Robomart
Arduino Uno Board - RobomartArduino Uno Board - Robomart
Arduino Uno Board - Robomart
 
Animatronic hand controller
Animatronic hand controllerAnimatronic hand controller
Animatronic hand controller
 

Similar to CopyofCIOReport

Multifunctional Robot (PPT).pptx
Multifunctional Robot (PPT).pptxMultifunctional Robot (PPT).pptx
Multifunctional Robot (PPT).pptx
Ruthviq
 
IRJET - Zigbee based Street Light Control System
IRJET - Zigbee based Street Light Control SystemIRJET - Zigbee based Street Light Control System
IRJET - Zigbee based Street Light Control System
IRJET Journal
 
ADAELS .docx
ADAELS .docxADAELS .docx
ADAELS .docx
JagjeevanSingh9
 
ARDUINO PROJECTS BOOK
ARDUINO PROJECTS BOOKARDUINO PROJECTS BOOK
ARDUINO PROJECTS BOOK
Monique Carr
 
Electronz_Introduction.pptx
Electronz_Introduction.pptxElectronz_Introduction.pptx
Electronz_Introduction.pptx
Mokete5
 
IRJET- Smart Street Light Control System
IRJET- Smart Street Light Control SystemIRJET- Smart Street Light Control System
IRJET- Smart Street Light Control System
IRJET Journal
 
IRJET- IoT based Solar Street Light Intensity Control System
IRJET- IoT based Solar Street Light Intensity Control SystemIRJET- IoT based Solar Street Light Intensity Control System
IRJET- IoT based Solar Street Light Intensity Control System
IRJET Journal
 
GESTURE-BASED SMART HAND GLOVES FOR DISABLED PERSONS
GESTURE-BASED SMART HAND GLOVES FOR DISABLED PERSONSGESTURE-BASED SMART HAND GLOVES FOR DISABLED PERSONS
GESTURE-BASED SMART HAND GLOVES FOR DISABLED PERSONS
IRJET Journal
 
Advanced View Arduino Projects List - Use Arduino for Projects 1.pdf
Advanced View Arduino Projects List - Use Arduino for Projects 1.pdfAdvanced View Arduino Projects List - Use Arduino for Projects 1.pdf
Advanced View Arduino Projects List - Use Arduino for Projects 1.pdf
WiseNaeem
 
Advanced View Arduino Projects List - Use Arduino for Projects 4.pdf
Advanced View Arduino Projects List - Use Arduino for Projects 4.pdfAdvanced View Arduino Projects List - Use Arduino for Projects 4.pdf
Advanced View Arduino Projects List - Use Arduino for Projects 4.pdf
WiseNaeem
 
IOT WORKSHEET 1.4.pdf
IOT WORKSHEET 1.4.pdfIOT WORKSHEET 1.4.pdf
IOT WORKSHEET 1.4.pdf
MayuRana1
 
Advanced View Arduino Projects List - Use Arduino for Projects 2.pdf
Advanced View Arduino Projects List - Use Arduino for Projects 2.pdfAdvanced View Arduino Projects List - Use Arduino for Projects 2.pdf
Advanced View Arduino Projects List - Use Arduino for Projects 2.pdf
WiseNaeem
 
Final_Technical_Report_KevinHuang
Final_Technical_Report_KevinHuangFinal_Technical_Report_KevinHuang
Final_Technical_Report_KevinHuang
Kevin Huang
 
Automatic Light Turn On Off System
Automatic Light Turn On Off SystemAutomatic Light Turn On Off System
Automatic Light Turn On Off System
ijtsrd
 
ECET 3640 Group 2 Project Report
ECET 3640 Group 2 Project ReportECET 3640 Group 2 Project Report
ECET 3640 Group 2 Project Report
Logan Isler
 
Advanced View Arduino Projects List - Use Arduino for Projects 5.pdf
Advanced View Arduino Projects List - Use Arduino for Projects 5.pdfAdvanced View Arduino Projects List - Use Arduino for Projects 5.pdf
Advanced View Arduino Projects List - Use Arduino for Projects 5.pdf
WiseNaeem
 
IRJET- Clash Avoidance at Hairpin Bends using IR Sensor
IRJET- Clash Avoidance at Hairpin Bends using IR SensorIRJET- Clash Avoidance at Hairpin Bends using IR Sensor
IRJET- Clash Avoidance at Hairpin Bends using IR Sensor
IRJET Journal
 
Ball following Robot using ESP32-cam & Arduino UNO
Ball following Robot using ESP32-cam & Arduino UNOBall following Robot using ESP32-cam & Arduino UNO
Ball following Robot using ESP32-cam & Arduino UNO
IRJET Journal
 
Advanced Detectable And Foldable Blind Stick.
Advanced Detectable And Foldable Blind Stick.Advanced Detectable And Foldable Blind Stick.
Advanced Detectable And Foldable Blind Stick.
IRJET Journal
 
INTELLIGENT HSE-HAZOP CRADLE FOR HOME AND HOSPITAL BABY MONITORING
INTELLIGENT HSE-HAZOP CRADLE FOR HOME AND HOSPITAL BABY MONITORINGINTELLIGENT HSE-HAZOP CRADLE FOR HOME AND HOSPITAL BABY MONITORING
INTELLIGENT HSE-HAZOP CRADLE FOR HOME AND HOSPITAL BABY MONITORING
IRJET Journal
 

Similar to CopyofCIOReport (20)

Multifunctional Robot (PPT).pptx
Multifunctional Robot (PPT).pptxMultifunctional Robot (PPT).pptx
Multifunctional Robot (PPT).pptx
 
IRJET - Zigbee based Street Light Control System
IRJET - Zigbee based Street Light Control SystemIRJET - Zigbee based Street Light Control System
IRJET - Zigbee based Street Light Control System
 
ADAELS .docx
ADAELS .docxADAELS .docx
ADAELS .docx
 
ARDUINO PROJECTS BOOK
ARDUINO PROJECTS BOOKARDUINO PROJECTS BOOK
ARDUINO PROJECTS BOOK
 
Electronz_Introduction.pptx
Electronz_Introduction.pptxElectronz_Introduction.pptx
Electronz_Introduction.pptx
 
IRJET- Smart Street Light Control System
IRJET- Smart Street Light Control SystemIRJET- Smart Street Light Control System
IRJET- Smart Street Light Control System
 
IRJET- IoT based Solar Street Light Intensity Control System
IRJET- IoT based Solar Street Light Intensity Control SystemIRJET- IoT based Solar Street Light Intensity Control System
IRJET- IoT based Solar Street Light Intensity Control System
 
GESTURE-BASED SMART HAND GLOVES FOR DISABLED PERSONS
GESTURE-BASED SMART HAND GLOVES FOR DISABLED PERSONSGESTURE-BASED SMART HAND GLOVES FOR DISABLED PERSONS
GESTURE-BASED SMART HAND GLOVES FOR DISABLED PERSONS
 
Advanced View Arduino Projects List - Use Arduino for Projects 1.pdf
Advanced View Arduino Projects List - Use Arduino for Projects 1.pdfAdvanced View Arduino Projects List - Use Arduino for Projects 1.pdf
Advanced View Arduino Projects List - Use Arduino for Projects 1.pdf
 
Advanced View Arduino Projects List - Use Arduino for Projects 4.pdf
Advanced View Arduino Projects List - Use Arduino for Projects 4.pdfAdvanced View Arduino Projects List - Use Arduino for Projects 4.pdf
Advanced View Arduino Projects List - Use Arduino for Projects 4.pdf
 
IOT WORKSHEET 1.4.pdf
IOT WORKSHEET 1.4.pdfIOT WORKSHEET 1.4.pdf
IOT WORKSHEET 1.4.pdf
 
Advanced View Arduino Projects List - Use Arduino for Projects 2.pdf
Advanced View Arduino Projects List - Use Arduino for Projects 2.pdfAdvanced View Arduino Projects List - Use Arduino for Projects 2.pdf
Advanced View Arduino Projects List - Use Arduino for Projects 2.pdf
 
Final_Technical_Report_KevinHuang
Final_Technical_Report_KevinHuangFinal_Technical_Report_KevinHuang
Final_Technical_Report_KevinHuang
 
Automatic Light Turn On Off System
Automatic Light Turn On Off SystemAutomatic Light Turn On Off System
Automatic Light Turn On Off System
 
ECET 3640 Group 2 Project Report
ECET 3640 Group 2 Project ReportECET 3640 Group 2 Project Report
ECET 3640 Group 2 Project Report
 
Advanced View Arduino Projects List - Use Arduino for Projects 5.pdf
Advanced View Arduino Projects List - Use Arduino for Projects 5.pdfAdvanced View Arduino Projects List - Use Arduino for Projects 5.pdf
Advanced View Arduino Projects List - Use Arduino for Projects 5.pdf
 
IRJET- Clash Avoidance at Hairpin Bends using IR Sensor
IRJET- Clash Avoidance at Hairpin Bends using IR SensorIRJET- Clash Avoidance at Hairpin Bends using IR Sensor
IRJET- Clash Avoidance at Hairpin Bends using IR Sensor
 
Ball following Robot using ESP32-cam & Arduino UNO
Ball following Robot using ESP32-cam & Arduino UNOBall following Robot using ESP32-cam & Arduino UNO
Ball following Robot using ESP32-cam & Arduino UNO
 
Advanced Detectable And Foldable Blind Stick.
Advanced Detectable And Foldable Blind Stick.Advanced Detectable And Foldable Blind Stick.
Advanced Detectable And Foldable Blind Stick.
 
INTELLIGENT HSE-HAZOP CRADLE FOR HOME AND HOSPITAL BABY MONITORING
INTELLIGENT HSE-HAZOP CRADLE FOR HOME AND HOSPITAL BABY MONITORINGINTELLIGENT HSE-HAZOP CRADLE FOR HOME AND HOSPITAL BABY MONITORING
INTELLIGENT HSE-HAZOP CRADLE FOR HOME AND HOSPITAL BABY MONITORING
 

CopyofCIOReport

  • 1. Creative Interactive Objects - Report Project: Cyclist’s Jacket Group: Marzena (120328206), Mateus (130614737) and Vanessa (130614531) 1. To reach the solution we presented, we followed these steps: 1. Project choice - After a discussion about which project option should we choose and each one of us found more interesting, challenging and practical, we decided to pick the cyclist’s jacket. The fact that we are more familiar to cyclists giving indications about their turning directions in the streets than to the other projects also impacted on our choice. 2. Design of the product - The next step was to design how the jacket would function and look like. This phase was crucial to come up with a design that would make the interaction between the clothing and the cyclist, which is our target user, the most natural, comfortable and engaging as possible. However, we also had to take into account that the components we had available to turn the design model into a functional prototype might have take some time to arrive. We chose to put the LEDs along the sides of the arms on the jacket, so the light would be visible even if the cyclist is using a backpack. Also for this reason, we decided not to put any LEDs on the back. Furthermore, we decided to put the Lilypad inside on the back, so it would be protected against possible bad weather, increasing the durability of the product. We also looked forward to make the LEDs blink in the same speed of car lights when they are turning, so all the actors involved in the scenario (cyclists, drivers, pedestrians) would be more familiar with the signal. 3. Prototype development - Firstly we made a low-fi prototypes on paper sheets so we would know how and where exactly the conductive thread goes and where the sensors and LEDs should be to give us the best results. Secondly, we designed the circuit with Arduino Uno and breadboards. As the components started arriving, we started to build the working prototype. We firstly made tests with isolated components in the Arduino Uno Board to understand how they work, and then we incrementally integrated them with the jacket. 2. The major tasks undertaken were: ● Designing the product ● Choosing components ● Coding ● Implementation of the circuit in the prototype The two first tasks took one day each. The coding started as the components were
  • 2. delivered. The implementation of the circuit, though, had to wait for the delivery of the majority of the components, which caused a massive impact in the planned schedule (explained on next topics). The next topic explains with more details the distribution of the tasks among the group members. 3. Responsibilities of each member: ● Marzena - Participated actively in the following activities: design of the jacket, design of the circuit, coding, daily check with Dave about delivery of components, implementation of real circuit in jacket, research about conductive thread and its usage with Lilypad, sewing the circuit into the jacket, prototyping. ● Mateus - Participated actively in the following activities: design of the jacket, design of the circuit, coding, daily check with Dave about delivery of components, implementation of real circuit in jacket and troubleshooting problems in the circuit. ● Vanessa - Participated actively in the following activities: planning design of the jacket, design of the circuit and coding, daily check about delivery of components, research about Lilypad connections and common circuits, implementation of the real circuit and debugging. 4. User Manual: instructions on how to operate the product and also interact with it including information on installation and setting up. Each circuit is pre-programmed so the only thing you need to do is to turn the battery attached on the front on (it has a small switch on the left hand side). After doing that you will see that the light on both Lilypad and the battery supply has turned on and the jacked is ready to use. To turn on the side LED’s simply just raise your arm like you usually do to take a turn either right or left and the signal lights will start blinking. To turn them off just put your arm down and continue your ride. After you get off the bike, please remember to turn off the battery supply with the same switch you turned it on. In case the battery runs out please replace it with the same one which is a LiPo 3.7 V battery. When any problems would occur please do not hesitate to contact your supplier for help. Video demonstrating use of jacket: http://www.youtube.com/watch?v=4uxZaYNTusg
  • 3. 5. Programmers Guide a. A brief discussion of the design decisions taken. The hardware components of this project are: ● Red LEDs and one resistor of 560 Ohm for each LED used. ● Conductive Thread. ● Flex Sensors (4.5”) and one resistor of 10k Ohm for each sensor used. ● LilyPad Arduino atmega328. The arduino used in this project is LilyPad because it is a wearable e-textile technology. Each LilyPad was creatively designed to have large connecting pads to allow them to be sewn
  • 4. into clothing. Various input, output, power, and sensor boards are available. And they're also washable. Those were the main reason to choose this type of Arduino. As a sew-board, the project connects most of the components to LilyPad through conductive threads. Also, we choose Red LEDs because Red is a bright colour. Also, we choose Flex Sensor because of its suitability in the functionality. As Flex Sensor is a Sensor b. Breadboard layout sheet for your final circuit. In the Layout is only represented the left arm. To build the right arm, the sketch is the same. Conductive threads that carry different signals (positive and negative) can not touch each other. Make sure you protect threads with some non-conductive material. Video demonstrating part of the built circuit: http://www.youtube.com/watch?v=FzRcpkZ-MKw c. Testing conducted. First, build a simple circuit with only the LEDs. To test if the connections work, build a simple program and check if the LEDs are blinking. If so, you can connect the flex sensor and calibrate the signal to what you want as threshold for blinking the LEDs. d. Code. /*-------------------------------*/ //GLOBAL VARIABLES //Flex Sensor Pin (flexPinLeft) //the analog pin the Flex Sensor is connected to int flexPinLeft = A2; int ledLeft = 2; int ledDelay = 200; int flexPinRight = A0; int ledRight = 6; int flexThreshold = 0; /*-------------------------------*/ //FUNCTIONS// void setup() { //Setting the Outputs
  • 5. pinMode(ledLeft, OUTPUT); pinMode(ledRight, OUTPUT); } void loop(){ int flexLeftValue = analogRead(flexPinLeft); // Getting value of left arm. int flexRightValue = analogRead(flexPinRight); // Getting value of right arm. int(50); // Delay for helping on getting analog signal. //Check flexLeft value. if(flexLeftValue == flexThreshold) { blinkLeds(ledLeft); //leds on } else { turnOffLeds(ledLeft); //leds off } //Check flexRight value. if(flexRightValue == flexThreshold) { blinkLeds(ledRight); //leds on } else { turnOffLeds(ledRight); //leds off } } //This function blinks LEDs given as parameter. void blinkLeds(int led){ digitalWrite(led, HIGH); delay(ledDelay); turnOffLeds(led); } // This function turns off LEDs given by parameter. void turnOffLeds(int led){ digitalWrite(led, LOW); delay(ledDelay); } e. Known shortcomings. It was realized that when connecting the flex sensor through conductive threads, its behaviour was as digital input. Thats why the threshold is 0 instead of other value. This is why the code works like that. When in direct contact with the arm of the cyclist, the flex sensor changes its resistance and does not work properly. One possible solution is to involve the Flex Sensor with some Non- Conductive material. This prototype used power through normal cable. The ideal is to use Power Supply attached to the LilyPad.