270 likes | 435 Views
Automatic Drink Mixer Design Review. Ryan Bowen Jake Czapeczka Ken Smith Jr. Team Members:. Agenda. Overview of System Review of Components Plumbing (Physical Components) Circuitry Database System Software Interface Discussion. System Overview. Normal Operation System Setup
E N D
Automatic Drink Mixer Design Review Ryan Bowen Jake Czapeczka Ken Smith Jr. Team Members:
Agenda • Overview of System • Review of Components • Plumbing (Physical Components) • Circuitry • Database System • Software Interface • Discussion
System Overview • Normal Operation • System Setup • Drink Selection • Liquid Dispensing
System Overview • Abnormal Operation • Bottle Replacement • Manual System Halt • Software System Halt
Plumbing • Tubing/Fittings • Solenoid Valves / Air Relief Valves • Air Pressure System • Physical Layout • Cabinet
Plumbing – Tubing/Fittings • Tubing Type • Plastic and flexible • Tubing Sizing • Flow rate • Length of tubing • Compression Fittings • Nicely interfaces with solenoid valves
Plumbing – Valves • Solenoid Valves • 12 DC 0.25A • Operating Range 0 – 40 psi • Normally Closed • Air Relief Valves • Removes air from line • Need to be oriented at an apex
Plumbing – Air Pressure System • Air Compressor • Max Pressure – 135 psi • Volume – 1.5 gallon tank • Automatic pressure maintenance • Pressurized Bottles • Air input, liquid output lines • Rubber stopper
Plumbing – Physical Layout • A – Solenoid Valve 1 • B – Solenoid Valve 2 • C – Air Relief Valve • D – Bottle with Rubber Stopper • E – Check Value • F – Air Compressor • 1 – Multiple F-E Connections • 2 – Normalized Filling Chamber • 3 – Pressurized Liquid • 5 – Liquor Dispenser
Circuitry • Parallel Port • PAL Chip • Darlington Circuit • Next State Logic • Java-based Hardware Drivers
Circuitry – Parallel Port • Parallel Port Pin out • Line Control (Bits 0 – 4 ) • Solenoid Control (Bits 5,6) • System Pause (Bit 7)
Circuitry – PAL Chip • System calls for 64 solenoid valves to be controlled by 7 bits. • PAL chips allow for full selection programming • Global reset can be include in PAL • PAL also can fake internal clock
Circuitry – Darlington Circuit • Solenoid valves require more voltage and current than normal TTL • Darlington circuit – consists of pair of BJT transistors • Able to drive large load • 5V TTL compatible
Database System • Database Manager – PostgreSQL • Scheme - UML Diagram • Database Drivers (JDBD and Custom) • Add/Delete/Modify as Triggers
Database – PostgreSQL • PostgreSQL - Database Manager • Freely Available • Cross-Platform Capable • Object-Oriented Database • PGAdmin – Database Utility • Graphically manage database • Shell provided to execute SQL queries
Database – UML Diagram FK – Foreign KeyPK – Primary Key Bold – Required
Database – JDBC Driver • JDBC – Java driver package • Library of function calls specific to the database manager (PostgreSQL) • These function calls allow for connections, queries, and updates to the database • Required in the CLASSPATH
Database – Custom Drivers • Custom Java-based Database Drivers • Database Controller • Establishes connection to database • Queries the database • Drink Controller • Retrieves and stores data that involve drinks including their recipes and ingredients • Cabinet Controller • Retrieves and stores data that is involve with the physical components (Bottles used, Quantity, etc)
Database - Triggers • Triggers • SQL code sequences • Stored within the Database Manager • Executed locally to the Database Manager • Possible Trigger Implementation • Adding/Deleting/Updating data where constraints exist • Example – Adding an ingredient for a drink
Software - GUI • Main Frame – application foundation • Bottle Pane • Top10 & Recent Recipes • Search Pane • Browse Pane • Custom Pane
Software – GUI • Bottle Pane • Progress Bars for Fluid Levels • Bottle Status Database Driven • Top 10 Drinks • Polls Database for Top 10 drinks • 10 Most Recent Recipes • Polls Database for last 10 unique drinks made
Software - GUI • Search Pane • Searches database drink names like string in a text field. • Browse Pane • Search database drink names based on its ingredients • Custom Pane • Create your own drink by adding ingredients and their quantities.