DIGITAL SHOWER CONTROLLER BY NATHAN GARNER KASUN KUMARAGE
CONTENTS GOALS GOALS INITIAL DESIGN INITIAL DESIGN TECHNICAL DESCRIPTION TECHNICAL DESCRIPTION BLOCK DIAGRAM BLOCK DIAGRAM OVERALL CIRCUIT DIAGRAM OVERALL CIRCUIT DIAGRAM POWER REGULATOR POWER REGULATOR COMPONENTS COMPONENTS SOFTWARE FLOW CHART SOFTWARE FLOW CHART COST COST FUTURE IMPROVEMENTS FUTURE IMPROVEMENTS CONCLUSIONS CONCLUSIONS FUTURE CONSIDERATIONS FUTURE CONSIDERATIONS
GOALS TAKE USER INPUT TO CONTROL THE TEMPERATURE OF A SHOWER TAKE USER INPUT TO CONTROL THE TEMPERATURE OF A SHOWER OFFER CONVENIENCES TO THE USER THAT CONVENTIONAL SYSTEMS CANNOT OFFER CONVENIENCES TO THE USER THAT CONVENTIONAL SYSTEMS CANNOT AUTOMATICALLY AND ACCURATELY MAINTAIN DESIRED TEMPERATURE AUTOMATICALLY AND ACCURATELY MAINTAIN DESIRED TEMPERATURE FOUR PROGRAMMABLE PRESET BUTTONS FOUR PROGRAMMABLE PRESET BUTTONS ALLOW FOR USER TO ADJUST DESIRED TEMPERATURE DEPENDING ON DAILY PREFERENCE ALLOW FOR USER TO ADJUST DESIRED TEMPERATURE DEPENDING ON DAILY PREFERENCE
INITIAL DESIGN ARDUINO UNO ARDUINO UNO PIN EXPANSION PIN EXPANSION ELECTRONIC FLOW CONTROL VALVES ELECTRONIC FLOW CONTROL VALVES CAPACITIVE TOUCH SCREEN CAPACITIVE TOUCH SCREEN DIAL INPUT TO ADJUST TEMPERATURE DIAL INPUT TO ADJUST TEMPERATURE
TECHNICAL DESCRIPTION Temperature Sensor Servo Motor Solenoid Valve User Interface Takes user input Gets readings from temperature sensors Tells servo which direction to turn depending on current temperature reading and desired temperature reading Temperature Sensors One on each water output to read temperatures Servo Motor Turns the rough in valve to control the hot/cold water mixture Solenoid Valve Normally closed Opens when user selects bath
BLOCK DIAGRAM
OVERALL CIRCUIT DIAGRAM ELECTRICAL CIRCUIT SCHEMATIC ELECTRICAL CIRCUIT SCHEMATIC VOLTAGE REGULATOR VOLTAGE REGULATOR DARLINGTON PAIR TRANSISTOR TO CONTROL SOLENOID VALVE DARLINGTON PAIR TRANSISTOR TO CONTROL SOLENOID VALVE
POWER REGULATOR WE USED THE LM7805 VOLTAGE REGULATOR WE USED THE LM7805 VOLTAGE REGULATOR 12V 2A REGULATED INPUT SUPPLY 12V 2A REGULATED INPUT SUPPLY 5V OUTPUT VOLTAGE 5V OUTPUT VOLTAGE TWO CAPACITORS AT THE INPUT AND OUTPUT OF THE LM7805 TWO CAPACITORS AT THE INPUT AND OUTPUT OF THE LM7805 REDUCES NOISE INTO AND OUT OF LM7805 REDUCES NOISE INTO AND OUT OF LM7805 INCREASES EFFICIENCY OF VOLTAGE REGULATOR INCREASES EFFICIENCY OF VOLTAGE REGULATOR
COMPONENTS SAINSMART MEGA2560 SAINSMART MEGA2560 ATMEGA2560 MICROPROCESSOR ATMEGA2560 MICROPROCESSOR 5V SUPPLY VOLTAGE 5V SUPPLY VOLTAGE 54 DIGITAL I/O PINS 54 DIGITAL I/O PINS 16 ANALOG PINS 16 ANALOG PINS 16MHZ 16MHZ
COMPONENTS LCD SCREEN 2X16 CHARACTER DISPLAY RGB BACKLIGHT CONTRAST CONTROLLED BY PWM
COMPONENTS WATERPROOF TEMPERATURE SENSOR (DS18B20) WATERPROOF TEMPERATURE SENSOR (DS18B20) ±0.5°C ACCURACY ±0.5°C ACCURACY -55°C TO 125°C RANGE -55°C TO 125°C RANGE DALLAS SEMICONDUCTORS 1 WIRE INTERFACE DALLAS SEMICONDUCTORS 1 WIRE INTERFACE SIMILAR TO I2C SIMILAR TO I2C SLOWER BUT LONGER RANGE SLOWER BUT LONGER RANGE
COMPONENTS DIGITAL SERVO MOTOR DIGITAL SERVO MOTOR WATERPROOF WATERPROOF 5V INPUT 5V INPUT 125 OZ-IN TORQUE (0.651 LB-FT) 125 OZ-IN TORQUE (0.651 LB-FT) 140 DEGREES RANGE 140 DEGREES RANGE SOLENOID VALVE SOLENOID VALVE NORMALLY CLOSED NORMALLY CLOSED 12V 12V 2W 2W CONTROLLED BY TIP 120 CONTROLLED BY TIP 120
SOFTWARE FLOW CHART
COST PartsCost Sainsmart Mega12.70 LCD Screen14.95 Temperature Sensors19.90 Push Buttons4.00 Servo Motor46.00 Solenoid Valve19.00 Total116.55
FUTURE IMPROVEMENTS ADD A TOUCH SCREEN GUI TO OUR DESIGN ADD A TOUCH SCREEN GUI TO OUR DESIGN INTEGRATE SPEAKERS AND BLUETOOTH TO CONNECT TO WIRELESS DEVICES AND HOME AUTOMATION SYSTEM INTEGRATE SPEAKERS AND BLUETOOTH TO CONNECT TO WIRELESS DEVICES AND HOME AUTOMATION SYSTEM REPLACE THE SERVO DRIVEN VALVE WITH AN ELECTRIC FLOW CONTROL VALVE REPLACE THE SERVO DRIVEN VALVE WITH AN ELECTRIC FLOW CONTROL VALVE WATERPROOF USER INTERFACE WATERPROOF USER INTERFACE
CONCLUSIONS DESIGNED A SYSTEM THAT AUTOMATICALLY ADJUSTS TEMPERATURE DESIGNED A SYSTEM THAT AUTOMATICALLY ADJUSTS TEMPERATURE SYSTEM CONTAIN FOUR PRESET BUTTONS SYSTEM CONTAIN FOUR PRESET BUTTONS TEMPERATURE CAN BE ADJUSTED AT ANY TIME DURING OPERATION TEMPERATURE CAN BE ADJUSTED AT ANY TIME DURING OPERATION MADE AN AFFORDABLE DESIGN MADE AN AFFORDABLE DESIGN
FUTURE CONSIDERATIONS DESIGN A CURRENT LIMITING CIRCUIT FOR OUR SOLENOID DESIGN A CURRENT LIMITING CIRCUIT FOR OUR SOLENOID ADD HARDWARE DEBOUNCE CIRCUITS ADD HARDWARE DEBOUNCE CIRCUITS ADD A BACKUP BATTERY SYSTEM ADD A BACKUP BATTERY SYSTEM
ACKNOWLEDGEMENTS SPECIAL THANKS TO: SPECIAL THANKS TO: STANISLAW LEGOWSKI STANISLAW LEGOWSKI JERRY HAMANN JERRY HAMANN VICTOR BERSHINSKY VICTOR BERSHINSKY GEORGE JANACK GEORGE JANACK GALE BANDSMA GALE BANDSMA
QUESTIONS?