2021-12-03

1. Project 5

Program an ATtiny85 to do something interesting!

1.1. Requirements

  • Cannot use the Arduino framework

  • Reads at least one general-purpose input pin.

  • Writes to least one general-purpose output pin.

  • Utilizes a timer peripheral.

  • Connects to hardware to either/and make it do something or accept input.

  • Implements a state machine (zyBook RIMS style) as some part of its functionality.

  • Utilizes the Analog to Digital converter and does something with the conversion result.

2. Notes

2.2. Programming an ATtiny85

These old posts show the connections between a Nano and a bare ATtiny85. The second post demonstrates how to use your Nano as the programmer, but use avrdude instead of the Arduino IDE Upload command so you can upload a .hex file compiled from a different tool.

3. 24AA08 EEPROM operation

Commands to send that sequentially reads the entire contents.

I2C communication waveforms using Waveforms and AD2.