Atmel ATtiny85 with 10uf Capacitor

£ 2.90

FREE DELIVERY

Here we have an Atmel ATtiny85 MCU. This tiny microcontroller with 8 pins and a maximum of 6 IO pins is perfect for your arduino based projects that either needs a small footprint or dont need all the IO pins of an atmega 328.

You can easily upload your code to this tiny MCU with any ISP programmer or a spare Arduino Uno or Duemilanove (w/ an ATmega328, not an older board with an ATmega168)

  • 1x ATtiny85-20PU
  • 1x 10uf Capacitor

  • Flash (Kbytes): 8 Kbytes
  • Pin Count: 8
  • Max. Operating Frequency: 20 MHz
  • CPU: 8-bit AVR
  • # of Touch Channels: 3
  • Hardware QTouch Acquisition: No
  • Max I/O Pins: 6
  • Ext Interrupts: 6
  • SPI: 1
  • TWI (I2C): 1
  • ADC channels: 4
  • ADC Resolution (bits): 10
  • ADC Speed (ksps): 15
  • Analog Comparators: 1
  • Temp. Sensor: Yes
  • SRAM (Kbytes): 0.5
  • EEPROM (Bytes): 512
  • Self Program Memory: YES
  • picoPower: No
  • Temp. Range (deg C): -40 to 85
  • I/O Supply Class: 1.8 to 5.5
  • Operating Voltage (Vcc): 2.7 to 5.5
  • Timers: 2
  • Output Compare channels: 5
  • PWM Channels: 6

Atmel ATtiny85 with 10uf Capacitor

  • Upload the ArduinoISP sketch from the examples menu to your arduino
  • Connect your arduino board to the ATtiny as pictured below
  • Connect the 10uf capacitor (included)
  • set the Tools/Board Menu option to ATtiny85 (w/ Arduino as ISP)
  • Upload your sketch to the ATtiny!

Configuring Arduino Uno as a ISP (In-System Programming)

To program the ATtiny85 we need to first set Arduino Uno in ISP mode. Connect your Arduino Uno to the PC. Open Arduino IDE and open the ArduinoISP example file (File -> Examples -> ArduinoISP) and upload it.

Adding ATtiny85 Support to Arduino IDE

By default Arduino IDE doesn't support ATtiny85 so we should add ATtiny boards to Arduino IDE. Open File -> Preferences and in the Additional Boards Manager URLs give this url https://raw.githubusercontent.com/damellis/attiny/ide-1.6.x-boards-manager/package_damellis_attiny_index.json.

After this is done open Tools -> Board -> Board Manager

After opening Board Manager scroll down the list where it says "attiny by Davis A. Mellis". Click on that and install it.

Connection:

Connect the Arduino board to the ATtiny as shown in the following diagram. Use the dot in the corner of the ATtiny to orient it properly. You should also connect a 10 uF capacitor between reset and ground on the Arduino board as shown in the diagram (the stripe on the capacitor that’s marked with a negative sign (-) should go to ground). The capacitor prevents the Arduino board from resetting (which starts the bootloader), thus ensuring that the Arduino IDE talks to the ArduinoISP (not the bootloader) during the upload of sketches. (The capacitor is needed if you’re using an Arduino Uno, and might also be necessary for an Arduino Duemilanove.)

item

Please be aware that being tiny comes at a price. These chips only support the following commands

  • pinMode()
  • digitalWrite()
  • digitalRead()
  • analogRead()
  • analogWrite()
  • shiftOut()
  • pulseIn()
  • millis()
  • micros()
  • delay()
  • delayMicroseconds()

item