In this illustration we will going to wire the ATTINY85 to control the OLED Screen using i2C Bus on ATTINY85 Microcontroller, I will just give an introduction what is ATTNY85 Microcontroller. The ATTINY 25,45, and 85 is a low power CMOS 8 bit microcontroller base on AVR enhance RSICK architecture by executing powerful instruction in a single clock cycle the ATTINYXX achieves throughputs approaching 1 MIPS per MHz allowing you to optimize the power consumption v/s processing speed. See below block diagram or you can just download the datasheet located below.
The AVR core combines a rich instructions set with 32 general purpose working registers all 32 register are directly connected to the Arithmetic Logic Unit or ALU, allowing the two independent registers to be accessed in one single instruction executed in one clock cycle. The resulting architecture is more code efficient while achieving throughputs up to ten times faster than conventional CISC microcontrollers.
The ATTINYXX provides you of 2, 4, 8 byres of In-System Programmable Flash, 128, 256, 512 bytes EEPROM, 128/256/256 bytes of SRAM, 6 IO lines, 32 working registers, 1 8bit timer/counter with compare modes, 1 8bit high speed timer/counter, USB, internal and external interrupts, 4 channel, 10-bit ADC, programmable watchdog timer with internal Oscillator, and 3 software selectable power saving modes. IDLE mode stops the CPU while allowing the SRAM, timer/counter, tents, disabling all chip functions until the next interrupt system to continue functioning. Power-down mode save the register contents, disabling all chip function until the next interrupt or hardware rest, ADC noise reduction mode stop the CPU and all I/O modules except ADC to minimize switching noise during ADC conversions.
The ATTINYXX is manufactured using ATMEL high density non-volatile memory technology. The One-Chip SPI flash allows you to program the memory to be re-programmed in system through an SPI serial interface, by a conventional non-volatile memory programmer or by on-chip boot code running on the AVR core. The ATTINY supported mostly commonly used program development tools including C, Micro Assembler, Program Debugger/Simulator and Evaluation Kits.
Digispark ATTINY Arduino IDE Integration with Windows Operating System
Copy this URL for additional board > http://digistump.com/package_digistump_index.json
DigiSpark ATTINY85 Pin Out Diagram
Wiring Diagram OLED 096″ Screen i2C / SPI /
Wiring with DHTXX Weather Station with ATTINY85
Sketch Code for Driving OLED Screen
[crayon-676d6384af0d2796875295/]
Sketch Code Driving DHT11 and OLED
[crayon-676d6384af0dc959520294/]
Downloads
Download ATTINY 25/45/85 Data Sheet | Pdf
Download Code Library ATTINY 85 | Zip
Download ATTINY85 Arduino Boot Loader| Zip
Download DigiUSB DigiSpark Board Windows Driver | Zip