FabLab Cept

SOLDERING

I used a reference SMD board available at Fablab Cept which was developed using the below diagram.

I first soldered the board with offset- 4. Our Tutor Ohad had shown us some tricks of soldering these small boards. One of them was to heat the component leg first and hold the wire close to it. This was really helpful since this was my first time and I had no idea how to solder anything.

When I tested this with AVRISP, it showed red light, which means it was not working. Taking a close look I discovered that one of the legs of USB header had been shorted which broke the circuit so it was not working.

I used Multimeter to identify that problem and check whether any other circuit was broken or not.

So, I soldered another the other board with "offset-3" and luckily this time it worked.

The next step was to program it. I used the following reference from the tutorial.

I used a computer with Ubuntu for programming. The first step is to open the terminal and type:

sudo apt-get install flex byacc bison gcc libusb-dev avrdude

Next type :

sudo apt-get install gcc-avr

Next it asked for confirmation, so I typed "y" , meaning 'yes'.

Next type :

sudo apt-get install avr-libc

sudo apt-get install libc6-dev

The next step was to connect the FabISP to computer to power it up.

The 6-pin header on FabISP is connected to AVRISP

I was working in Ubuntu hence I opened the terminal in the folder where I had downloaded the firmware and followed the below steps:

make clean

make hex

This command adds 3 more files to the folder

make fuse

make program

This command ran successfully and the last message I got was "avrdude done. Thank you"

To ensure that USBtiny has been installed successfully, I typed the following command and could see its name in the list of usb drivers.

lsusb