Hi Everybody,
I am working on a project that needs to count the total number of photons emitted in a very short time interval.
This is done counting the pulses (one photon = one pulse) coming from a photodiode.
Up to this point I have been using a Teensy 3.2 and the FreqCount library to measure the total counts in a 1 ms period (the lowest gate interval that the library allows). I would now need to go in the microseconds gate interval range. Is it possible to modify the FreqCount source code to do so on a T3.2 or is the hardware the main limitation here?
Here is the code that I am currently using to read over 1 ms:
Thanks a lot!
P.S: I also have a T4.0 that I could use if this makes things easier.
I am working on a project that needs to count the total number of photons emitted in a very short time interval.
This is done counting the pulses (one photon = one pulse) coming from a photodiode.
Up to this point I have been using a Teensy 3.2 and the FreqCount library to measure the total counts in a 1 ms period (the lowest gate interval that the library allows). I would now need to go in the microseconds gate interval range. Is it possible to modify the FreqCount source code to do so on a T3.2 or is the hardware the main limitation here?
Here is the code that I am currently using to read over 1 ms:
Code:
FreqCount.begin(1);
while(!FreqCount.available());
FreqCount.end();
count = FreqCount.read();
Thanks a lot!
P.S: I also have a T4.0 that I could use if this makes things easier.