In Attiny85, there are some special pins and with the combinations of the internal PWM signal input, it can be used to drive the external power efficiently. The Attiny85 consists of four PWM channels. These two clocks work according to the internal clock, but the Timer 0 can be operated by an external clock pulse. The I2C pins are:ĪTtiny85 consists of two timers, i.e., Timer 0 and Timer 1, that are used to count the clock pulses. In this protocol, data is sent and received by a single line while another line sends a clock pulse through which data is kept in sync by the time. The I2C communication protocol is also available in Attiny85. This pin can be controlled by any sensor output, or manually via a button. Except for the power supply pin, any pin we can use for Input/Output purposes.ĪTtiny85 has one interrupt pin. These pins are used as bidirectional Input/Output. In ATtiny85, any pin can be used for input and output signal but, it should be mentioned in the program before. So, to increase the oscillator value, it should be connected to the oscillator pins. But it can expand its oscillator up to 20MHz. The power supply to the ATtiny must not exceed the rated voltage.Īttiny85 has an 8MHz internal clock and its clock value varies from 0-8MHz. One is used for the power supply while the other connects to the ground. Detailed description of the pins PowerĪTtiny85 has two power pins. Pin 8 (Vcc)- It is used as Vcc Pin & 5V is applied on it. Pin 7 (PB2)- This can be used as SCK for SPI Communication and SCL for I2C Communication. It can be used as a Slave line for sending data to the master. Pin6 (PB1)- This pin is used as MISO(Master In Slave Out). It can be used as a master line for sending data to the peripherals for SPI communication and SDA for I2C Communication. Pin5 (PB0)- This pin is used as MOSI (Master Out Slave In). Pin4 (GND)- It should be connected to the Ground. Pin3 (PB4)- It is for analog pin ADC2 and also used for crystal oscillator XTAL2. Pin2 (PB3)- It is for an analog pin ADC3 and also for crystal oscillator XTAL1. Pin 1 (PB5)- It is for an analog pin ADC0 and is used for analog sensors. Peripheral devices and sensors UART Interface NA Timer Module Two 8-bit counter Analog Comparators 1 Program Lock Available Program Memory or Flash memory size 8 Kbytes Power Save Modes 3 modes Watchdog Timer Available Specifications of ATtiny85 ATtiny85 pinout Universal Serial Interface (5,6,7 PINS) – can be used for communicating with other controllers I2C or 2-wire Serial Interface(5,7 PINS)- can be used to connect Vcc and GND pins 200 mA Maximum DC Current per I/O Pin 40 mA ADC Feature 4 channels,10-bit resolution ADC PWM outputs 4 Communication Interface Master/Slave SPI Serial Interface(5,6,7 PINS) – can be used for programming this of I/O Pins (Programmable) 6 Operating Voltage +2.7V to +5.5V (For ATtiny85) (+6.0V is absolute maximum supply voltage)ġ.8V to +5.5V (For ATtiny85V) Operating Temperature -55✬ to +125✬ External Oscillator For ATtiny85V: 0-10MHzįor ATtiny85: 0-20MHz Internal Oscillator 0-8MHz (Calibrated Internal R-C Oscillator) Maximum DC Current through The features and characteristics of ATtiny85 are summarized in the table below: SPECIFICATION DESCRIPTION CPU Architecture 8 bit (RISC) EEPROM 512 Bytes of In-System Programmable EEPROM CPU (Speed) 1 RAM 512 Bytes (on Internal SRAM) Total Number of Pins 8 No. Here you can see that ATtiny85 is a 2005 model. You can expect more powerful and newer models to have higher numbers. The second digit represents the model type. Thus, an ATtiny85 consists of 8KiB flash memory. In the ATtiny series, the first digit that comes after ATtiny represents the flash memory in kibibyte (KiB). What does the number 85 in ATtiny85 represents? We will get a better idea of its functionality in the pinout specification. It also has two 8-bit timers or counters, one high-speed, with four pulse-width modulations (PWM) outputs, and a four-channel 10-bit ADC.Īn ADC converter with a 10 bit & programmable watchdog timer is added to the device which makes it suitable for resetting the device in case it gets stuck in an infinite loop and sensor interfacing.Īlthough it consists of 8 pins only, it can perform almost every function that a simple microcontroller can do. In achieving a throughput of 20 MIPS, it takes 20 MHz and operates between 2.7-5.5V. This microcontroller is designed and manufactured by Microchip.Īs per the datasheet, it has 8 KB of flash, an 8-MHz internal RC oscillator that can be used as the default clock & 512 bytes of EEPROM and SRAM. It has an 8-pin interface (PDIP) and comes in the category of low-power microcontrollers. What are the packages available in ATtiny85?ĪTtiny85 is an 8-bit AVR microcontroller based on AVR enhanced RISC architecture.What does the number 85 in ATtiny85 represents?.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |