/
Smart Shower Alex Power, Smart Shower Alex Power,

Smart Shower Alex Power, - PowerPoint Presentation

bety
bety . @bety
Follow
66 views
Uploaded On 2023-10-26

Smart Shower Alex Power, - PPT Presentation

CpE Andres Huertas CpE Luke Gillespie CpE Nicholas Stoll EE Group Introduction Alex Power Software Database API Data Access Andres Huertas Software Android Integration Nicholas Stoll Hardware Power System PCB design ID: 1025118

database shower smart android shower database android smart temperature water 2017 servo flow design software application china 512 hardware

Share:

Link:

Embed:

Download Presentation from below link

Download Presentation The PPT/PDF document "Smart Shower Alex Power," is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.


Presentation Transcript

1. Smart ShowerAlex Power, CpEAndres Huertas, CpELuke Gillespie, CpENicholas Stoll, EE

2. Group IntroductionAlex Power – Software (Database, API, Data Access)Andres Huertas – Software (Android, Integration)Nicholas Stoll – Hardware (Power System, PCB design)Luke Gillespie – Hardware (Embedded Software, Hardware Peripheral Interface)

3. Existing Products/TechnologyU by MoenHydraoEvaDrop

4. THE SMART SHOWER

5. Requirements SpecificationControl water flow and temperatureDisplay water flow and temperature informationProvide local control via an LCD touchscreen interfaceCommunicate wirelessly to external networksMaintain ±5º Fahrenheit accuracyInstallable on existing shower hardwareReach desired temperature within 1 minute (if plumbing allows)Android ApplicationPair with Smart Shower Turn shower on/offControl temperature of waterDisplay water temperatureControl various showersDisplay water statistics Set timer to cut off water flow or change temperatureShower timed turn-on

6. work flow distribution

7. Design Methodology Agile Development MethodologyExtreme ProgrammingWeekly MeetingsTask BoardDivision of labor into discrete modulesWell defined interfaces for decoupling hardware and software modulesAlexLukeNickAndresDatabaseEmbedded SoftwarePCB DesignAndroid UIDatabase APIServo-Shower InterfacePower SystemAndroid HTTP RequestsAndroid Data AcquisitionNextion in-shower UIMechanical DesignAndroid/Shower SyncLabor Module Assignments:

8. THE SMART SHOWER

9. ESP8266Very powerfulSuper cheapDoes everything we needMicrocontrollerOperating FrequencyGPIOSerial PortsSizeIntegrated CommunicationCostESP826680/160 Mhz1625x5 mmWireless 802.11$2ESP828580/160 Mhz1625x5 mmWireless 802.11$6ESP32Up to 240 Mhz3635x6 mmWireless 802.11 , Bluetooth $12328P20 Mhz2327x7 mmNone$2256020 Mhz54214x14None$5MSP430 Series16 MhzUp to 481VariesNone$1-$20RaspberryPi Zero W1 Ghz28165x30 mmWireless 802.11 , Bluetooth $10

10. NEXTION DISPLAYCost effectiveLow overheadGreat design softwareResistive Touch

11. Display INTERFACESensor InformationSystem ControlOther useful information

12. OTHER DISPLAY INTERFACES

13. OTHER DISPLAY INTERFACES

14. Temperature Sensor InterfaceDS18B20 SensorThermal Epoxy½” Coupler fittingModelAccuracy (±°C)Resolution(Bits)Operating Temperature(C)Cost (USD)DS18B200.512-55 to 1251.88DS1822212-55 to 1251.66DS18S200.59-55 to 1002.09DS18250.512-55 to 1251.86MAX318200.512-55 to 851.12DS18S20PAR0.512-55 to 1002.58DS18B20PAR0.512-55 to 1002.40

15. Water flow sensingYF-S201½” fittingWater proof connection

16. SERVO MOUNTSolidworks CAD

17. SERVO MOUNT cont.

18. Schematic design

19. 6.5V3.3V & 5V

20. ESP8266 - F

21. DC INSensor I/O

22. Circuit board designDesigned in KiCAD and modeledManufactured by OSH Park on 3oz. FR4 fiberglass boardAssembled by hand with surface mount and through hole components

23. Software design model

24. Android Application ui – Splash/Sync

25. Android Application ui – Home Screen

26. Android Application ui – Settings

27. Android Application ui – Water Stats

28. Android Application ui – Alarm Clock

29. Temperature Control AlgorithmBasic overviewLearns which servo positions produce what temperatures

30. ESP WEB APIAllows communication between MCU and Android + Alexa

31. Alexa IntegrationNatural Interaction Most functionality implemented“Alexa, tell smart shower to change temperature to 104”

32. Software ArchitectureClient-server architectureThe android application acts as a clientThe database is a serverThe smart shower acts as both

33. Database & database APIWe will use a database to store the user’s shower use informationThe database will be accessed by both the smart shower app and the smart shower through a web APIMicrosoft SQL Server 2014ASP.NET Web API

34. Database DesignRelational Database DesignAggregate 1-to-many relationshipsEach table represents an object

35. API DesignThe ASP.NET Web API will use HTTP requests to retrieve, update, and insert data in the databaseData insertion and update requires JSON payload using HTTP POST callsRESTful design Client-serverStatelessCacheableUniform InterfaceEndpoints for SmartShower and FlowData as well as Shower database tablesURL EndpointHTTP MethodCRUD MethodFunctionShowersGETREADGet all showersShowers/IDGETREADGet specific showerShowersPOSTCREATEAdd a ShowerShowers/IDPUTUPDATEUpdate a specific showerShowers/IDDELETEDELETEDelete a specific shower

36. Budgeting and FinanceItemQuantityDate PurchasedCostSellerJX PDI-6221MG 20KG Large Torque Digital Standard Servo 360 Degree x112/3/2017$1.65Banggood(China)3.5 Inch Nextion Display - NX4832T035 22/3/2017$32.66DirectVoltage(US)ESP8266 Dev Boards22/3/2017$12.00Banggood(China)Hall Effect Water Flow Sensor YF-S201 x332/3/2017$13.22Banggood(China)DS3218 20KG Servo 270 Degree x112/3/2017$10.97Banggood(China)DS3218 20KG Servo 270 Degree x114/25/2017$10.97Banggood(China)YFS201C104/02/2017$4.00eBayPCB components3 (sets)4/7/2017$38.72MouserMain PCB3 4/10/17$35.45OSH ParkTotal$217.30

37. Testing Agile methodology has led to Unit TestingFunctional TestingAcceptance Testing before deliveryHardwarePower TestingPCB TestingPeripheral TestingSoftwareEmbedded SoftwareUIServo and Temperature ControlInternet ControlPhone PairingMobile ApplicationPairingSettingsModifying TemperatureTimerWater Consumption

38. Potential ComplicationsWater Proofing the Main Control HousingMechanical strength of the valve componentsWireless signal strength in bathrooms

39. Future PlansSmart Shower head with flow controlBath integrationHardware PWM servo controlHigher Quality LCD interface

40. Time Line and milestones

41. PROGRESS

42. Questions?

43. Video Demohttps://www.youtube.com/watch?v=vnjjWbLNe3M