Wisdom of the CrowedFinal Review
Students: Adi Havazelet, Ben Hadad
Instructor: Mony Orbach
Semester: spring 15
Duration: One Semester
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
.
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
.
WIFI
Cellular
GPS &
Sensor
Top Block Diagram
M
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
WIFI
Owner’s cell phone
Cellular
Bottom Block DiagramMasterSlave
Arduino Nano
Heat sensor
Cellular Module
ESPArduino Nano
Heat sensor
GPSModule
ESP
Software DiagramSlave
Connect WIFI
Master
Connect WIFI
Listen SMS
Temperature
Get dataSend SMS
Get SMS
Temperature
GPS
Send data
Setup
Loop
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
• 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
• 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
• 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
• 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
• Using SMS instead of the server
• Separation between master and slave
• No Location warning
Planning vs. Implementation
• 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
• 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?
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
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
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
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