Skip to content

professional mouse lab project with computer software and hardware + firmware :)

License

Notifications You must be signed in to change notification settings

rapexa/labratory_mouse_home

Repository files navigation

title : labratory_mouse_home

LICENSE Requirements Todo

assay subject

effect of electro magnetic fields on human and live creaters

authors

  • mohammad gharehbagh
  • sohil shoravarzi

Todolist

  • make comment and introduction in both code sites
  • write readme.mi and make TODOS on it
  • add this project on git
  • make aparat link for project and add it to bottom aparat link
  • add my sql service to it and sava all of data on it and write the help for this in readme.md <{[id , {info}, timestamp , ... ]}>
  • add servo motor + ir distance sensor to all thing as shematic + code >> arduino and python and mysql service and ...
  • make data sheet for all ellectrical part of the work <(servo motor and ir distance sensor)>
  • add functions in both side arduino and python codes to get all datas at one time in one json file and store them into mysql database
  • make pre layout balsamic design for gui its the end of it just continue it.
  • make graphical user interface for showing results and charts desktop app or website web service
  • add four top pre designed pages in balsamic mokup to flask then work on backend of project
  • adding more professional persons to te project :: mr.hoseini and mr.khaderyan
  • work on python getsdata function for how to get all datas from that single one function from arduino and save it and show it ...
  • continue work on gui (frontend and backend) and codeing in both arduino and python codes and coninue makeing the electrical parts and mechanical parts (electrival kits and case for all project + mouse holders)
  • recording all (test) and (on way makeing and ...) for this project
  • recordeing the voice of meets that i have with (sohil) for all parts of project
  • writeing assay for result of electromagnetic fields on human and live creaters
  • all works must be text and haveing some things from them
  • write the book for it
  • getting invention certificate for handmade animalkepping dvice that i make it
  • send assay for ISI and so many other diferrent places
  • getting help from mr.hosseini and mr.khaderian
  • engining the all work and make the main pattern for all work
  • makeing graphical pattern for done the project

This project is in way for writing assay for top subject.

در این پروژه از تکنولوژی های زیر استفاده می شه:
  • opencv
  • پایتون
  • فلسک
  • هسته وای فای esp8266
  • مای اسکوئل
  • الکترونیک
  • میکروکنترلر ها و میکرو پرسسور ها

کل ویدئوها رو می تونین از لینک های زیر ببینین.

Every single step of this project is screen captures and you can follow them On Aparat.

How to run

  1. Install python3, pip3, virtualenv, arduino+complete(librarys and bourds), MySQL in your system.
  2. Clone the project git clone https://github.com/rapexa/labratory_mouse_home.git && cd labratory_mouse_home
  3. Create a virtualenv named venv using virtualenv -p python3 venv
  4. Connect to virtualenv using source venv/bin/activate
  5. From the project folder, install packages using pip install -r requirements.txt
  6. Now environment is ready.
  7. edit app/config.py as your choice then :
  8. run this command mv app/config.py.sample app/config.py in project Directory
  9. تمام شما الان میتونید رو پروژه کار کنین

make mysql server for project

  1. run this comand in MYSQL database : CREATE DATABASE alldatas;

  2. run this comand in MYSQL database : CREATE USER 'nativeuserme'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';

  3. run this comand in MYSQL database : GRANT ALL PRIVILEGES ON alldatas* TO 'nativeuserme'@'localhost';

  4. run this comand in MYSQL database : DROP TABLE IF EXISTS ledstatus;

  5. run this comand in MYSQL database : CREATE TABLE ledstatus (redled VARCHAR(30), yellowled VARCHAR(30) , timestamp TIMESTAMP);

  6. run this comand in MYSQL database : DROP TABLE IF EXISTS relaystatus;

  7. run this comand in MYSQL database : CREATE TABLE relaystatus (light VARCHAR(30),fans VARCHAR(30) ,timestamp TIMESTAMP);

  8. run this comand in MYSQL database : DROP TABLE IF EXISTS pirstatus;

  9. run this comand in MYSQL database : CREATE TABLE pirstatus (motion VARCHAR(30), timestamp TIMESTAMP);

  10. run this comand in MYSQL database : DROP TABLE IF EXISTS irstatus;

  11. run this comand in MYSQL database : CREATE TABLE irstatus (switch VARCHAR(30), timestamp TIMESTAMP);

  12. run this comand in MYSQL database : DROP TABLE IF EXISTS dhtstatus;

  13. run this comand in MYSQL database : CREATE TABLE dhtstatus (hum VARCHAR(30),temp VARCHAR(30) , timestamp TIMESTAMP);

  14. run this comand in MYSQL database : DROP TABLE IF EXISTS servostatus;

  15. run this comand in MYSQL database : CREATE TABLE servostatus (servostatus VARCHAR(30),timestamp TIMESTAMP);

  16. run this comand in MYSQL database : DROP TABLE IF EXISTS alldatasstatus;

  17. run this comand in MYSQL database : CREATE TABLE alldatasstatus (hum VARCHAR(30),temp VARCHAR(30),motion VARCHAR(30),switch VARCHAR(30),redled VARCHAR(30),yellowled VARCHAR(30),light VARCHAR(30),fans VARCHAR(30),servostatus VARCHAR(30),timestamp TIMESTAMP);

  18. run this comand in MYSQL database : DROP TABLE IF EXISTS allwritedatasstatus;

  19. run this comand in MYSQL database : CREATE TABLE allwritedatasstatus (title VARCHAR(60),name VARCHAR(30),weight VARCHAR(30),hight VARCHAR(30),temp VARCHAR(30),Score VARCHAR(30),discr VARCHAR(256),time TIMESTAMP);

About

professional mouse lab project with computer software and hardware + firmware :)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages