Pujng together a project proposal -‐ Experiences from a project ...
A Project
description
Transcript of A Project
![Page 1: A Project](https://reader035.fdocuments.in/reader035/viewer/2022062810/56815c69550346895dca7bf7/html5/thumbnails/1.jpg)
A Project
Team Members:
Shamlan Albahar Rifaah Alkhamis
Doug Bloomquist Chris Deboer
![Page 2: A Project](https://reader035.fdocuments.in/reader035/viewer/2022062810/56815c69550346895dca7bf7/html5/thumbnails/2.jpg)
What?
• Widlife monitoring system– Use wireless sensor network to gather data about
wildlife behavior and patterns
Christopher
![Page 3: A Project](https://reader035.fdocuments.in/reader035/viewer/2022062810/56815c69550346895dca7bf7/html5/thumbnails/3.jpg)
Why?
• Wild life researchReduces costBetter resultsLess risky
• Environmental Impact studiesDevelopment projectsConstruction
Christopher
![Page 4: A Project](https://reader035.fdocuments.in/reader035/viewer/2022062810/56815c69550346895dca7bf7/html5/thumbnails/4.jpg)
How?• Movement/Motion
• Take photographs
• Temperature
• Humidity
• Light
• GPS, wind
• Perform simple data manipulation and interpretation.Christopher
![Page 5: A Project](https://reader035.fdocuments.in/reader035/viewer/2022062810/56815c69550346895dca7bf7/html5/thumbnails/5.jpg)
Wild Thingz Monitoring SystemVision
Rifaah
![Page 6: A Project](https://reader035.fdocuments.in/reader035/viewer/2022062810/56815c69550346895dca7bf7/html5/thumbnails/6.jpg)
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](https://reader035.fdocuments.in/reader035/viewer/2022062810/56815c69550346895dca7bf7/html5/thumbnails/7.jpg)
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](https://reader035.fdocuments.in/reader035/viewer/2022062810/56815c69550346895dca7bf7/html5/thumbnails/8.jpg)
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](https://reader035.fdocuments.in/reader035/viewer/2022062810/56815c69550346895dca7bf7/html5/thumbnails/9.jpg)
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](https://reader035.fdocuments.in/reader035/viewer/2022062810/56815c69550346895dca7bf7/html5/thumbnails/10.jpg)
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](https://reader035.fdocuments.in/reader035/viewer/2022062810/56815c69550346895dca7bf7/html5/thumbnails/11.jpg)
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](https://reader035.fdocuments.in/reader035/viewer/2022062810/56815c69550346895dca7bf7/html5/thumbnails/12.jpg)
Wild Thingz Sensor Prototype Board #1
![Page 13: A Project](https://reader035.fdocuments.in/reader035/viewer/2022062810/56815c69550346895dca7bf7/html5/thumbnails/13.jpg)
Camera
• Connected to one of the UART's @ 38,400 BPS.
• No send/receive data acknowledgments
![Page 14: A Project](https://reader035.fdocuments.in/reader035/viewer/2022062810/56815c69550346895dca7bf7/html5/thumbnails/14.jpg)
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](https://reader035.fdocuments.in/reader035/viewer/2022062810/56815c69550346895dca7bf7/html5/thumbnails/15.jpg)
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](https://reader035.fdocuments.in/reader035/viewer/2022062810/56815c69550346895dca7bf7/html5/thumbnails/16.jpg)
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](https://reader035.fdocuments.in/reader035/viewer/2022062810/56815c69550346895dca7bf7/html5/thumbnails/17.jpg)
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](https://reader035.fdocuments.in/reader035/viewer/2022062810/56815c69550346895dca7bf7/html5/thumbnails/18.jpg)
Wild Thingz Sensor Prototype Board #1
![Page 19: A Project](https://reader035.fdocuments.in/reader035/viewer/2022062810/56815c69550346895dca7bf7/html5/thumbnails/19.jpg)
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](https://reader035.fdocuments.in/reader035/viewer/2022062810/56815c69550346895dca7bf7/html5/thumbnails/20.jpg)
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](https://reader035.fdocuments.in/reader035/viewer/2022062810/56815c69550346895dca7bf7/html5/thumbnails/21.jpg)
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](https://reader035.fdocuments.in/reader035/viewer/2022062810/56815c69550346895dca7bf7/html5/thumbnails/22.jpg)
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](https://reader035.fdocuments.in/reader035/viewer/2022062810/56815c69550346895dca7bf7/html5/thumbnails/23.jpg)
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](https://reader035.fdocuments.in/reader035/viewer/2022062810/56815c69550346895dca7bf7/html5/thumbnails/24.jpg)
Gantt Chart Up-to-date Schedule
Rifaah
![Page 25: A Project](https://reader035.fdocuments.in/reader035/viewer/2022062810/56815c69550346895dca7bf7/html5/thumbnails/25.jpg)
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](https://reader035.fdocuments.in/reader035/viewer/2022062810/56815c69550346895dca7bf7/html5/thumbnails/26.jpg)
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](https://reader035.fdocuments.in/reader035/viewer/2022062810/56815c69550346895dca7bf7/html5/thumbnails/27.jpg)
Questions?