I want to build a control system with the following:
Sensor: analog microphone
actuator: DC motor
Basically, I want to control the speed of the dc motor as a function of volume (person's voice). I will use NI elvis and labview to support PID controller. my motor is 24V and I know that labview can only output a maximum of 5V. I wanted to do it so if the volume went above a certain (low) point, the motor will kick on at 2V. The next step would be when the volume was a little higher and the motor would spin at 3.5V (medium). the last step would be the maximum output from labview and would turn the motor at 5V. I realize that without using a transistor or some sort of amplifier, it will be difficult to tell the difference in speed of motor, but this will be sufficient.
I was wondering what i need to input in labview to make sure my program has these step outputs (2V, 3.5V and 5V) and also how do i convert (in labview) the sound input from the sensor to voltage from (dB?)
i will try to post my .vi of the PID controller of what i have in the next few hours, but thanks in advance
greg