- Introduction
- Features
- Requirement
- Settings & Installation
- Mobile-Structure
- Full server structure
- How to use
- How to connect motor wires
- Notes
- LICENSE
Parents are always with their babies while raising their children. But they don't always have to stick for 24 hours. our system will keep you company with your baby even if you stay away from me for a while, like going to the bathroom or throwing away trash in front of me.
- Usage through Messenger
- Raspberry Pi with chat-bot based System
- Using communication with flask server
- Using 2 flask servers.(Main Server(in aws), PiServer(in raspberryPi))
- You can check the status of your baby by using mobile system
- Raspnerry Pi 3 module B (used in Pi Server)
- 3 servo-motors(for meal,water,door) and PiCamera
- Computer or Notebook(used to chat-bot API Server)
- Smart Phone for using chat-bot(used in client)
- Using 2 static ip address.
- Main server is in AWS.(This server manage chat-bot API.)
- PiServer is in RaspberryPi (This server manage RaspberryPi)
- Using python 3.x version. Because Hangul generate error with uni-code/utf8.
1) Server side
- Install MySQL.
sudo apt-get update
sudo apt-get install mysql-server
- Install python3 modules; requests, flask, pymysql
sudo pip3 install requests
sudo pip3 install flask
sudo pip3 install pymsql
2) PiServer side
- Install GPIO modules.
sudo apt-get install python-dev
sudo apt-get install python-rpi.gpio
- Install flask, requests modules.
sudo pip3 install flask
sudo pip3 install requests
Preparing
Preparing
Preparing
DHT22(Humidity and temperature sensor)
- Green wired: (BCM:22)(GPIO.3)(Physical:15)(Data)
- Red wired: (Physical:1)(3.3V)
- Black wired: (Physical:9)(GND)
PPD42NS(Dust sensor)
- Orange wired: None
- White wired: None
- Yellow wired: (BCM:23)(GPIO.4)(Physical:16)(Data)
- Red wired: (Physical:4)(5V)
- Black wired: (Physical:6)(GND)
-
Installation method of Rasbian
https://www.raspberrypi.org/documentation/installation/installing-images/ -
Apply from public IP to HTTPS
Smart mobile is licensed under the GNU GENERAL PUBLIC LICENSE v3.
Copyright (C) 2018-present, Team NAC(Need a Anti Cancer) - kuj0210, HaebinKim, ras120, Kownby
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.