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

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

Embed Size (px)

Citation preview

Knight’s Wireless Baby Monitor

Keeping our babies safe!

1

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

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

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

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

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

sensor•Move too often•Don’t move

•Move too often•Don’t move

cell phonemotion sensor

Buzzer

24 hours

Induction distance

Size

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

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

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

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.

Connect to the board

Microcontroller

Microcontroller

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

Camera

24 hours

Definition

Small No flashing

Small Definition 24hours No flashing XBee

SEN-10061 32x32mm 2 mega yes yes Directly

Raspberry Pi 25x20mm 5 mega yes Pi noir No

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

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

Connect Together

Line Color Port

Red VDD

Black GND

Yellow TXD

Green RXD

Software

ISPY

•Add the Camera to the ispy

•To virtually video source

•Assigned an IP address

Third party soft ware

IP Cam Viewer

Good Compatibility

Stability

Free

IP Webcam

IP CAM Controller

Reecam IP Camera

Microphone

21

Smart PhoneApplication

Microprocessor

Alarm Unit

Overall System

CameraPIR Motion sensor Microphone PIR Temperature sensor

Monitoring Unit

WiFi RF Transceiver

WiFi RF Receiver

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

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

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

24

Temperature sensor

25

Smart PhoneApplication

Microprocessor

Alarm Unit

Overall System

CameraPIR Motion sensor MicrophonePIR Temperature sensor

Monitoring Unit

WiFi RF Transceiver

WiFi RF Receiver

Temperature Sensors:

26

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

Wiring the Temp Sensor(I2C

28

TESTING TEMP SENSOR

29

• MELIXIS 90614

IR sensor field of view

30

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

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

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

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

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

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

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)

38

Three Sensor sequence repeatsseq

Monitor Temp Ambient Body Heat Audio

1 : get()

2 : return() 3 : get()

4 : return() 5 : get()

6 : return()

Communications

39

Smart PhoneApplication

Microprocessor

Alarm Unit

Overall System

CameraPIR Motion sensor Microphone PIR Temperature sensor

Monitoring Unit

WiFi RF Transceiver

WiFi RF Receiver

40

Communication Technology

Wi-Fi

Communicate, and streaming video to the Android App

Readily available in most locations

Greater Range Than Bluetooth

41

42

Wi-Fi Modules

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

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

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

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

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

Xbee #2

• Located up to 40 m from Xbee #1

• Communicates with Xbee #1 and MSP430FG4618

48

Alarm Unit

49

Alarm Unit

AudioAlarm

VisualAlarm

ReceivingUnit

VibrationMotor

Alarm Unit LED Visual Alarm

The vibrator motor is perfect for non- audible indicators

Audible Alarm Vibration Motor

50

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

Power SupplyRechargeable Batteries, Rechargeable, high energy density battery

Low Cost

lithium-ion battery (Li-ion)

52

Eagle Schematic

53

PCB Layout

54

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

Application class diagram

56

Smart Phone Application

On/ Off

+state

+toggle()

Parameters

+temperatureHigh+audioSampleRate

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

Listen

+audioSignal

+playAudio()+recordAudio()

View

+video

+viewVideo()

Application Interface

57

Knight's Baby Monitor Application

SETPARAMETERSMONITOR

SENSORS

TURNOFF

MONITORVIDEO

MONITORAUDIO

Application Alert Interface

58

ALERT

Knight's Baby Monitor Application

MONITORSENSORS

TURNOFF

MONITORVIDEO

MONITORAUDIO

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

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

challenges

Programming Temp Melixis 90614 sensor with MSP430

I2C tie to SMBus

61

Questions?

62