Micro Manufacturing Beverage System
Total Page:16
File Type:pdf, Size:1020Kb
2019 Group 11 Eric Velez Lance Adler Ryan Burns Parke Novak Micro Manufacturing Beverage System Senior Design 2 Documentation 1 Table of Contents 1.0 Executive Summary................................................................................................................ 1 2.0 Project Description ................................................................................................................. 2 2.1 Motivation and Goals .......................................................................................................... 2 2.2 Objectives ............................................................................................................................ 2 2.4 Hardware Diagram .............................................................................................................. 3 2.5 Software Diagram ................................................................................................................ 4 3.0 Research and Background Information ............................................................................... 5 3.1 Similar Projects and Products ........................................................................................... 5 3.1.1 Drink Wizard .................................................................................................................. 5 3.1.2 Under the Sun Drink Mixer .......................................................................................... 6 3.1.3 Smartender .................................................................................................................... 6 3.1.4 KnightTime .................................................................................................................... 7 3.1.5 Active Noise Cancelation Device ............................................................................... 7 3.1.6 Conclusion .................................................................................................................... 8 3.2 Stretch Goal ......................................................................................................................... 8 3.3 Components ........................................................................................................................ 9 3.3.1 Barrel Jack .................................................................................................................... 9 3.3.2 Wall adapter power supply.......................................................................................... 9 3.3.3 Regulator ..................................................................................................................... 10 3.3.4 Capacitors ................................................................................................................... 11 3.3.5 Touchscreen Lcd ........................................................................................................ 11 3.3.6 UTFT Library ............................................................................................................... 12 3.3.7 UrTouch Library.......................................................................................................... 13 3.3.8 Real Time clock .......................................................................................................... 14 3.4 Microcontroller .................................................................................................................. 14 3.4.1 ATMEGA32U4 ............................................................................................................. 15 3.4.2 Cortex-A53 .................................................................................................................. 16 3.4.3 Msp430 ......................................................................................................................... 16 3.4.4 SAM3X8E Arm Cortex M3 .......................................................................................... 17 3.5 State Machine .................................................................................................................... 17 3.6 FSM Library........................................................................................................................ 18 2 3.7 Multithreading vs RTOS ................................................................................................... 18 3.8 Arduino Scheduler ............................................................................................................ 19 3.9.1 CMSIS RTOS ................................................................................................................... 19 3.9.1 Keil RTOS ........................................................................................................................ 20 3.9.1 FreeRTOS ........................................................................................................................ 20 3.10 Data Log ........................................................................................................................... 22 3.11 USB Port ........................................................................................................................... 22 3.11 Temperature Sensor ....................................................................................................... 23 3.12 Fluid Control System Hardware .................................................................................... 24 3.12.1 Types of valves ......................................................................................................... 25 3.12.1.1 Solenoid Valve ....................................................................................................... 25 3.12.1.2 Pneumatic Diaphragm Valve ................................................................................ 25 3.12.1.3 Ball Valve ................................................................................................................ 26 3.12.2 Types of motors ....................................................................................................... 26 3.12.2.1 DC ............................................................................................................................ 26 3.12.2.2 Stepper ................................................................................................................... 27 3.12.2.3 Servo ....................................................................................................................... 27 3.12.3 Choosing a Servo Motor .......................................................................................... 28 3.12.4 Types of Linear Actuators ....................................................................................... 29 3.12.5 Load Cell ................................................................................................................... 30 3.13 Power Requirements ...................................................................................................... 31 3.13.1 12 V Power Supply ................................................................................................... 32 3.13.2 5 V Supply ................................................................................................................. 32 3.13.3 1.8 V Supply .............................................................................................................. 33 3.12.6 Servo Control ............................................................................................................ 35 3.12.6.1 Level Shifter ........................................................................................................... 36 3.14 Other Fluid System Components .................................................................................. 37 3.14.1 Kegs ........................................................................................................................... 37 3.14.2 Compressed Gas ...................................................................................................... 37 3.14.3 Tubing ........................................................................................................................ 38 3.14.4 Housing ..................................................................................................................... 38 4.0 Standards .............................................................................................................................. 40 4.1 Health Standards ............................................................................................................... 40 3 4.1.1 NSF/ANSI 61 ................................................................................................................... 40 4.1.2 FCC .................................................................................................................................. 40 5.0 Design .................................................................................................................................... 47 5.1 Implementation .................................................................................................................. 47 5.2 Design Motivation ............................................................................................................. 47 5.3 Presentation....................................................................................................................... 48 6.0 Project Software Design Details ........................................................................................