Note: This week, we didn't have all the SMD components.
Note: you need to install the driver, and the program does not work without communication with the machine
there are two ways to program ATtiny44
https://raw.githubusercontent.com/damellis/attiny/ide-1.6.x-boards-manager/package_damellis_attiny_index.json, then click OK
Open Terminal and type:
sudo apt-get install flex byacc bison gcc libusb-dev avrdude
sudo apt-get install gcc-avr
sudo apt-get install avr-libc
sudo apt-get install libc6-dev
Move to the desktop
cd ~/Desktop
Download the firmware from the Fab Academy Electronics Production page.
wget http://academy.cba.mit.edu/classes/embedded_programming/firmware.zip
Unzip the firmware
unzip firmware.zip
AVRDUDE = avrdude -c avrisp2 -P usb -p $(DEVICE) # edit this line for your programmer
To
AVRDUDE = avrdude -c stk500v1 -b19200 -P /dev/ttyACM0 -p $(DEVICE)
Note that the /dev/ttyACM0 is my Arduino Port
make clean
make hex
make fuse
make program
congratulations :)
Now Just remove the Jumper (0 Ohm resistor), and Here You Go!