Starting Electronics Needs Your Help!
It is that time of the year when we need to pay for web hosting and buy new components and equipment for new tutorials. You can help by making a donation. Contribute to this website by clicking the Donate button. The total will be updated once daily. (You may need to clear your browser cache to see the updates.)
Target Amount: $2000
Amount Raised: $1369
Top Donor: C.C. $100
Created on: 27 February 2013
Part 6 of the ATtiny2313 Tutorial
The ATtiny2313 microcontroller has some internal peripherals that don't connect to external pins. In this part of the course, we look at what these internal peripherals are. Each peripheral will be described in more detail and programmed later in the course.
The previous tutorial in this series showed an overview of the internal peripherals of the ATtiny2313 that do connect to external pins.
The ATtiny2313 has a 128 byte internal EEPROM. The EEPROM can be read and written by a program running on the microcontroller.
The ATtiny2313 has a WDT that can be programmed to time out over a 16ms to 8s range. The WDT can also be set on permanently by programming the WDTON fuse.
The watchdog timer operates from a separate internal 128kHz oscillator.
The timer/counters mentioned in the previous tutorial can be used as internal timers without connecting them to external pins.
The ATtiny2313 also has these features and functions: