ECE473/573 Lab6: Purpose: *Using the TWI interface. *Using the graphic LCD module. Project Specifications: *Implement a temperature sensor that reads two different temperature sensors once per second. That would be a reading from both sensors every second. *The temperature read back from the sensors in binary (Celsius) will then be converted to a Fahrenheit decimal value. This value is sent to the LCD module. *Temperatures displayed will include a fractional part in 0.25 deg F fractions. *Put each temperature on separate lines on the LCD module. *Keep the twi and glcd functions in separate C modules to avoid making your existing code any more confusing. Before Lab: *Sketch out as simple diagram how the sensors are to be connected to the microcontroller. Assembly: *Wire the sensors up as is appropriate and use 4.7K pullup resistors if you have them on the SCL and DAT lines. You will need to get these resistors yourself. You can use 4.7K plus or minus 1K for the pullups. You can turn on pullups on the Xmega if you don't have the resistors. Not sure that will quite work however. Limit the physical distance to the sensors from the uC. Try to keep it under 24 inches. You can use typical hookup wire or 4 conductors stripped out of a piece of ribbon cable. You could also utilize the protoboard and pin strip headers. Test: *Demo in person for TA to see that the temperature sensor data is displayed and is correct. Turn into COE TEACH: A single file submitted with the Linux tar command that contains: (1) a copy of your lab6.c code Reminder: tar -cvfz lab6.tar.gz lab6.c Will create a single file "lab6.tar.gz" from the files after compression by gzip. Grading: *Circuit function +80% (live demonstration of system) *Code well written, commented +20% -wrong temperature indicated -deduct 10% -other abnormality -deduct 5% (for each distinct problem) -poorly written code -deduct 10% Lab weighting = 0.25