02-05-2018 08:03 AM
Hi all
I am having a color sensor that outputs a Frequency in kHz that quantifies a particular color, when a LED is switched on. ( For e.g Red gives 12 kHz; Green 8 kHz and Blue gives 5 kHz)
At first i was planning to use a Freq to Voltage converter (like LM2907) and the obtain voltage. But since i already have a NI 6002 box for another purpose in the same project, i was thinking whether i can i wire the sensor output directly to Analog Input of NI 6002 and get a reading/result ? Or would it be better to use Freq to Voltage converter and then proceed?
Thanks
Solved! Go to Solution.
02-05-2018 10:32 AM
You have two options,
Use the counter to measure the frequency, see examples (and MAX/DAQ assistant on how to wire)
Or capture the voltage as an analog signal with a AI and use the tone detection vi.
If the output is in a range that fits to the digital input, I would use the counter.
04-20-2018 01:08 AM
Hi Henrik,
Yes, I used the counter to measure frequency. it works well.
Thanks