output devices

  • This week’s assignment was to add an output device to a microcontroller board you've designed and program it to do something.

  • I went with the rgb led board as my output. The milling part didn’t take a long time and the board is surprisingly small, you can see the milling process I did in week 4. Soldering was pretty fast too, and I seem to get better at it every time. This part was pretty straight forward.

  • Next I tested it with the avrISP2 and got a red light. My first act was to check for cold soldering and though it did not seem so it must have been the problem for I just heated some some of the connections and added tin, and when I checked again I got a green light.

  • From there I got to a computer with linux and downloaded the makefile and the C file to the same folder on the desktop.

  • I then located the folder in the terminal and wrote:

  • 
    sudo make -f hello.RGB.45.make
    sudo make -f hello.RGB.45.make program-avrisp2
                                
  • I was using the avrISP2 as my programmer but if you use the fabISP you should write:

  • 
    sudo make -f hello.RGB.45.make
    sudo make -f hello.RGB.45.make program-usbtiny
                                
  • The terminal stated that it was successful and the RGB light started going.

  • I modified the code a bit and got it to do some cool stuff but I’ll have to fine tune my modifications a bit for my final project.

  • I included output devices in my final project.