Introduction: LED Breathing Helper
This Machine is designed and Created by Rena Wu 吳睿欣 9D
the LED Breathing Helper could help people who suffer from breathing problems to feel better. When people are having a problem of breathing, they could easily turn on this machine and return to their normal breathing habits.
Guidelines:
- Follow the light
- When the blue light struck; you breath in for a whole second
- After a second, the green light will be struck; then you breathe out for a whole second
- Finish the whole circuit
- Continue if needed
Supplies
Materials:
- Blue led x4
- Green led x4
- Resister x4
- 15cm wire x5
- 10cm wire x4
- Arduino Leonardo with breadboard
- USB plug
Step 1: Circuit Guidelines
Step 2: Code Attachment
void setup()
{
Serial.begin(9600);
pinMode( 7 , OUTPUT);
}
void loop()
{
Serial.print(analogRead( A0 ));
Serial.print(" ");
Serial.println();
if (( ( analogRead( A0 ) ) < ( 600 ) ))
{
digitalWrite( 7 , HIGH );
}
else
{
digitalWrite( 7 , LOW );
}
}
Step 3: Lets Begin Building
How to make:
- Gather materials
- Follow the circuit guidelines previously
- Write the code attached
- Plug in the USB plug
- Make sure it works
Step 4: To Hold the Machine
Find any box that could contain the breathing helper, if not…
Packaging: Find large cardboard, to cut the followings...
- (20cm x5cm) x2 length
- (15cm x5cm) x2 width
- (20cm x15cm) x1
- A4 paper or colored paper (need to cut a rectangle if colored to show light)
For COLORED PAPER ONLY: cut 15cm x5cm from colored paper, and find a plain white paper to cut 15cm x5cm to fill the hole
Step 5: Packaging
Use tape to stick width and length together.
Step 6: Packaging
1. Form a right angle
2.Stick the two right angle together to form a rectangle
Step 7: Packaging
Stick base underneath the cardboard rectangle
Step 8: Packaging
Fold the paper into a lid for the container for the machine
Step 9: Packaging
For COLORED PAPER ONLY: cut 15cm x5cm from colored paper, and find a plain white paper to cut 15cm x5cm to fill the hole
Step 10: Packaging
Add velcro if needed at the opening part of the lid
Step 11: DONE!
Hooray!!!