Introduction to ATtiny85 using a free online Arduino simulator
The ATtiny85 is a small 8-bit AVR microcontroller. It has 8KB of Flash program memory, 512 bytes of SRAM, and 512 bytes of EEPROM.
ATTiny85 Arduino Pinout
Datasheet Pinout of ATtiny85
ATtiny85 block diagram
Link for the datasheet of ATtiny85 MCU (it is worth a look)
Project 1: Simple LED blink
Project link: https://wokwi.com/arduino/projects/283019827166052872
Overview:
This project is a Hello World for the LED and the ATtiny85 interface. Click on the project link above. It will take you to the online Arduino simulator page. You can tinker with the code and see the results instantly!
Project 2: Simple LED blink - but three LEDs
Project link: https://wokwi.com/arduino/projects/283022189068812813
Overview:
This project is a Hello World for the LED. compared to the previous project, this involves three LEDs instead of one. Just a step more challenging than the previous one. Click on the project link above. It will take you to the online Arduino simulator page. You can tinker with the code and see the results instantly!
Project 3: Simple LED blink plus software serial using ATtiny85
Project link: https://wokwi.com/arduino/projects/296202722725593610
Overview:
This project is a proof of concept to show how to blink an LED using ATtiny85. The coding can be entirely done on the Arduino IDE (this of course needs another Arduino UNO to act as an ISP). You can hit the play button in the simulation window to see the project in action. The project also interfaces a potentiometer which is connected to the analog channel of the Attiny85 MCU.
ATtiny85 will read the potentiometer value and sets the brightness of the LED accordingly. A good basic project for beginners. Click on the project link above. It will take you to the online Arduino simulator page. You can tinker with the code and see the results instantly!
Project 4: tiny4kOLED OLED SSD1306 and ATTiny85 Arduino
Project link: https://wokwi.com/arduino/projects/293148150899671560
Overview
Tiny4kOLED is a library for an ATTiny85 to use an SSD1306 powered, double-buffered, 128x32 pixel OLED, over I2C. Click on the project link above. It will take you to the online Arduino simulator page. You can tinker with the code and see the results instantly!
Project 5: Simon game on ATtiny85 with Arduino programming
Project link: https://wokwi.com/arduino/projects/285525640477671948
Overview
Simon game is a famous memory game. Implement that in a tiny MCU like ATtiny85. This provides a good opportunity to practice coding! Click on the project link above. It will take you to the online Arduino simulator page. You can tinker with the code and see the results instantly!
Conclusion:
A handful collection of ATtiny85 projects were presented. Feel free to share your feedback on the projects, improvements, and any new ideas for the simulator! If you are stuck, you can always hop on to the discord server! for a helping hand!