Skip to content

for 2018 Creative Design project in Kumoh National Institute of Technology, department of computer engineering

Notifications You must be signed in to change notification settings

kuj0210/Smart-mobile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Smart-mobile

License: GPL v3

Smart mobile system for my baby with naver-talk-talk messenger

Index

introduction

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.

Features

  • 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

 Requirement

  • 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)

 Settings & Installation

Settings

  • 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.

Installation

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

Mobile-Structure

Preparing

Full server structure

How to use

Preparing

How to connect wires for sensor

Preparing

sensor

image 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)

Notes

LICENSE

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/>.

About

for 2018 Creative Design project in Kumoh National Institute of Technology, department of computer engineering

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •