Wednesday, 23 July 2014

Control Devices Via Web Or Smart Phone

Today  the internet of thing appears anywhere  you can find  it  on  smart home ,robot , car system , traffic  light ,secure camera,etc. so I would like to control  all devices at home via the internet and  control all lights on the street and  I am going to use  camera to control  car .





1. Server
+  Language : Java and a bit html
+  OS  : Linux OS
+  Compiler : (GCC) ) Eclipse
How to work  : Server will  receive  status of devices and control it
  Server have  two component parts : java servlet and  database with mysql.

2. Client
+ Language : C, C++
+ OS  :  Windows OS, Linux OS
+ Compiler :  Visual studio 2012 and eclipse
+ hardware :  Using board and port Linux  OS into board.
How to work   :  I have  one client  and one board  if possible i will  use   many boards to connect  client. why I  have to be  client  because all datum will process  in client  and you can control  your system when  offline . When  user would like to modify configuration  they will access to  server to do it  .   if we  control with  large local  we can need to use many clients
all library
   + Json library - Needing to enhance code 
   + http request and response ( Using libcurb ) - OK
   +  serial port  ( rs232)
   + Wifi protocol ( Pending )
   +HWID  : get Information of hardware
I use WMI  to get information  of hardware .

3. BeagleBone Black board (Pending : Waiting board from http://beagleboard.org)
+Language : C,  C++
+OS : android
+Compiler:  gnu  ( :eclipse  eclipse_windows - visualgdb (GCC)
+I need to integrate  four modules : WIFI ,Bluetooth, NFC , AC protocol







4. Resource :
  a project will have  two folders  include  Document  folder and resource folder. Document folder will contain all documents for this project. resource folder will contain code and  manage by git
How to manage code  on git :  we will have 3 branchs .
       root
        ------master
         -------qa
         ---------dev
I will  develop on dev branch  and i will merge code into qa and master

we can pull code the following link
     Code on server  ( Java on eclipse)
   - git@bitbucket.org:ttle/windows-os-server.git
    Code on Windows ( C++ on visual studio 2012)
  - git@bitbucket.org:ttle/windows-os-client.git
   Code on board ( C++ on eclipse )
   - git@bitbucket.org:ttle/embbed-linux-on-board.git

Code on android OS
 - git@bitbucket.org:ttle/android-os-client.git

- Unit test
 +  Writing python , C# (fast) , C++ , Java)(  Using submodule on git to integrate for both server and client
  git@bitbucket.org:ttle/windows-os-testing.git  . (status : pending )
+ Using virtual machines to run test when updating code
    - On visual studio 2012 uses Microsoft::VisualStudio::CppUnitTestFramework  to write unit test ( C plus plus )
 

Note : currently you can NOT  pull code from my projects , if you like my projects  please me know i will  allow  you to join  my project .  
Contact me : Email    :  letrthong@gmail.com
                    Skype  :   le_trung_thong
4 .Demo 
   I will use video and update on youtube.com (Pending)
5  Document of  reference 
+ Computer network 
                                                                                                                                                    Thong LT

No comments:

Post a Comment