Hi Everyone!
I am having a problem programming Labview 2012 to control a brushless DC motor by the way of a poteniometer. I have to make the motor turn 90 degrees to the right, then at that spot it uses a light sensor to detect if a bright LED is on or off. If the light is on it turns an additional 60 degrees to the right, and if it is off it turns left 45 degrees.
So far i know the voltage changes in the poteniometer caused by the motor at each of positions from above. I also bought a photoconductive light sensor that changes resistance in the presence of a light source. The more light the sensor detects the less resistance it has.
My big problem is using the DAQ assistants to generate a voltage to run my motor. I figured out how to aquire signals from the poteniometer and light sensor using the DAQ assistant, but then creating a program to use those to control my motor is proving beyond my understanding.
we are using the NI ELVIS II prototyping board to hardwire the robot, and are not allowed to use any motor controllers other than that.
and help and hints would be much appreciated