LM5 Reactor Lite - Sample Rate - Printable Version +- Logic Machine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Hardware (https://forum.logicmachine.net/forumdisplay.php?fid=12) +--- Thread: LM5 Reactor Lite - Sample Rate (/showthread.php?tid=1518) |
LM5 Reactor Lite - Sample Rate - hummelsystemhaus - 09.08.2018 hi guys, is it possbile to use the digitial input to count pulses? so i have a device which gives me a PWM signal with a changing frequency and i want to calculate the freuqency. Is this possible with one of the digital inputs? how fast is the sample rate of the inputs? RE: LM5 Reactor Lite - Sample Rate - admin - 09.08.2018 Reactor lite does not support pulse meter. Pulse meter on other devices is not meant for high frequency measurement. It is possible to convert PWM to more or less constant voltage with a simple RC (resistor + capacitor) low-pass filter, then measure it with analog input and convert back to frequency. It won't be very precise though. Can you explain why do you need to measure this PWM signal and what is the frequency? RE: LM5 Reactor Lite - Sample Rate - hummelsystemhaus - 09.08.2018 okay to make it easier i just have to count the pulses which occours. and then e.g. every 10 seconds i calcuate the diffrence the "measure" the frequency RE: LM5 Reactor Lite - Sample Rate - admin - 09.08.2018 Reactors with analog inputs can measure pulses that are not lower than 10ms. Frequency calculation from number of pulses per second is built in. PWM measurement is a different story because for any value between 0% and 100% (not inclusive) the number of pulses per second is the same, only the pulse width is different. RE: LM5 Reactor Lite - Sample Rate - hummelsystemhaus - 09.08.2018 okay lets break it down a little: 1) how i can archive the calcuation of the frequency?? i cant find any "function" to active this 2) the maximium amount of pulses per second should be around 12 times per second. i dont know the length of the pulses, i have to check this out first. Is it possible the count all these 12 pulses if they are longer then 10 ms each for example with an event script or is this to fast? RE: LM5 Reactor Lite - Sample Rate - Daniel - 09.08.2018 Hi Did you look here? RE: LM5 Reactor Lite - Sample Rate - admin - 09.08.2018 This is not supported on Reactor lite, only Reactor devices with analog inputs have pulse meter function. RE: LM5 Reactor Lite - Sample Rate - hummelsystemhaus - 09.08.2018 (09.08.2018, 09:22)Daniel. Wrote: Hi oh okay thanks for that image. em with that image i realized...i got the wrong reactor i only got digital inputs...sorry for the stupid question then, but thanks for your advice |