From Mark Ford: You can orient the ADXL board perpendicular as outlined in the lab specs. The one thing you have to account for though is that one of the axis values will then be phase shifted by pi/2. So, both readings will then need to use sin(ang) as opposed to sin(ang) and cos(ang). Question: How can we compute sin and cosine values without using floating point numbers? The specs state to only use integer values, but I do not see how we can do this. Dr. C replies: Since I say that the angle is always 30 degrees or 0 degrees, you can just pre-load Sin 30 or Cos 30. When you do the computations, just "normalize" everything to "thousandths".
Lab 3, Due March 23, 2004, BEGINNING OF CLASS!!!! (new date)
Assignment (pdf file) is available (minor changes made). However, for the extension, you must show me your progress during class time on March 18.
If you remember the "trick" from the test on adding an extra bit when communicating - you may need to use it to get IR working. This is now allowed for this lab.
Lab 2, Due February 27, 2004 or March 1, 2004, BEGINNING OF CLASS!!!!
Lab 2 is posted and due on the next day the University is open (Friday 2/27 or Monday 3/1).