han hoang - assignment_5<<_back han hoang
assignment 5  :: make a efe micro-controller :: in this assignment, we were asked to use the vynil cutter to cut copper sheets in order to make a "flexible" micro-controller.
:: using eagle :: first, using eagle layout propram, we were asked to manipulate the configuration within the design. the modification that i made was switching the LED with the sensor fromm PB1 to PB4 in order to use PWM (pulse width modulation) to manipulate the intensity and gradient levels of the LED.
- using the vinyl cutter - cat han_efe2_vinyl.rml > /dev/ttyS0 after weeding and stuffin - this is the result - the process proved to be quite difficult, therefore i was very skeptical of my own work. in order to know if the board that i modified work or not, i decided to make a duplicate using the modela
:: using the modela :: cat han_efe2_modela.rml > /dev/ttyS0 soldering and stuffin the board - this is the result
- coding - after several iterations of changing the b value [.equ b = 23 ; OSCCAL 0xff, 5V] from 10 to 80, i still could not find a suitable value.
open cygwin cd /cygdrive/c/Documents and Settings/hoang/My Documents/hello/hello_downloads/uisp-20040311 for uisp: uisp -dlpt=0x03BC -dprog=dapa -dvoltage=5 -dt_sck=50 --erase --upload if=../hello.hex for avra: cd /cygdrive/c/Documents and Settings/hoang/My Documents/hello/hello_downloads/ ./avra hello.asm for python: cd /cygdrive/c/Documents and Settings/hoang/My Documents/hello/hello_downloads/ /cygdrive/c/Python23/python.exe rx.py