wisdom of the crowed final review high speed digital systems lab

19
Wisdom of the Crowed Final Review Students: Adi Havazelet, Ben Hadad Instructor: Mony Orbach Semester: spring 15 Duration: One Semester High Speed Digital Systems Lab

Upload: brittney-barnett

Post on 17-Jan-2016

217 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Wisdom of the Crowed Final Review High Speed Digital Systems Lab

Wisdom of the CrowedFinal Review

Students: Adi Havazelet, Ben Hadad

Instructor: Mony Orbach

Semester: spring 15

Duration: One Semester

High Speed Digital Systems Lab

Page 2: Wisdom of the Crowed Final Review High Speed Digital Systems Lab

Motivation• Herds owners deal with control difficulties.

• It reflects in daily problems, for example:

• Herd’s members Stealing

• Following health status

• Real time monitoring

.

Page 3: Wisdom of the Crowed Final Review High Speed Digital Systems Lab

Solution Concept• Herd’s members would wear the smart collar

• Each smart collar receives GPS and sensors data

• The collars share data through WIFI

• Real time data will be transferred to the base station

Owners will have an easy way to control their herd

.

Page 4: Wisdom of the Crowed Final Review High Speed Digital Systems Lab

WIFI

Cellular

GPS &

Sensor

Top Block Diagram

M

Page 5: Wisdom of the Crowed Final Review High Speed Digital Systems Lab

Main goal - design a stand alone unit, supports the following:

• Receive and process GPS and sensors data

• Communicate with a similar unit through WIFI

• Send data from a single unit (Master) to “base station”

by cellular communication

Project Goals

Page 6: Wisdom of the Crowed Final Review High Speed Digital Systems Lab

WIFI

Owner’s cell phone

Cellular

Bottom Block DiagramMasterSlave

Arduino Nano

Heat sensor

Cellular Module

ESPArduino Nano

Heat sensor

GPSModule

ESP

Page 7: Wisdom of the Crowed Final Review High Speed Digital Systems Lab

Software DiagramSlave

Connect WIFI

Master

Connect WIFI

Listen SMS

Temperature

Get dataSend SMS

Get SMS

Temperature

GPS

Send data

Setup

Loop

Page 8: Wisdom of the Crowed Final Review High Speed Digital Systems Lab

Hardware :

• Arduino Nano v3.0Tmega

• WIfI module ESP8266

• GPS module U-blox NEO 6M

• Potentiometer (“Heat sensor”)

• Cellular module – GPRS shield, SIM900

Development EnvironmentSoftware :

• Arduino programming language

• C programming language

Page 9: Wisdom of the Crowed Final Review High Speed Digital Systems Lab

• Cellular communication requires more power then WIFI

• The user will be updated on demand (power preservation)

• The user will be updated immediately in case of critical

situations (high temperature, WIFI lost connection)

Data Transfer Policy - General

Page 10: Wisdom of the Crowed Final Review High Speed Digital Systems Lab

• SLAVE will receive data from it’s sensors every 10

seconds

• SLAVE will send data to the MASTER every 10 seconds

Data Transfer PolicyMaster Slave

Page 11: Wisdom of the Crowed Final Review High Speed Digital Systems Lab

• MASTER will send data to the owner on demand

• MASTER will send data to the owner immediately in case

of critical situations

Data Transfer PolicyMaster Owner

Page 12: Wisdom of the Crowed Final Review High Speed Digital Systems Lab

• GPS accuracy testing

• Communication between 2 devices through WIFI

• Data transfer between master and slave

• Data transfer between master and base station through

cellular communication

• End to end system testing

Testing Environment

Page 13: Wisdom of the Crowed Final Review High Speed Digital Systems Lab

• Using SMS instead of the server

• Separation between master and slave

• No Location warning

Planning vs. Implementation 

Page 14: Wisdom of the Crowed Final Review High Speed Digital Systems Lab

• Not enough memory on the Arduino board

Using AT commands instead of Arduino’s libraries

• Server on Technion’s network

Using SMS messages to communicate with the owner

• Listen to GPRS module isn’t continuous

Store incoming SMS on the SIM card

Problems and Solution 

Page 15: Wisdom of the Crowed Final Review High Speed Digital Systems Lab

• Research power consumption of each communication

platform

• Unification of Master and Slave to the same device

• Building a server

• More sheep! (software and hardware compatibilities)

What’s Next?

Page 16: Wisdom of the Crowed Final Review High Speed Digital Systems Lab

Scenario 1: High Temperature – Slave

1. “Increase temperature” (change resistance)

2. Slave’s temperature rise on the slave screen

3. Slave’s temperature rise on the master screen

4. Warning SMS to the owner

Demonstration

Page 17: Wisdom of the Crowed Final Review High Speed Digital Systems Lab

Scenario 2: High Temperature – Master

1. “Increase temperature” (change resistance)

2. Master’s temperature rise on the master screen

3. Warning SMS to the owner

Demonstration

Page 18: Wisdom of the Crowed Final Review High Speed Digital Systems Lab

Scenario 3: Owner’s Demand

1. SMS from the owner

2. “New SMS received” on the master screen

3. Full status SMS to the owner

Demonstration

Page 19: Wisdom of the Crowed Final Review High Speed Digital Systems Lab

Scenario 4: Lost Connection – Slave

1. Turn off the slave board

2. Fail to send new data on the slave screen

3. “Lost Connection” on the master screen

4. Warning SMS to the owner

Demonstration