Output devices

Week 11- Documentation

Assignments:

Connecting the board:

I started out by taking an old HELLO.RGB.45 board that I had made in the past. Then I connected my FabISP44 to the board trough a 6 pin connector and then I connected the FabISP44 to the computer by mini usb. After that I connected a battery to the power intput. With that step I had finished setting the board up and was ready to start programming.

Programming the board:

  1. I started out by opening Arduino. If you do not have the Arduino set up here is a link on how I set mine up Embedded programming assignment.

  2. Next I went to file and went into preferences and installed the attiny support by pasting this URL into the field: https://raw.githubusercontent.com/damellis/attiny/ide-1.6.x-boards-manager/package_damellis_attiny_index.json and then clicked ok

  3. After that all I needed to do was to plug in my board and start programming it.

  4. After I had plugged in my board I went to tools and selected the ATTiny45 and the 20mhz clock because my board includes those parts.

  5. After you have connected your board to the computer it´s time to start programmming.

  6. Because you are programming through arduino you need to use different names for the pins

  7. After I had got my code right I verified the code and then uploaded it to my device.

  8. Ater I had uploaded it to my device I changed the code a litle bit, I changed the delays and uploaded the code again to see the difference.

Problems:

The first problem that I had was when I started out I started out with an LCD board and I sloderd the wires wrong on the LCD screen so I swithced to the RGB board.
I also had a problem when I was uploading the Git becuse I accidentally included a large mp4 and the size of my file went bigger than 100mb and we solved that problem by reverting the git push by using the line git reset --hard HEAD~1. We used this site to help Stackflow: How do I undo the most recent local commits in Git?

Tutorials I used:

Files:

Software I used:

Copyright © Gísli Snær Guðmundsson 2020