CS-328
Lab #4

Part 1: Standalone Blinkm

Hook up the Blinkm as described in section 2.1 of the Blink datasheet. Observe what it does and record what it appears that is done in the start-up script.

Part 2: I2C or TWI

I2C (Inter-Integrated Circuit) is a proprietory technology of the Philips Corporation. I2C is implemented by Atmel in its microcontroller product line as TWI (Two-wire Interface). In a couple of paragraphs describe the operation of I2C/TWI (include diagrams showing master/slaves).

Part 3: An I2C/TWI Master

Using Atmel Application note AVR310 (and the associated code) write a program that will allow the ATtiny2313 to act as an I2C/TWI master. To test your I2C/TWI master add code that will allow the Blinkm to be controlled via the keypad from your lab kit. If memory permits use the serial LCD to prompt the user for input to send to the Blinkm. If memory does not permit the full implementation determine how much additional memory would be required and pick an appropriate Atmel 8 bit microcontroller that would handle the application

As always submit your work to the FTP server as Lab 4 and in a text file write up a brief lab report of what took place and what you learned

Last updated 10/17/2008 - rvs