Hi NicoleP48!



Unfortunately the ATTiny13 is a bit involved to program. There are a few ways to get the program onto the chip that controls the servos (the motors in the ears) and listens to the buttons and I'll list them in order of difficulty below, from easiest to hardest.



The basic idea is that the ATTiny13 chip needs to be programmed with a HEX file. The HEX file is like a binary program for the ATTiny13 (like an EXE on a Windows machine) and can be located here: https://raw.githubusercontent.com/abetusk/kears/release/kears.ihex . Download a copy of that HEX file and save it for later. The next step is to get the HEX file into the ATTiny13.



Maybe the easiest way is to try to use an Arduino as a the device that programs the ATTiny13. Try taking a look at the following links:



https://www.instructables.com/id/Programming-an-ATTiny13A-using-Arduino-servo-int/

https://www.youtube.com/watch?v=p-fieBPj9Ng

https://www.instructables.com/id/ArduinoISP-wire-harness/



The first instructable shows you how to wire the Arduino to the ATTiny13. The third one tells you how to use 'avrdude' to program using the Arduino (don't worry that the third instructable has a different 'target' chip, the wiring is the same as in the first one and the steps are still the same).



Another separate way not using the Arduino is to buy a dedicated USB ISP programmer (the ISP stands for 'in system programmer' which is the method by which the ATTiny13 is programmed). They are fairly cheap and doing a search for 'usb isp' should give you some links as to where to buy them. Here is one that I found though I haven't used it myself:



https://www.sparkfun.com/products/11801



Once you have the programmer and the ATTiny13 chip, you can program it. One program to do that is called 'avrdude' and you can see how to use it with the USBtinyISP (which is the programmer listed above) here:



https://learn.adafruit.com/usbtinyisp/avrdude



Don't worry that they mention 'ATTiny45' or ATTiny85', they should be mostly equivalent to the ATTiny13. If you go this route, you'll need to program the chip by invoking 'avrdude' with something like the following from the command line:



avrdude -c usbtiny -p t13 flash:w:kears.ihex



Where 'usbtiny' is the programmer (the USBtinyISP from Sparkfun), the 't13' is the target chip, in this case the ATTiny13 which as a code of 't13' and the command, which is 'flash', 'w' for write and 'kears.ihex', the HEX file downloaded earlier.



Sorry about it being so complicated! The ATTiny13 is a very nice chip and it's great that it's so small but it's also a real pain to program so it's not very beginner friendly. Most of what's needed is to wire one pin to another and make sure they all match up.



If you want to do a little investigation, I think the following links could be helpful:



http://highlowtech.org/?p=1695

http://www.elecrom.com/2009/04/15/avrdude-tutorial-burning-hex-files-using-usbasp-and-avrdude/

https://learn.adafruit.com/usbtinyisp

http://www.ladyada.net/learn/avr/avrdude.html

https://www.instructables.com/id/Program-an-ATtiny-with-Arduino/

http://highlowtech.org/?p=1229

http://brownsofa.org/blog/2011/01/01/the-compleat-attiny13-led-flasher/



If you can, I would suggest trying to program a simple 'LED flasher' circuit to test that the programmer is working before trying to hook up the servos. Once you get to the point of trying to hook the servos up, I would hook up the button and just one servo to test and make sure it's working on one servo. Once that's successful, you can then hook up the rest of the servos and build the rest of the project.



I'm happy to help if you have any problems, just let me know. Good luck!