Making Things Interactive

February 28, 2008

Midterm Project – The Big Black Bag

Filed under: Assignments,Tiffany Yang — tyang1 @ 1:36 am

Women like to carry big bags…and when the interior is black it is difficult to find anything. I want to design a “smart” bag that lights up inside when the bag is unzipped. Basically I will stick a photosensor right by the zipper so it will sense light when the bag is opened. Another problem with shoulder bags is that when people are walking around in a busy area they cannot feel or hear their cell phones if it rings or vibrates. My Big Black Bag will vibrate when it detects an incoming call. The bag will have a vibe board and photosensor in its shoulder straps and also on the strap, there is a decorative pin with LEDs. The photosensor is to sense if someone is carrying the bag. It will be on the bottom side of the shoulder strap so that way if someone is carrying the bag on her shoulders, the photosensor will be blocked. When my cell phone rings, the shoulder straps will vibrate and the decorative pin will light up only if someone is not carrying the bag. This is because when someone is carrying the bag they are walking and not looking at the bag so it is a waste of battery for the LEDs on the pin to light up. The LEDs on the decorative pins are tri-colored LEDs. So when the cellphone rings for 10 seconds, the LEDs will be blue. If the person does not pick up, and continues to ring for another 20 seconds, the LEDs will be green. If the person still does not pick up, the LEDs will be red. I will determine exactly how long it will ring before changing to a different color later. An RF sensor will detect the cell phone ringing that will pickup transmissions from my cell phone when there is an incoming call.

State Diagram

LED Pin

Bag layout

Code Sketches
• Light Inside Bag
If photosensor detects light, then LEDs turn on. Else, LEDs stay off.
• Cellphone Ring
If RF frequency within 800 – 1200MHz is detected, then vibe board vibrates in pulses for 2 minutes. If RF frequency within 800 – 1200 MHz is detected && photosensor in strap is not blocked, LEDs on shoulder strap will turn on. Otherwise LEDs on shoulder strap will stay off.

Parts List:
• Arduino Lillypad main board
• Arudino Lilypad vibe board
• 2 – Photosensors
• 4 resistors
• 4 – LEDs
• 1 – 5V battery
• conductive thread
• clothe & padding
• RF sensor (being shipped)
• 5 – Tri-colored LEDs (being shipped) 

Schematic of Circuit 

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

Create a free website or blog at WordPress.com.