A Project

27
A Project Team Members: Shamlan Albahar Rifaah Alkhamis Doug Bloomquist Chris Deboer

description

A Project. WILD THINGZ. Team Members: Shamlan AlbaharRifaah Alkhamis Doug BloomquistChris Deboer. What?. Widlife monitoring system Use wireless sensor network to gather data about wildlife behavior and patterns. Christopher. Why?. Wild life research - PowerPoint PPT Presentation

Transcript of A Project

Page 1: A                                 Project

A Project

Team Members:

Shamlan Albahar Rifaah Alkhamis

Doug Bloomquist Chris Deboer

Page 2: A                                 Project

What?

• Widlife monitoring system– Use wireless sensor network to gather data about

wildlife behavior and patterns

Christopher

Page 3: A                                 Project

Why?

• Wild life researchReduces costBetter resultsLess risky

• Environmental Impact studiesDevelopment projectsConstruction

Christopher

Page 4: A                                 Project

How?• Movement/Motion

• Take photographs

• Temperature

• Humidity

• Light

• GPS, wind

• Perform simple data manipulation and interpretation.Christopher

Page 5: A                                 Project

Wild Thingz Monitoring SystemVision

Rifaah

Page 6: A                                 Project

Functional Decomposition Level Zero

Rifaah

Motion signal Temp & Humidity

Wild Thingz Monitoring system

Power; AAA, PV cells, 5V DC

User InputPhotograph

Light Intensity

GPS location

Environmental Conditions

Page 7: A                                 Project

Functional Decomposition Level One

Rifaah

Sensor Unit Motherboard

Power Supply

Data Management

Motion detection,EnvironmentalConditions

Processed Sensory unit

data

User Control

Page 8: A                                 Project

Functional Decomposition Level 2 : Sensory unit

Rifaah

Power Supply

Motion Camera Light Temp & Humidity GPS Radio

Motion detection

input

Sensors reading output &

request data input

Micro-controller

Page 9: A                                 Project

Functional Decomposition Level 2 : Motherboard

Christopher

Radio Microcontroller UART

Power Supply

Sensory unit data and request signals from Motherboard

Acquired data and request signals from

User

Page 10: A                                 Project

Functional Decomposition Level 2 : Data Management

Christopher

MATLAB

Image Processing

Environmental conditional averaging

Data presentation

Behavior modification

Network

Acquired data and request signals from User

Sensor data

Page 11: A                                 Project

Christopher

AAARechargeable

Batteries

AC to DC converter

PV Cells Buck Converter

120 Vrms ACWall outlet

Solar rays

5V DC

~3.3V DC

Functional Decomposition Level 2 : Power Supply

Motherboard

Sensor Unit

Page 12: A                                 Project

Wild Thingz Sensor Prototype Board #1

Page 13: A                                 Project

Camera

• Connected to one of the UART's @ 38,400 BPS.

• No send/receive data acknowledgments

Page 14: A                                 Project

Light Sensor

• Not connected to a channel of the A/D converter.

• On board 12 bit A/D converter.• Connected to DIO pins of MCU,

get a clock signal from MCU.• The 12 bit digital output

represents light intensity.

Page 15: A                                 Project

Temperature and humidity sensor

• Works like the light sensor.

• Onboard 14 bit A/D converter.

• The 14 bit digital output represents temperature and humidity levels.

Page 16: A                                 Project

Motion sensor

• Output of the sensor is a square wave.• Take photos only when animal’s motion has been

detected.• MCU samples DIO pin connected to motion sensor at

frequent and regular intervals.• Code algorithms after testing

Reduce the possibility of taking false photos Less data processing Reduce power consumption

Page 17: A                                 Project

1 0 0 1 1 0 1 0 0 1 1 1 1

Blowing grass – don’t take a picture

1 1 1 1 1 0 1 0 1 1 1 1 1

Squirrel – take a picture!!!!

Volta

ge o

n DI

O p

inVo

ltage

on

DIO

pin

Time

Time

Shamlan

Motion Sensor OutputExample

Page 18: A                                 Project

Wild Thingz Sensor Prototype Board #1

Page 19: A                                 Project

1. CodeBlocks IDE that utilizes JN5139 compiler to build a binary file

2. Jennic Libraries3. Flash programming GUI to get binary file on board4. USB to serial cable

Write Program

Build Binary File

Connect to camera via VCP

Erase Flash

Download binary file into flashDoug

Software Interface #1 Programming the boards

Page 20: A                                 Project

vJenie_CbInitSet up or connect to the wireless

network

vJenie_CbMainBasically an infinite for loop

vJenie_CbStackMgmtEventCalled when state of network has

changed

vJenie_CbStackDataEventCalled when data event has occurred

vJenie_CbHwEventCalled when on board hardware event has occurred

Doug

Code Layout

Page 21: A                                 Project

1. MATLAB will receive, process and send user data to the network.

2. USB to serial cable using a VCP driver3. MATLAB provides simple serial functions

1. Use for prototyping4. For demo – GUI that allows user to view network

data and change the behavior of the network5. Specific MATLAB functionality

1. Averaging of data from network1. Store most recent data2. Average older data

2. Image processing1. Conversion of data to .JPG

3. Display of network data4. Communication link between user and

network

Doug

Software Interface #2 Working with the network

Page 22: A                                 Project

s = serial('COM3') %s is the object (Jennic 5139)s.BaudRate = 19200 %set s to the correct baud ratefopen(s)i = 5j = 1while (j > 0) out = fscanf(s) if(out == 'Z') j = 10 break endendwhile (i > 3) data = fscanf(s) if(data == 'Z') break endend

Doug

MATLAB Script Example

Page 23: A                                 Project

Milestones

First Milestone• Initial prototype

– Motherboard– Sensor unit– Data processing and

human interface via MATLAB

– Wireless communication

Second Milestone• Final units

– Testing and debugging

– Fully functional sensor units (2) and motherboard

Demo• Fully functional wireless

sensor network• 2 sensor boards and 1

motherboard• GUI for human interaction

with network• Data display and ability

for user to modify network behavior

• Environmental model in lab• Demonstrates network

functionality

Rifaah

Page 24: A                                 Project

Gantt Chart Up-to-date Schedule

Rifaah

Page 25: A                                 Project

Division of Labor Task Primary Secondary

Programming: -Microcontroller-Camera-Motion detector-Sensors-Matlab

Hardware Development:

-Altium Design Circuit board layout-Purchasing miscellaneous components -PCB’s and populating

Data Processing: -Data algorithms -Classification-Image Processing-Data Filtering

Testing and Debugging -Power consumption evaluation-Troubleshooting

Christopher

Page 26: A                                 Project

PARTS LIST

Christopher

Description Manufacturer MFPN Supplier SPN CostQuantity

JN5139 Wireless Module NXP SemiconductorsJN5139-001-M/00R1T Digikey

616-1035-1-ND 28.22 1

LinkSprite JPEG Camera LinkSprite Sparkfun SEN-10061 49.95 1

Motion Sensor Parallax Inc 555-28027 Digikey555-28027-ND 9.99 1

Temp and Humidity Sensor Sensirion SHT11 Newark 69C4848 25.19 1

Light Sensor TAOS TSL2550D Mouser856-TSL2550D 3.49 1

3V Li Ion Battery Seiko InstrumentsMS920SE-FL27E Digikey

728-1058-ND 2.05 1

Male Headers Tyco 4-103741-0 DigikeyA26509-40-ND 1.6 1

Push Button Switch MULTICOMP 26M1122 Newark MCDTS6-1N 0.13 4

LED L-934LGD KINGBRIGHTFarnell InOne 114-2509 0.25 2

Page 27: A                                 Project

Questions?