neuroscientist needs advise on PC based probe monitoring
neuroscientist needs advise on PC based probe monitoring
(OP)
I have a rotary encoder which sends out 1000 TTL pulses for every one rotation. I need to be able to capture the analog voltage output signals, convert them to digital with my PC, and then produce a running real-time graph of the pulse frequency vs. time. Do you have hardware and software products that will work? Not looking to spend much money. I only need 2 channels and the sampling frequency does not have to be high. I just need to be able to display the captured waveform and then quantify it in real time.
thanks.
thanks.
RE: neuroscientist needs advise on PC based probe monitoring
You ask for two things: Display the waveform and display the frequency.
Which is it?
How much detail needs to be in the waveform? Many conditions are only detectable at 100-1000 samples per half-cycle.
There are a ton of USB oscilloscopes that will do the job. It might also be done with a sound card.
What's the budget? You might find renting equipment to be a better option.
RE: neuroscientist needs advise on PC based probe monitoring
RE: neuroscientist needs advise on PC based probe monitoring
I presume this is mouse the mammal and not mouse the computer input device. Do they like running in a small circle?
You could use a sound card by biasing the signal voltage via an op-amp, perhaps even a resistor-divider would work, but it doesn't seem like you need that.
Most oscilloscope software has a frequency analysis function for managing Pulse Width Modulation problems but, again, you only need the pulse rate and that's something a microcontroller can manage for a few dollars as they are easily programmable to watch for transitions.
RE: neuroscientist needs advise on PC based probe monitoring
https://create.arduino.cc/projecthub/ambhatt/frequ...
TTFN (ta ta for now)
I can do absolutely anything. I'm an expert! https://www.youtube.com/watch?v=BKorP55Aqvg
FAQ731-376: Eng-Tips.com Forum Policies forum1529: Translation Assistance for Engineers Entire Forum list http://www.eng-tips.com/forumlist.cfm
RE: neuroscientist needs advise on PC based probe monitoring
This is just a digital tachometer. THere are lots of solutions used for other things that can be adapted for your needs.
To use something industry compatible you will scale the frequency with a counter divider then the sample rate is much lower to read RPM or cm/s or MPH or kph or anthing you like including total distance covered by counting pulses with a binary or BCD counter for your duration of 1 hour.
1st, define the required data resolution for speed in samples per second (not pulse sampling) that you need. Maybe 10 samples per minute or 1 sample per second or something else?
If you like define the resolution and range for total distance travelled and any other parameters like. Busy duration. resting duration.
1k pulses per rev seems like overkill so this frequency can easily be scaled down or converted to a 0 to V+ range using a 0.5ms oneshot (74HC123) and averaging the voltage with a resistor capacitor RC flow pass filter like 20 Hz which attenuates 2kHz pulse ripple by a factor of 100 or 40 dB for a simple RC filter when converted to a speed analog voltage.
There are single 14 bit counters IC's that cost pennies or complex ones with serial read ports or make a custom program with a uC to do this.
So there are many many options depending on what resources you can find locally. It's hard to transport a design to do everything you imagine here and we don't work for peanuts. ;)
https://duckduckgo.com/?q=tachometer+schematic+74l...
https://www.amazon.ca/Runleader-Maintenance-Tachom...
Here is a simple F to V converter (Tach circuit) 0 to 2kHz = 0 to 5Vdc
https://tinyurl.com/2ewgnv6k
Send one expresso coupon for time spent. :)