Saturday, February 21, 2009

Unexplained AI?!

Twice now we have experienced a weird phenomena. We have our code working, doing what it needs to do, only to find out the next day that it no longer functions. This has happened twice now, for no apparent reason. So now, after we had gotten the code RE-working again, we have decided to leave it completely in tact, without moving anything to prevent it from randomly malfunctioning again.

Also, now we have gotten a simple test up and running. We have our webcam detecting infrared light, and when it does, we have code that determines in which direction the light moved, and by how much it moved. This is processed by the laptop, and sends this information via USB to a pic. The pic in turn, processes this information and then sends the proper commands to the stepper motor driver, which has a stepper motor attached to it. And as we witnessed, the stepper motor was able to turn with just the moving of a LED light!

Our next step now is to attach more stepper motors. Though we were able to successfully test one stepper motor, we have not mounted a second stepper motor on top of it yet and tested that. Also, we will have to attach the flashlight to our two stepper motors to see if our system points the flashlight in the correct system.

No comments: