Team 4: The Beancounters Kyle Haver Ethan Price Wesley Tso Shicheng Guo SOFTWARE DESIGN NARRATIVE
An ability to achieve different levels of roasting based on user input. An ability to detect the temperature of the beans. An ability to monitor the color of the beans An ability to interact with the user via GUI An ability to shut off the device if unusual conditions (dangerously high temperatures and unusual color in roasting area) are detected. PROJECT SPECIFIC SUCCESS CRITERIA
Power Conservation Both polling and interrupt driven Polling sensor data Interrupts for user input and LCD Sensors take different times Hacrocam Microphone I2C DESIGN CONSIDERATIONS
Atmega 328 Microcontroller 32 Kilobytes of Flash Memory 20 MHz Operating Frequency I/O Devices I2C Bus (2 pins) Hacrocam video camera IR Thermometer LCD Analog-to-Digital Microphone Digital I/O (6 PWM pins) Relays External Interrupts Rotary Encode HARDWARE INTERFACE
Atmega Arduino software stack Included libraries for I2C and upper-level functions Supports interrupts and advanced I/O Processing programming language Hacrocam C-based firmware SOFTWARE CHOICES
Polling sensors will be the major task Looping between thermometer and microphone Transferring from Hacrocam every few seconds MAIN POLLING LOOP
Image Frame Buffer 4 MB Variable Image Size 160 x 120 pixels Access to 512KB of SRAM Color Averaging Algorithm Table lookup Can take several seconds HACROCAM
QUESTIONS