{"id":138,"date":"2006-10-19T00:38:00","date_gmt":"2006-10-19T07:38:00","guid":{"rendered":"http:\/\/www.mccambridge.org\/blog\/2006\/10\/and-done\/"},"modified":"2022-09-11T00:40:45","modified_gmt":"2022-09-11T00:40:45","slug":"and-done","status":"publish","type":"post","link":"http:\/\/www.mccambridge.org\/blog\/2006\/10\/and-done\/","title":{"rendered":"And Done."},"content":{"rendered":"
Dave and I finished our ece 315 lab today with the completion of the bench exam. It went fairly well, though it took us all but the last 3 minutes of the 3-hr timeslot to finish. Below is a video clip of our functional final project, er… functioning.<\/p>\n
The idea was to drive the stepper motor at a rate of 10 steps per second, while flashing ‘0’ on the 7-segment display at a rate of 5 Hz. The stepper motor would turn until reaching the optical sensor, at which point it stops and allows the user to manually move it to a new position. When the pushbutton is pressed, the stepper motor turns back on and moves to the optical sensor again.<\/p>\n
The cooler part was that on power-up, we also perfectly center the bar underneath the optical sensor by swinging back and forth to detect both edges. That looked really sweet but I didn’t think to record it. Oh well.<\/p>\n
Here’s the final construction board after 6 labs’ worth of adding parts:<\/p>\n