231a-ag progressdec16

From CSclasswiki
Jump to: navigation, search

Final Progress Report

Coding

Okay, I really didn't know what was going on with those funky numbers, so I decided to forgo the assembly program for awhile and see if I could make it work in the Arduino sketch. If I could make it in the Arduino sketch, then I could use that as pseudo-code in order to write the assembly.

And, what do you know, it works!

After I got it working, the only thing the program was really, really missing was the time part (ie. getting the time from the system and using it to set off the buzzer). However, I still couldn't link the two programs together properly, and decided to completely forgo the assembly program (bad, I know!). I did give it a shot, though. You can also take a look at the arduino_serial.c program, which I also modified as I was trying to get the assembly to work.

What Doesn't Work

I guess since there isn't a section in the final project presentation that outlines what doesn't work, I would make one...

  • There is no input time, or assembly program. This is a large flaw, although the main concept of the project still works great.
  • If you enter the wrong code, the correct LED matrix sequence will not flash again.
  • It won't tell you when you're wrong. You just have to keep pushing buttons until you hit the combination.

Notes

  • I uploaded another YouTube video of the final product (the "secret sequence" is 1, 2, 3, as flashed on the LED matrix in the beginning).
  • I'm pretty sure this wasn't my fault, but after booting Ubuntu on my friend's computer, her computer subsequently failed to boot in Windows Vista. A large portion of time was spent trying to fix it, to no avail =(