62
Knight’s Wireless Baby Monitor Keeping our babies safe! 1

Knight’s Wireless Baby Monitor

  • Upload
    gamada

  • View
    42

  • Download
    4

Embed Size (px)

DESCRIPTION

Knight’s Wireless Baby Monitor. Keeping our babies safe!. Group Information Team 5. Objectives. Build a reliable baby monitor for infants under one year old to monitor the infant and keep it out of hazardous positions known to be associated with SUID and SIDS. - PowerPoint PPT Presentation

Citation preview

Page 1: Knight’s Wireless Baby Monitor

Knight’s Wireless Baby Monitor

Keeping our babies safe!

1

Page 2: Knight’s Wireless Baby Monitor

Group InformationTeam 5

2

Members: Mentors:

Jaoaud Annoni (EE) Zaza Soriano, EE, CpETheresa Moyo (EE) Dino Soriano, RNHanyun Wang (EE)Dan Zuber (CpE)

Sponsor: Boeing

Page 3: Knight’s Wireless Baby Monitor

ObjectivesBuild a reliable baby monitor for infants under one year old to monitor the infant and keep it out of hazardous positions known to be associated with SUID and SIDS.

Monitor motion, body heat of the infant with the temperature and sound of the environment.

Alert the caretaker and parents of life threatening events.Enable the parents to monitor the babies environment via their smart phones.

Ability to add remote sensors in the future to monitor the heart rate and babies temperature.

3

Page 4: Knight’s Wireless Baby Monitor

System Specifications

System Specifications

Monitoring unit no larger than 8” wide x 12” deep x ¾ “ thick

The monitoring unit shall operate for 10 hours on rechargeable batteries.

The minimum broadcast range from the transmitter to the wireless receiver will be 40 meters.

The alarm unit shall always be activated by rechargeable batteries lasting 8 hours on one charge.

4

Page 5: Knight’s Wireless Baby Monitor

Overall System

5

Smart PhoneApplication

Microprocessor

Alarm Unit

Overall System

CameraPIR Motion sensor Microphone PIR Temperature sensor

Monitoring Unit

WiFi RF Transceiver

WiFi RF Receiver

Page 6: Knight’s Wireless Baby Monitor

Motion sensor

6

Smart PhoneApplication

Microprocessor

Alarm Unit

Overall System

CameraPIR Motion sensor Microphone PIR Temperature sensor

Monitoring Unit

WiFi RF Transceiver

WiFi RF Receiver

Page 7: Knight’s Wireless Baby Monitor

sensor•Move too often•Don’t move

•Move too often•Don’t move

cell phonemotion sensor

Buzzer

24 hours

Induction distance

Size

Page 8: Knight’s Wireless Baby Monitor

Adjustable distance

Induction distance

Size Infrared (24 Hours)

Delay time

Triggering

Mini IR sensor

<3m 10 x 23 mm infrared Repeated triggering

Security Hi-Q

3-5 28 x 28 x 26 mm infrared Repeated triggering

New R1 5-8m 6.3 x 3.8 x 2.8cm infrared 30s

HC-SR501 yes 0-7m 24x34mm infrared 0- tens of seconds

Repeated trigger/can

not repeated

Page 9: Knight’s Wireless Baby Monitor

HC-SR501Infrared PIR Motion Sensor Detector

Module

Infrared sensor

Control circuit board

Basic Specification

Detection distance: Delay time Working voltage Voltage output

0-7M 0.5-200s DC 4.5V – 20V High/Low output :3.3V/0V

24m

m32mm

Page 10: Knight’s Wireless Baby Monitor

Potentiometer

•Adjust delay timeClockwise=longer delayAnticlockwise=shorter delay

•Adjust distanceClockwise = increase 7mAnticlockwise= decrease 0m

Output voltage:to enter the sensor output range is high, people leave the sensor range of the automatic delay off high, output low

Input Ground Output

Page 11: Knight’s Wireless Baby Monitor

Basic features Induction blocking time(default setting:2.5s)

After output, we can set the blocking time, and the motion sensor will stop working in the blocking time

two trigger mode:

A: can not repeat the trigger

B: repeatable trigger: If some move object move in the sensing range, The motion sensor will work after the delay time.

Page 12: Knight’s Wireless Baby Monitor

Connect to the board

Microcontroller

Microcontroller

Page 13: Knight’s Wireless Baby Monitor

Camera

13

Smart PhoneApplication

Microprocessor

Alarm Unit

Overall System

CameraPIR Motion sensor Microphone PIR Temperature sensor

Monitoring Unit

WiFi RF Transceiver

WiFi RF Receiver

Camera

Page 14: Knight’s Wireless Baby Monitor

Camera

24 hours

Definition

Small No flashing

Page 15: Knight’s Wireless Baby Monitor

Small Definition 24hours No flashing XBee

SEN-10061 32x32mm 2 mega yes yes Directly

Raspberry Pi 25x20mm 5 mega yes Pi noir No

Page 16: Knight’s Wireless Baby Monitor

JPEG Camera Module

Basic SpecificationsPixel count VGA/QVGA/160*120

Lens seize 22mm

Sensor type Color CMOS(5-megapixel)

Current consumption 80-100mA

Video supports Capture JPEG from serial port

DC 3.3V or 5V

25mm

32m

m

8mm

Page 17: Knight’s Wireless Baby Monitor

Features:

Fully compliant with USB Specification v2.0

Independent power source for serial interface

256-byte outbound buffer and 256-inbound buffer

Two general purpose I/O pins

15cm

PL2303HX Chipset Based USB

50mm

11m

m

Page 18: Knight’s Wireless Baby Monitor

Connect Together

Line Color Port

Red VDD

Black GND

Yellow TXD

Green RXD

Page 19: Knight’s Wireless Baby Monitor

Software

ISPY

•Add the Camera to the ispy

•To virtually video source

•Assigned an IP address

Page 20: Knight’s Wireless Baby Monitor

Third party soft ware

IP Cam Viewer

Good Compatibility

Stability

Free

IP Webcam

IP CAM Controller

Reecam IP Camera

Page 21: Knight’s Wireless Baby Monitor

Microphone

21

Smart PhoneApplication

Microprocessor

Alarm Unit

Overall System

CameraPIR Motion sensor Microphone PIR Temperature sensor

Monitoring Unit

WiFi RF Transceiver

WiFi RF Receiver

Page 22: Knight’s Wireless Baby Monitor

Candidate Microphone Devices for Breathing

Device AOM-4544P-2-R TOM-1545P-R

Manufacturer Projects Unlimited Projects Unlimited Directivity Omnidirectional Omnidirectional

Supply Voltage Min 1.5 VDC 2.0 VDC Supply Voltage Max 10 VDC 10 VDC

Frequency Response Min 20 Hz 20 Hz

Frequency Response Max 20 kHz 19 kHz

Sensitivity -44 ± 2 dB -45 ± 3 dB Current Consumption (max)

0.5 mA 0.5 mA

Impedance 2.2 kΩ 2.2 kΩ Signal-to-Noise Ratio (min)

60 dB 60 dB

Dimensions (diameter x height) 9.7 x 4.5 mm 4.0 x 1.5 mm

Price $0.853 $1.90

22

Page 23: Knight’s Wireless Baby Monitor

MICROPHONE:AOM-4544P-2-RMicrophone – This will be put near the bottom of the monitoring unit in order to record the sound of the baby’s breathing. Since the microphone will also detect ambient noise, a band pass filter will be used to correct for this.Specifications:The AOMP4544 has a high SNR and flat, wideband frequency response, resulting in natural sound with high intelligibility

Directivity: Omnidirectional Frequency Response Min: 20Hz Supply Voltage Max: 1.5V Sensitivity (dB): -44dB Drain Current Max: 500µA Output Impedance: 2.2kohm

23

Page 24: Knight’s Wireless Baby Monitor

Microphone Schematic: AOM 45444P-2 Rand and TI 0801 Amplifier

24

Page 25: Knight’s Wireless Baby Monitor

Temperature sensor

25

Smart PhoneApplication

Microprocessor

Alarm Unit

Overall System

CameraPIR Motion sensor MicrophonePIR Temperature sensor

Monitoring Unit

WiFi RF Transceiver

WiFi RF Receiver

Page 26: Knight’s Wireless Baby Monitor

Temperature Sensors:

26

Page 27: Knight’s Wireless Baby Monitor

Why MLX90614DAA ?

Power saving mode Customizable PWM output for continuous

reading Medical accuracy of 0.1°C in a limited

temperature range SMBus compatible digital interface for fast

temperature readings and building sensor networks

High accuracy of 0.5°C over wide temperature range (0..+50 C for both Ta and To)

Infrared thermometer for non contact temperature measurements.

17-bit ADC and powerful DSPResolution of 0.02°C

27

Page 28: Knight’s Wireless Baby Monitor

Wiring the Temp Sensor(I2C

28

Page 29: Knight’s Wireless Baby Monitor

TESTING TEMP SENSOR

29

• MELIXIS 90614

Page 30: Knight’s Wireless Baby Monitor

IR sensor field of view

30

Page 31: Knight’s Wireless Baby Monitor

Monitoring unit

31

Smart PhoneApplication

Microprocessor

Alarm Unit

Overall System

CameraPIR Motion sensor Microphone PIR Temperature sensor

Monitoring Unit

WiFi RF Transceiver

WiFi RF Receiver

Microprocessor

Page 32: Knight’s Wireless Baby Monitor

Atmega328 MSP430 STM32F4 AM3359

Dev Board Arduino Uno MSP430 Launchpad STM32F4 Discovery BeagleBone Black

Speed (MHz) 16 16 168 1 GHz

Language C, Assembly C, Assembly C, C++, Assembly C, C++, C#, Java

Dev Board CostEst. PCB Cost

$35.00$50.00

$9.99$50.00

$14.25$50.00

$45$100+

PWM support Yes Yes Yes Yes

Max Temp. (F) 185 185 221 221

Flash Memory 32kB 16kB 1MB 512 MB

Onboard Camera Support

No No Yes Yes

ARM?? No No YES! =D YES!

32

Microprocessor

Page 33: Knight’s Wireless Baby Monitor

MSP430FG4618 Micro Controller

The MSP430 has a built in clock.

Familiarity with the MSP 430 through embedded systems courses

The MSP has an A/D converter , amplifier switch and Trigger switch built in it.

FREE from TI and the support system

33

Page 34: Knight’s Wireless Baby Monitor

Microprocessor Programming

34

Smart PhoneApplication

Microprocessor

Alarm Unit

Overall System

CameraPIR Motion sensor Microphone PIR Temperature sensor

Monitoring Unit

WiFi RF Transceiver

WiFi RF Receiver

Microprocessor Programming

Page 35: Knight’s Wireless Baby Monitor

Software Requirements

Use the waterfall development process.

Use C languages for the microcontroller programming.

Compare sensor outputs to previous output to identify changes.

Compare sensor outputs to the appropriate sensor parameters and identify signals outside the parameters.

Send sensor outputs to the smart phones when requested.

Send alerts to the alarm unit(s) and smart phone(s).

35

Page 36: Knight’s Wireless Baby Monitor

Software Specifications

Software Specifications

Sample audio every 30 seconds for 2 seconds.

Sample room temperature every 2 seconds and save as previous temperature.

Compare sensor outputs against sensor parameters.

Sound alarm if sensor output is outside parameters.

36

Page 37: Knight’s Wireless Baby Monitor

37

MONITORING UNIT PROGRAMMING

AudioSensor<<signal>>

MotionSensor<<signal>>

TempSensor<<signal>>

Temperature

+currentTemp+high+historyTemp

+compare(param, curr)+getHistory(int)+soundAlarm(alert)

Motion

+motion+noMotion

+motionCall()

Audio

+currentAudio+soundSample+history

+save(audio)+get(audio)+getHistory(time)+sendAudio(index)+record(codedAudio)+soundAlarm(alert)

Alert

+alertType

+processAlert(alert)+off(off)

Communications

+alert

+callMethod(int)+contactAlarm(alert)+off()

WiFi<<signal>>

+packet

+receive(packet)+send(packet)

Page 38: Knight’s Wireless Baby Monitor

38

Three Sensor sequence repeatsseq

Monitor Temp Ambient Body Heat Audio

1 : get()

2 : return() 3 : get()

4 : return() 5 : get()

6 : return()

Page 39: Knight’s Wireless Baby Monitor

Communications

39

Smart PhoneApplication

Microprocessor

Alarm Unit

Overall System

CameraPIR Motion sensor Microphone PIR Temperature sensor

Monitoring Unit

WiFi RF Transceiver

WiFi RF Receiver

Page 40: Knight’s Wireless Baby Monitor

40

Communication Technology

Page 41: Knight’s Wireless Baby Monitor

Wi-Fi

Communicate, and streaming video to the Android App

Readily available in most locations

Greater Range Than Bluetooth

41

Page 42: Knight’s Wireless Baby Monitor

42

Wi-Fi Modules

Page 43: Knight’s Wireless Baby Monitor

Wi-Fi Module: Xbee RN-XV

Transmission Range: 400 ft

Transmit Power: 1.25 to 2 mW

Voltage: 2.1 - 3.6 VDC

Greater Data Rate than Bluetooth

@11/54Mbps 802.11 b/g Protocol

43

Page 44: Knight’s Wireless Baby Monitor

Communication Radio Frequency

44

Smart PhoneApplication

Microprocessor

Alarm Unit

Overall System

CameraPIR Motion sensor Microphone PIR Temperature sensor

Monitoring Unit

WiFi RF Transceiver

WiFi RF Receiver

Page 45: Knight’s Wireless Baby Monitor

Transmitter/ReceiverTransmitter- receives audio/video signal and converts it to modulated radio frequency signal and transmits to receiver over a variety of distances.

Receiver-picks up modulated radio frequency, converts it to original audio/video signal

45

Page 46: Knight’s Wireless Baby Monitor

Module (XBEE PRO)

46

Specifications:•Universal Asynchronous Receiver Transmitter (UART)2.4 GHz ISM Band 250 kbps Max Data Rate

– Secure Data Communication between devices

6o mW output PowerWeight: 39g

Page 47: Knight’s Wireless Baby Monitor

Alarm unit

47

Smart PhoneApplication

Microprocessor

Alarm Unit

Overall System

CameraPIR Motion sensor Microphone PIR Temperature sensor

Monitoring Unit

WiFi RF Transceiver

WiFi RF Receiver

Page 48: Knight’s Wireless Baby Monitor

Xbee #2

• Located up to 40 m from Xbee #1

• Communicates with Xbee #1 and MSP430FG4618

48

Page 49: Knight’s Wireless Baby Monitor

Alarm Unit

49

Alarm Unit

AudioAlarm

VisualAlarm

ReceivingUnit

VibrationMotor

Page 50: Knight’s Wireless Baby Monitor

Alarm Unit LED Visual Alarm

The vibrator motor is perfect for non- audible indicators

Audible Alarm Vibration Motor

50

Page 51: Knight’s Wireless Baby Monitor

Power SupplyVoltage Amps Power

Wi-Fi (XBEE)

2.1 V- 3.6 V

92mA – 270mA

193.2 mW972 mW

Microcontroller

3.3V-5V 150 mA 495 mW750 mW

Camera 3.3 V-5 V 80-100mA 264 mW-500 mW

Transmitter/Receiver

3.3V 215mA 709.5 mW

Buzzer( Audible Alarm)

2.8V 35 mA 98 mW

Buzzer(Vibrator motor)

2.8 V 75 mA 210 mw

LED 1.2V 20 mA 24 mW

51

Page 52: Knight’s Wireless Baby Monitor

Power SupplyRechargeable Batteries, Rechargeable, high energy density battery

Low Cost

lithium-ion battery (Li-ion)

52

Page 53: Knight’s Wireless Baby Monitor

Eagle Schematic

53

Page 54: Knight’s Wireless Baby Monitor

PCB Layout

54

Page 55: Knight’s Wireless Baby Monitor

Android application

55

Smart PhoneApplication

Microprocessor

Alarm Unit

Overall System

CameraPIR Motion sensor Microphone PIR Temperature sensor

Monitoring Unit

WiFi RF Transceiver

WiFi RF Receiver

Page 56: Knight’s Wireless Baby Monitor

Application class diagram

56

Smart Phone Application

On/ Off

+state

+toggle()

Parameters

+temperatureHigh+audioSampleRate

+enterParameter()+changeParameter()+cancel()

Listen

+audioSignal

+playAudio()+recordAudio()

View

+video

+viewVideo()

Page 57: Knight’s Wireless Baby Monitor

Application Interface

57

Knight's Baby Monitor Application

SETPARAMETERSMONITOR

SENSORS

TURNOFF

MONITORVIDEO

MONITORAUDIO

Page 58: Knight’s Wireless Baby Monitor

Application Alert Interface

58

ALERT

Knight's Baby Monitor Application

MONITORSENSORS

TURNOFF

MONITORVIDEO

MONITORAUDIO

Page 59: Knight’s Wireless Baby Monitor

Work loadTeam member Assigned task

Andy Camera

Andy IR motion sensor

Theresa Microphone

Theresa IR temperature sensor

Theresa and Jaouad Microcontroller

Jaouad Communications

Jaouad Power supply & Eagle Schematic

Dan Microcontroller programming

Dan Android smart phone application

59

Page 60: Knight’s Wireless Baby Monitor

60

Parts listParts Quantity Technology Cost

Wi-Fi (XBEE) 1 Roving Networks $35.95

Microcontroller 1 Texas Instruments free

Camera 1 JPEG camera $45

Transmitter/Receiver

1 Roving Networks $22.95

Buzzer( Audible Alarm)

1 Cluinic $9.83

Buzzer(Vibrator motor)

1 Precision Microdrives $4.95

LED 1 Green Technology free

Temperature Sensor

Melaxis $14.31

Microphone 1 Pui Audio $6.95

PIR Motion Sensor

1 Ademco Honeywell $5.95

Power Supplies 2 Sony $4.95

PCB Board 2 OSH parkOSH park $73

Total $223.84

Page 61: Knight’s Wireless Baby Monitor

challenges

Programming Temp Melixis 90614 sensor with MSP430

I2C tie to SMBus

61

Page 62: Knight’s Wireless Baby Monitor

Questions?

62