Wednesday, December 17, 2014

In this post I'll be showing you how to use your AtTiny Shield with an Arduino Uno. Its really not that hard.

Things required:
1) AtTiny Shield (Refer to my previous post on how to create this)
2) Arduino Uno
3) Arduino IDE Environment
4) USB Cable

Step 1
   Connect the Arduino Uno to your computer and ensure that the board is set as Arduino Uno.


Step 2
   Click on Files followed by examples followed by ArduinoISP.


Step 3
   Click on upload. (Note: At this point there should be nothing connected to your Arduino other than the USB Cable.)


Step 4
   Once the upload is complete, remove USB from Computer. Mount the AtTiny Shield on the Arduino Uno. Do not forget to mount your AtTiny chip on the shield. I've forgotten to mount it in the picture below. Reconnect the USB to your computer.


Step 5
   Click on Tools>Board and click on the appropriate AtTiny that you are using. For my case, It would be AtTiny 85.


Step 6
   Click on tools>Programmer followed by Arduino as ISP.


Step 7
   You may now upload your AtTiny code. However, do take note. Upon uploading, the following error will occur:

avrdude: please define PAGEL and BS2 signals in the configuration file for part ATtiny85
avrdude: please define PAGEL and BS2 signals in the configuration file for part ATtiny85

Do not be panic. It is safe to ignore this error. Your AtTiny is now ready for use. Cheers!

No comments:

Post a Comment