There are six materials needed to prepare.
- Raspberry pi 3
- Dth11
- Pin Configuration
- 3.3v(1), out(gpio4), gnd(9)
- Pin Configuration
- Speaker
- Voice detector sensor:
- Pin Configuration
- 5v(4), out(gpio27), gnd(20)
- Pin Configuration
- Pir motion sensor
- Pin Configuration
- 5v, out(gpio7), gnd
- Pin Configuration
- Respberry pi camera module(v2):
- take a picture : raspistill -v -o output.jpg
- video : raspivid -o video.h264 -t 5000(5sec)
- ButtonThenCamera.py
- upload picture to S3
- S3 bucketname : 'nthu-106062599'
- S3toLambda.py (python3.6)
- S3 trigger Lambda to do rekognition then publish
- This file be needed to put in AWS Lambda
- detect_label.py
- basicPubSub.py
- TempDataFunc.py (python2.7)
- Dynamondb trigger Lambda to sned SNS(notify) to parents
- This file be needed to put in AWS Lambda
- playMusic.py
- Pushing the APP button could choose the song that children like to stop crying.





