59
Sonca Teng, Michael Hou, Kwang-young Lee, Aaron Marcano Wirelessly Networked Faucet and Showerhead System ENSC 440 Capstone Project Spring 2010

Sonca Teng, Michael Hou, Kwang-young Lee, Aaron Marcano Wirelessly Networked Faucet and Showerhead System ENSC 440 Capstone Project Spring 2010

Embed Size (px)

Citation preview

Page 1: Sonca Teng, Michael Hou, Kwang-young Lee, Aaron Marcano Wirelessly Networked Faucet and Showerhead System ENSC 440 Capstone Project Spring 2010

Sonca Teng, Michael Hou, Kwang-young Lee, Aaron Marcano

Wirelessly Networked Faucet and Showerhead System

ENSC 440 Capstone Project Spring 2010

Page 2: Sonca Teng, Michael Hou, Kwang-young Lee, Aaron Marcano Wirelessly Networked Faucet and Showerhead System ENSC 440 Capstone Project Spring 2010

2

Outline

1. Who We Are2. Motivation3. Project Overview4. Hardware5. Software6. Budget & Timeline7. Future Development8. Business Plan

Page 3: Sonca Teng, Michael Hou, Kwang-young Lee, Aaron Marcano Wirelessly Networked Faucet and Showerhead System ENSC 440 Capstone Project Spring 2010

3

Outline

1. Who We Are2. Motivation3. Project Overview4. Hardware5. Software6. Budget & Timeline7. Future Development8. Business Plan

Page 4: Sonca Teng, Michael Hou, Kwang-young Lee, Aaron Marcano Wirelessly Networked Faucet and Showerhead System ENSC 440 Capstone Project Spring 2010

4

Who We Are

The Team:CEO : SoncaTengProject Lead | Electronics Design | Wireless Development

COO: Michael HouSoftware Integration | Mechanical Design | Solidworks Modeler

CFO : Kwang-young LeeFinance Manager | Software Lead | LCD and Flow Sensor Programming

CTO : Aaron MarcanoSystems Integration | Lead Wireless System Developer | Team Motivator

Page 5: Sonca Teng, Michael Hou, Kwang-young Lee, Aaron Marcano Wirelessly Networked Faucet and Showerhead System ENSC 440 Capstone Project Spring 2010

5

Outline

1. Who We Are2. Motivation3. Project Overview4. Hardware5. Software6. Budget & Timeline7. Future Development8. Business Plan

Page 6: Sonca Teng, Michael Hou, Kwang-young Lee, Aaron Marcano Wirelessly Networked Faucet and Showerhead System ENSC 440 Capstone Project Spring 2010

6

Motivation

Currently in California there are mandatory water restrictions because voluntary conservation efforts have proved insufficient

“no restaurant [..] shall serve drinking water to any person unless expressly requested.”

City of Los Angeles Emergency Water Conservation Plan Effective 8-11-09

Page 7: Sonca Teng, Michael Hou, Kwang-young Lee, Aaron Marcano Wirelessly Networked Faucet and Showerhead System ENSC 440 Capstone Project Spring 2010

7

Microflow System Overview

• Water is a scarce resource, whether people choose to act accordingly or not

• We choose to do something about this

• Help people see how much water they waste on a day to day basis by putting the information in front of them

• Guide people toward responsible water usage with our solution

Page 8: Sonca Teng, Michael Hou, Kwang-young Lee, Aaron Marcano Wirelessly Networked Faucet and Showerhead System ENSC 440 Capstone Project Spring 2010

8

Microflow System Overview

• Two emerging groups in this world– In areas where there is a genuine shortage of water and

there is a need for personal usage monitoring– In areas where people are socially inclined to be (or

appear to be) environmentally consciencious

• With our proposed solution, we cater to both groups– We will now demonstrate how

Page 9: Sonca Teng, Michael Hou, Kwang-young Lee, Aaron Marcano Wirelessly Networked Faucet and Showerhead System ENSC 440 Capstone Project Spring 2010

9

Existing Solution

• Right now what you can do is run outside and look at your water meter– Difficult to read a water meter– Very inconvenient and most would not bother– Is not viewable in real-time– Combines all water usage, including that which is not under your

control• Ie. Usage of washing machine, flushing toilets, etc

Page 10: Sonca Teng, Michael Hou, Kwang-young Lee, Aaron Marcano Wirelessly Networked Faucet and Showerhead System ENSC 440 Capstone Project Spring 2010

10

The Microflow Solution

• The Microflow Solution– A wirelessly linked system of faucets and showerheads around the

household– Microflow faucets and showerheads are drop-in replacements to

be purchased right off the shelf next to existing units at Home Depot or Rona

– Single unit will show you water usage in real time– More than one unit: will wirelessly link and show a network total in

addition

Page 11: Sonca Teng, Michael Hou, Kwang-young Lee, Aaron Marcano Wirelessly Networked Faucet and Showerhead System ENSC 440 Capstone Project Spring 2010

11

The Microflow Solution

Page 12: Sonca Teng, Michael Hou, Kwang-young Lee, Aaron Marcano Wirelessly Networked Faucet and Showerhead System ENSC 440 Capstone Project Spring 2010

12

The Microflow Solution

Page 13: Sonca Teng, Michael Hou, Kwang-young Lee, Aaron Marcano Wirelessly Networked Faucet and Showerhead System ENSC 440 Capstone Project Spring 2010

13

Video Demo - Introduction

Page 14: Sonca Teng, Michael Hou, Kwang-young Lee, Aaron Marcano Wirelessly Networked Faucet and Showerhead System ENSC 440 Capstone Project Spring 2010

14

Outline

1. Who We Are2. Motivation3. Project Overview4. Hardware5. Software6. Budget & Timeline7. Future Development8. Business Plan

Page 15: Sonca Teng, Michael Hou, Kwang-young Lee, Aaron Marcano Wirelessly Networked Faucet and Showerhead System ENSC 440 Capstone Project Spring 2010

15

System Overview

Page 16: Sonca Teng, Michael Hou, Kwang-young Lee, Aaron Marcano Wirelessly Networked Faucet and Showerhead System ENSC 440 Capstone Project Spring 2010

16

High Level System Design

Page 17: Sonca Teng, Michael Hou, Kwang-young Lee, Aaron Marcano Wirelessly Networked Faucet and Showerhead System ENSC 440 Capstone Project Spring 2010

17

Outline

1. Who We Are2. Motivation3. Project Overview4. Hardware5. Software6. Budget & Timeline7. Future Development8. Business Plans

Page 18: Sonca Teng, Michael Hou, Kwang-young Lee, Aaron Marcano Wirelessly Networked Faucet and Showerhead System ENSC 440 Capstone Project Spring 2010

18

Faucet

• Start with generic Home Depot faucet as base

• Watertight LCD enclosure

• In-line flow sensor

• Controller / transceiver enclosure

Page 19: Sonca Teng, Michael Hou, Kwang-young Lee, Aaron Marcano Wirelessly Networked Faucet and Showerhead System ENSC 440 Capstone Project Spring 2010

19

Showerhead

Page 20: Sonca Teng, Michael Hou, Kwang-young Lee, Aaron Marcano Wirelessly Networked Faucet and Showerhead System ENSC 440 Capstone Project Spring 2010

20

Page 21: Sonca Teng, Michael Hou, Kwang-young Lee, Aaron Marcano Wirelessly Networked Faucet and Showerhead System ENSC 440 Capstone Project Spring 2010

21

Page 22: Sonca Teng, Michael Hou, Kwang-young Lee, Aaron Marcano Wirelessly Networked Faucet and Showerhead System ENSC 440 Capstone Project Spring 2010

22

Microcontroller

• Control All Other Components

• Low Power Consumption

• Easy to Program and Use

• CHEAP!

Page 23: Sonca Teng, Michael Hou, Kwang-young Lee, Aaron Marcano Wirelessly Networked Faucet and Showerhead System ENSC 440 Capstone Project Spring 2010

23

Microcontroller

• Control LCD Module (I/O)

• Receive Input from Flow Sensor (Interrupt0)

• Control Wireless Transceiver (SPI)

INITIALIZATION

DISPLAY LCDCURRENT

VALUE

NETWORK VALUE

AVAILABLE?

DISPLAY LCDNETWORK

VALUE

Y

N

RESET OR START-UP

INTERRUPTFLOW

SENSOR

INTERRUPTTRANSCEIVER

Page 24: Sonca Teng, Michael Hou, Kwang-young Lee, Aaron Marcano Wirelessly Networked Faucet and Showerhead System ENSC 440 Capstone Project Spring 2010

24

LCD Display

• 2 x 16 Character Display

• Controlled by the Microcontroller (4-bit)

• Controllable LED Backlight

Page 25: Sonca Teng, Michael Hou, Kwang-young Lee, Aaron Marcano Wirelessly Networked Faucet and Showerhead System ENSC 440 Capstone Project Spring 2010

25

User Interface

• During Water Usage

• After 10 Second Delay

• Also Programmable for American Market:Fluid OZ, Gallon Display

Session: 233 mLNetwork: 14.79 L

Total: 4.33 LNetwork: 14.79 L

Session: 439 ozNetwork: 10.52 g

Total: 2.16 gNetwork: 10.52 g

Page 26: Sonca Teng, Michael Hou, Kwang-young Lee, Aaron Marcano Wirelessly Networked Faucet and Showerhead System ENSC 440 Capstone Project Spring 2010

26

Sub parts –Flow Sensor• Hall-effect Sensor

Attached to Turbine In Stream

• Limited Flow Range• Fixed Number of Pulses

Per Liter (or Gallon)• N=2200 Pulses/Liter

(8300 Pulses/Gallon)

Page 27: Sonca Teng, Michael Hou, Kwang-young Lee, Aaron Marcano Wirelessly Networked Faucet and Showerhead System ENSC 440 Capstone Project Spring 2010

Sub parts – Transceiver

• Wireless Transceiver– MiWi™

– Zigbee™

• Connected to Microcontroller via SPI

Page 28: Sonca Teng, Michael Hou, Kwang-young Lee, Aaron Marcano Wirelessly Networked Faucet and Showerhead System ENSC 440 Capstone Project Spring 2010

28

Outline

1. Who We Are2. Motivation3. Project Overview4. Hardware5. Software6. Budget & Timeline7. Future Development8. Business Plans

Page 29: Sonca Teng, Michael Hou, Kwang-young Lee, Aaron Marcano Wirelessly Networked Faucet and Showerhead System ENSC 440 Capstone Project Spring 2010

Software

• Initialization– LCD– Transceiver– Flow Sensor

• Transceiver Mode

Page 30: Sonca Teng, Michael Hou, Kwang-young Lee, Aaron Marcano Wirelessly Networked Faucet and Showerhead System ENSC 440 Capstone Project Spring 2010

Transmission Format

• Source Address – Used to Identify Node• Payload

– Format• Water Usage Data• TimeStamp• CheckSum

Page 31: Sonca Teng, Michael Hou, Kwang-young Lee, Aaron Marcano Wirelessly Networked Faucet and Showerhead System ENSC 440 Capstone Project Spring 2010

Transmission Format

• Message Received• Calculate and Verify Checksum• After Checksum, Check Format• After Format, Check Received Water Usage

Data• If Same as Old, Ignore. If New, Update.

Page 32: Sonca Teng, Michael Hou, Kwang-young Lee, Aaron Marcano Wirelessly Networked Faucet and Showerhead System ENSC 440 Capstone Project Spring 2010

Potential Network Problems

• Lost Power, and Reset– Transceiver Will Reconnect to Network

• Receiving Node Out of Range– Indirect Messaging as Potential Solution

• Receiving Bad or Incorrect Messages– Check Consistency of Data and Ignore If Bad

Page 33: Sonca Teng, Michael Hou, Kwang-young Lee, Aaron Marcano Wirelessly Networked Faucet and Showerhead System ENSC 440 Capstone Project Spring 2010

Potential Network Improvements

• Enhanced Network Security– Encoded Message Using CRC and Encryption

• Increased Range– Device Hopping.

Page 34: Sonca Teng, Michael Hou, Kwang-young Lee, Aaron Marcano Wirelessly Networked Faucet and Showerhead System ENSC 440 Capstone Project Spring 2010

Video Demo - Installation

Page 35: Sonca Teng, Michael Hou, Kwang-young Lee, Aaron Marcano Wirelessly Networked Faucet and Showerhead System ENSC 440 Capstone Project Spring 2010

Video Demo – Network Update

Page 36: Sonca Teng, Michael Hou, Kwang-young Lee, Aaron Marcano Wirelessly Networked Faucet and Showerhead System ENSC 440 Capstone Project Spring 2010

Video Demo – Test 1

Page 37: Sonca Teng, Michael Hou, Kwang-young Lee, Aaron Marcano Wirelessly Networked Faucet and Showerhead System ENSC 440 Capstone Project Spring 2010

Video Demo – Test 2 Simultaneous Update

Page 38: Sonca Teng, Michael Hou, Kwang-young Lee, Aaron Marcano Wirelessly Networked Faucet and Showerhead System ENSC 440 Capstone Project Spring 2010

Video Demo – Accuracy Test

Page 39: Sonca Teng, Michael Hou, Kwang-young Lee, Aaron Marcano Wirelessly Networked Faucet and Showerhead System ENSC 440 Capstone Project Spring 2010

39

Further Applications

• Cooking

• Gardening, Lawn Watering

• Industrial Use, Leak Detection, Municipal Monitoring

• Suite management for Landlords

Page 40: Sonca Teng, Michael Hou, Kwang-young Lee, Aaron Marcano Wirelessly Networked Faucet and Showerhead System ENSC 440 Capstone Project Spring 2010

40

Outline

1. Who We Are2. Motivation3. Project Overview4. Hardware5. Software6. Budget & Timeline7. Future Development8. Business Plan

Page 41: Sonca Teng, Michael Hou, Kwang-young Lee, Aaron Marcano Wirelessly Networked Faucet and Showerhead System ENSC 440 Capstone Project Spring 2010

Proposed Budget

Part Name Number of Units Individual Cost Total Cost

Mechanical PartsOMEGA Flow Sensor (FTB2004) 3 95.00 285.00RONA Faucets 3 25.00 75.00Various Fittings, Hoses, Tubes, Clamps 1 40.00 40.00Electronic Parts MICROCHIP 16bit PIC (PIC24F16KA102) 3 2.00 6.00MICROCHIP RF Module (MRF24J40) 3 20.00 60.00MICROCHIP PIC Programmer (PICkit 3 ICD) 1 50.00 50.00MICROCHIP RF Dev Board (PICDEM Z) 1 110.00 110.00NEWHAVEN 2x16 LCD 3 15.00 45.00Miscellaneous Parts 1 50.00 50.00Taxes & Shipping 1 100.00 100.00TOTAL $821.00

Page 42: Sonca Teng, Michael Hou, Kwang-young Lee, Aaron Marcano Wirelessly Networked Faucet and Showerhead System ENSC 440 Capstone Project Spring 2010

Actual Cost - MechanicalPART SUPPLIER PIECES PRICE PER UNIT UNIT TAX SHIPPING TOTAL

MechanicalRONA 4IN FAUCET RONA 2 $22.98 CAD $5.52 $0.00 $51.481/4" Hose RONA 1 $4.54 CAD $0.54 $0.00 $5.081/4" Hose Clamp RONA 4 $0.68 CAD $0.33 $0.00 $3.053/8FNPT to Hose Barb Fittings McMaster 1 $9.45 US $0.00 $0.00 $9.45FLOW RATE SENSOR OMEGA.CA 3 $92.00 CAD $14.40 $12.00 $302.40ShowerHead HomeDepot 1 $17.49 CAD $0.00 $0.00 $17.49Showerhead Base HomeDepot 1 $15.47 CAD $3.96 $0.00 $19.43Vinyl Tubing HomeDepot 1 $4.49 CAD $0.53 $0.00 $5.021/2MIP to 3/8 Fitting HomeDepot 1 $3.49 CAD $0.00 $0.00 $3.49BR. Reducer HomeDepot 1 $4.49 CAD $0.96 $0.00 $5.45Plexiglass 3/8" thickness HomeDepot 1 $5.00 CAD $0.00 $0.00 $5.004" FAUCET HomeDepot 1 $22.98 CAD $2.76 $0.00 $25.74Hose Clamps HomeDepot 2 $0.66 CAD $0.00 $0.00 $1.32Teflon Tape HomeDepot 1 $0.69 CAD $0.00 $0.00 $0.691/4 Copper Coupling HomeDepot 1 $0.74 CAD $0.00 $0.00 $0.743/8 Copper Coupling HomeDepot 1 $0.84 CAD $0.00 $0.00 $0.84Braided Hose for Faucet HomeDepot 3 $6.99 CAD $4.75 $0.00 $25.72

Page 43: Sonca Teng, Michael Hou, Kwang-young Lee, Aaron Marcano Wirelessly Networked Faucet and Showerhead System ENSC 440 Capstone Project Spring 2010

Actual Cost - ElectornicsPART SUPPLIER PIECES PRICE PER UNIT UNIT TAX SHIPPING TOTAL

ElectricalZENA Network Analyzer Digikey 1 $147.27 CAD $0.00 $0.00 $147.270.10microF Capacitors Digikey 10 $0.08 CAD $7.80 $8.00 $16.55RF Transceiver Modules Digikey 3 $21.47 CAD $0.00 $0.00 $64.41PICKit3 PIC Programmer Digikey 1 $50.93 CAD $0.00 $0.00 $50.93PICDEM Z MotherBoard Digikey 1 $101.95 CAD $10.86 $0.00 $112.81RJ11 Programmer Cable Digikey 1 $11.32 CAD $0.00 $0.00 $11.323.3V Voltage Regulators Digikey 3 $1.82 CAD $0.00 $0.00 $5.4610microF Capacitors Digikey 5 $0.35 CAD $0.00 $0.00 $1.749V Battery Holder Digikey 3 $1.50 CAD $1.55 $8.00 $14.05PICDEM Z MotherBoard Return Digikey 1 -$101.95 CAD -$5.10 $16.52 -$90.53LCD Display Green NewHeaven Display 3 $16.00 CAD $0.00 12.16 $60.16PICDEM Z Board Connector Digikey 1 $20.86 CAD $0.00 $0.00 $20.86Diode 20V 1A Digikey 4 $0.46 CAD $0.00 $0.00 $1.84Radial Inductor 100uH 1A Digikey 4 $0.66 CAD $0.00 $0.00 $2.64100uF 6.3V Mini Alum Elect Digikey 10 $0.11 CAD $1.72 $8.00 $10.83New Switching Regulators Maxim 1 $0.00 CAD $0.00 $15.00 $15.00New Switching Regulators Maxim 3 $2.50 US $0.00 $0.00 $7.50The Letter Carrier Service Charge The Letter Carrier 5 $4.00 US $0.00 $0.00 $20.005V Linear Voltage Regulators RPElectronics 3 $1.25 CAD $0.00 $0.00 $3.75Double Row Header RPElectronics 1 $1.70 CAD $0.00 $0.65 $2.35Miscellaneous RPElectronics 1 $20.00 CAD $0.00 $0.00 $20.006-Pack 9V Batteries HomeDepot 1 $14.99 CAD $0.00 $0.00 $14.99

Page 44: Sonca Teng, Michael Hou, Kwang-young Lee, Aaron Marcano Wirelessly Networked Faucet and Showerhead System ENSC 440 Capstone Project Spring 2010

Actual Cost - Individual

Aaron Marcano Kwang-young Lee Michael Hou Sonca Teng$0.00

$100.00

$200.00

$300.00

$400.00

$500.00

$600.00

$700.00

Page 45: Sonca Teng, Michael Hou, Kwang-young Lee, Aaron Marcano Wirelessly Networked Faucet and Showerhead System ENSC 440 Capstone Project Spring 2010

Cost Summary

• Total:– $876.56

• $50 Over-Run• Shipping• Failed Devices and Their Replacements• Network Analyzer• Extra Showerhead Design and Implementation

Page 46: Sonca Teng, Michael Hou, Kwang-young Lee, Aaron Marcano Wirelessly Networked Faucet and Showerhead System ENSC 440 Capstone Project Spring 2010

46

External Funding

• ESSEF Funding– Presented Idea To ESSS Execs– Received $400. Used to Order More Parts

• Witen Fund?– Provide Additional Funding for the Project– Apply After the Project is Complete

Page 47: Sonca Teng, Michael Hou, Kwang-young Lee, Aaron Marcano Wirelessly Networked Faucet and Showerhead System ENSC 440 Capstone Project Spring 2010

Timeline - Proposed

Page 48: Sonca Teng, Michael Hou, Kwang-young Lee, Aaron Marcano Wirelessly Networked Faucet and Showerhead System ENSC 440 Capstone Project Spring 2010

Timeline - Actual

Research

Evaluate Design and Op-timize

Project Proposal

Buying Parts

Function Specification

Hardware Integration

Progress Report Presenta-tion

Software Development

Design Specification

Written Progress Report

Demo Presentation

Document and Journal

Post Mortem

Jan-10 Feb-10 Mar-10 Apr-10

Page 49: Sonca Teng, Michael Hou, Kwang-young Lee, Aaron Marcano Wirelessly Networked Faucet and Showerhead System ENSC 440 Capstone Project Spring 2010

49

Outline

1. Who We Are2. Motivation3. Project Overview4. Hardware5. Software6. Budget & Timeline7. Future Development8. Business Plan

Page 50: Sonca Teng, Michael Hou, Kwang-young Lee, Aaron Marcano Wirelessly Networked Faucet and Showerhead System ENSC 440 Capstone Project Spring 2010

50

Future Development

Page 51: Sonca Teng, Michael Hou, Kwang-young Lee, Aaron Marcano Wirelessly Networked Faucet and Showerhead System ENSC 440 Capstone Project Spring 2010

51

Future Work

• Custom flow sensors (high flow / high accuracy)

• Memory chip to store daily / weekly / monthly usage

• Flow management software

Page 52: Sonca Teng, Michael Hou, Kwang-young Lee, Aaron Marcano Wirelessly Networked Faucet and Showerhead System ENSC 440 Capstone Project Spring 2010

52

Future Work

• Use of switching regulators vs linear regulators currently in use

• 90% efficient vs 50%• Reliability (heat generation)• Halved battery power consumption• Battery use efficiency with step-up voltage

regulators• Further revisions to software to support shutting off LCD backlight, and putting PIC controller and wireless transceivers into sleep mode

Page 53: Sonca Teng, Michael Hou, Kwang-young Lee, Aaron Marcano Wirelessly Networked Faucet and Showerhead System ENSC 440 Capstone Project Spring 2010

53

Outline

1. Who We Are2. Motivation3. Project Overview4. Hardware5. Software6. Budget & Timeline7. Future Development8. Business Plan

Page 54: Sonca Teng, Michael Hou, Kwang-young Lee, Aaron Marcano Wirelessly Networked Faucet and Showerhead System ENSC 440 Capstone Project Spring 2010

54

Business Plan

• Immediately apply for provisional patent

• Conduct extensive market research

• Present at trade shows

• Speak to building developers, see what features are in demand– See if they would like to install these for demonstration run

• Contact retail chains such as Costco and Home Depot to gauge demand

• Speak to incumbents, attempt to negotiate IP / manufacturing agreement

Page 55: Sonca Teng, Michael Hou, Kwang-young Lee, Aaron Marcano Wirelessly Networked Faucet and Showerhead System ENSC 440 Capstone Project Spring 2010

55

What we learned!

• Communication is key

• Ask questions

• Talk to component manufacturers, they give great advice and sometimes they give things for free

• Plan for the worst, because things won’t go as planned• Suppliers may let you down (Ie PCB manufacturer), must have backup

plans

Page 56: Sonca Teng, Michael Hou, Kwang-young Lee, Aaron Marcano Wirelessly Networked Faucet and Showerhead System ENSC 440 Capstone Project Spring 2010

One More Thing…

Page 57: Sonca Teng, Michael Hou, Kwang-young Lee, Aaron Marcano Wirelessly Networked Faucet and Showerhead System ENSC 440 Capstone Project Spring 2010

Conclusion

The Verdict….

Page 58: Sonca Teng, Michael Hou, Kwang-young Lee, Aaron Marcano Wirelessly Networked Faucet and Showerhead System ENSC 440 Capstone Project Spring 2010

Questions

?

Page 59: Sonca Teng, Michael Hou, Kwang-young Lee, Aaron Marcano Wirelessly Networked Faucet and Showerhead System ENSC 440 Capstone Project Spring 2010

Bloopers