Goodnight Snooze

678

2

2

Introduction: Goodnight Snooze

Problem statement

- The goal of this project is to make sure users wake up on time and develop good habits without relying on the snooze button.

- The snooze button has become such a reliance for individuals, that it causes it to become almost habitual and procrastinate waking up until they are late, which is counterproductive of the alarm function.

- While there are currently alarm clocks out there that will move or pillows that vibrate, there isn't a machine that combines the feature of making sure an individual wakes up on time and stays up.

Overview of how it works
Before the user goes to sleep, they set their alarm to the time they want to wake up. When the alarm goes off at the time set, this triggers the vibrators in the pillow to start vibrating. The user, then, gets up to work with the floor mat, which needs to get completed to turn off the vibrators. They need to press the “push to start” button and then three lights in a row will randomly blink. It is the users job to reiterate that same sequence by tapping their foot on the button of the corresponding color. If they get it right then all the lights will turn green allowing them to try another sequence. Once they get the second sequence, they perform the same thing for a third sequence. If the user gets any of the sequences wrong, the system flashes red and takes them back to sequence one. When they get three sequences in a row correct, the vibrators will stop buzzing, and they are ready to start their day.

*** Look at attached video for step-by-step instructions


Supplies:

- Alarm clock (and batteries) - any alarm clock will work, as long as it has an “alarm off” button

- Foam floor mat (about 32” x 17”)

- Pillowcase

- Felt - 4’ x 4’

- Conductive fabric - 20cm square

- Conductive thread - 10 feet

- 3 x AAA battery holder with on/off switch and 2-pin JST

- AAA batteries - 3 pack

- Flora RGB smart neopixel (3)

- Hook-up wire spool set 6 x 25 feet

- Circuit Playground Express Arduino

- 2’x2’ of balsa wood ⅛” thick

- 4” x 4” of acrylic ⅛” thick

- SparkFun MOSFET Power Controller

- LilyPad Vibe Boards (4)

Tools Needed
- Wire cutters

- Jumper cable strippers

- Tweezers

- Box cutter

- Soldering tool

- Hot glue gun

- Laser cutter

- 3D printer

- Needle (for sewing)

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Obtain Materials and Tools

- The list of materials and tools are listed above

- Here are links of the wishlists for the materials

- https://www.amazon.com/hz/wishlist/ls/264M8MVLWQU...
- https://www.sparkfun.com/wish_lists/155049

- http://www.adafruit.com/wishlists/495210

Step 2: How to Make The... Floor Mat

Mat

1. Lay out foam mat on a stable surface, that is able to be cut on

2. Cut out strips of red fabric to divide mat into four small boxes and one large box (the length and width depends on the size of the floor mat)

3. Cut out holes from mat (about 1” x 1”) in each of the the upper left quadrant, lower left quadrant, lower right quadrant, and the big right portion

Step 3: How to Make The... LEDs

LEDs

1. Wire the LEDs in parallel by connecting a wire to pin A7 on the Arduino, then connecting the LEDs together by connecting wire in the direction of the arrows on the LEDs

2. Connect LEDs with positive coming from a voltage on the Arduino

3. Connect LEDs with negative coming from the ground on the Arduino

4. Tape the LEDs to the underside of the mat with the LEDs coming up in each hole cut in the mat

NOTE: The length of these wires are dependent on the size of the floor mat

Step 4: How to Make The... Touch Pad

Touch pads

1. Cut out three 2 inch x 4 inch rectangles of tan fabric

2. Cut a small circle hole in each piece so the LED can be seen

3. Cut three 0.5 inch x 0.5 inch squares of conductive fabric

4. Sew conductive fabric to the 2x4 piece of fabric by using conductive thread

* Sew the conductive fabric on the right side of the felt

5. Connect wire to the conductive thread on underside of 2x4 fabric

* Connect by wrapping a stripped end of jumper cable to the conductive thread

6. Wire connects to pin A3, A4, A5 on Arduino

7. Hot glue each 2x4 fabric to the mat

8. Cut out a 5 inch x 3 inch rectangle of tan fabric

9. Laser cut “Push To Start” on 5x3 fabric

10. Cut out a 2 inch x 1 inch piece of conductive fabric

11. Sew conductive fabric to 5x3 fabric with conductive thread

12. Connect wire to conductive thread on underside of 5x3 fabric by wrapping

13. Wire connects to pin A2 on Arduino

Step 5: How to Make The... Pillow

Pillow

1. Wire three vibrating buzzers in parallel

2. Sew the buzzers to the top of the underside of the pillow

3. Wire three vibrating buzzers in parallel

4. Sew the buzzers to the bottom of the underside of the pillow

5. Connect the two positive ends of two sets of buzzers to one wire

6. Connect the two negative ends of two sets of buzzers to one wire

7. Connect positive wire to a voltage on Arduino

8. Connect negative wire to SparkFun negative in the bottom left corner of the SparkFun

9. Connect top right negative of the SparkFun to a ground on the Arduino

10. Connect top left positive of the SparkFun to pin A1 on the Arduino

NOTE: The length of these wires are dependent on the size of the pillowcase and how far apart you spread the FLORA LilyPads

Step 6: How to Make The... Box

Box

1. Laser cut box (file attached)

* Laser cut this box on birch wood for all the sides except the "front" will be acrylic in order to see the alarm clock)

2. Hot glue 4 sides of the box, not the top (as evidenced as the picture above

Attachments

Step 7: How to Make The... Clock

Clock

1. Put in batteries in the alarm clock, if needed

2. Hot glue alarm clock to the mat in the top right small box on the mat

3. 3D print an off button (file is attached)

4. When button is finished printing, glue it to the OFF button on the alarm clock

Step 8: How to Make The... Arduino

Arduino

1. Solder the connections on the Arduino

2. Place Arduino on the back side of the box

3. Connect battery pack to Arduino

4. Hot glue battery pack to back side of box

5. Use this link for the code and download it to the Arduino by connecting the USB-C cord to the Arduino. Once it has downloaded, disconnect the cord, and turn on the battery pack when you want it to turn on.

MakeCode Link for Goodnight Snooze

Step 9:

CONGRATS!

You have finished making Goodnight Snooze

Be the First to Share

    Recommendations

    • Magnets Challenge

      Magnets Challenge
    • Raspberry Pi Contest 2020

      Raspberry Pi Contest 2020
    • Wearables Contest

      Wearables Contest

    2 Discussions