Introduction: Sudden Infant Death Syndrome Prevention Crib
In the past year SIDS has claimed the lives of as many as 4,000 babies in the U.S. alone. Many babies in America also suffer from sleep apnea resulting in endless stress for the parents. I am creating a device that would combat both these issues. First, there are motors imbedded in the mattress. When the baby wakes up and starts to cry, a microphone will pick up the crying and activate the motors creating a slow, calming vibration to try to put the baby back to sleep. A soothing song will also begin to play out of a speaker.
These functions will help a baby fall back to sleep however they will not prevent the baby from dying. For this, a pulse sensor will be attached each night to the baby's leg. If the baby’s pulse ever stops for an extended period of time a few things will happen to wake the baby back up. First, the motors will starting to vibrate violently to try to wake the baby up. Then an alarm will sound, and the red LEDs around the base will flashing. As a final step a camera will be placed looking onto the baby that is connected to a computer or tv so the parents can check in at any time. All of these together would hopefully be enough to make sure the baby is ok, and if not, to do something about it.
Step 1: Parts List
1. Frame of some sort (I used white foam board and Sheet metal)
2. LED Strip
3. Flexible Stands for camera and mic mount(I used stands from a tripod)
4. Microphone (I used MAX9814 from adafruit)
6. Arduino Uno Motor Sheild v2.3
7. MP3 amplifier
8. Two DC motors
10. Containers for electronics
11. Pulse Sensor amped (Adafruit)
12. Double stick tape and hot glue as adhesives
13. Power supply
Step 2: Frame Assembly
To create the frame:
1. Cut a piece of white foam board to what would be an appropriate size for a mattress.
2. Cut a piece of foam the same size.
3. Cut three more pieces of the white foam board to be the sides of the frame.
4. Assemble as shown in the picture using hot glue as adhesive for the white foam boards.
5. Once the three sides are in place, add a fourth piece that will serve as the divider between the mattress and the containers for the electronics.
6. In order make the frame sturdier, a metal sheet was cut and bent onto the sides and the divider. This also made the frame look neat and ascetically pleasing.
Step 3: Adding Motors to Mattress
1. Cut two rectangular holes about 3/4 of the way into the base of the mattress.
2. Then using the white foam board, make two boxes to fit in these holes as shown in the picture.
3. The boxes should fit snug so that they do not fall out when the mattress is in the frame.
4. In each box, add another piece of foam that the motor will be glued to so that it is elevated.
5. Hot glue a DC motor with some an offset plastic piece attached to it onto the elevated piece of foam.
6. Solder positive and negative wires onto the DC motor that is long enough to reach the electronics container.
Step 4: LED Strip
1. Cut an LED strip to fit around the base of the frame as shown in the picture.
2. Solder three wires onto the strip long enough so that they can be run to the electronics container.
3. Finally, attach the LED strip along the base of the frame using strong double stick tape.
Step 5: Pulse Sensor
1. Solder wires onto the pulse sensor.
2. Run these wires under the mattress and place the pulse sensor in a position so that it can be attached to the baby.
Step 6: Microphone
1. To create a stand for the microphone use small cuts of pvc and the stands from a tripod
2. Create two legs, each to be attached to one of the corners.
3. Connect the legs with a PVC T Joint as shown in the picture.
4. After soldering the necessary wires onto the microphone, run them through the T-joint, down one of the legs and into the electronics container.
Step 7: Speaker
1. Add a speaker in one of the corners with wires that will be run into the electronics container.
Step 8: Electronics
1. Run all of the positive and negative wires into the power bank in the electronics container.
2. Connect the power bank to the Arduino.
3. Connect the data wires from each of the different components to the Arduino accordingly.
4. The pictures show how the wires are run under the mattress and into the electronics container and how they are connected to the Arduino.
Step 9: Mattress Cover
1. The final step is to cut some sort of fabric to fit around the mattress to serve as a sheet.
Step 10: Code
You will need to download a pulse sensor library linked here. Replace the file PulseSensorAmped_Arduino_1.5.0 with the one attached here and upload it to the board that is attached to the pulse sensor and the motors. Upload the other file to the board that is attached to the microphone and the music player.