Search found 10 matches

by viktor_aust
Sun Jan 11, 2026 8:56 pm
Forum: General
Topic: Duration measurement between two pulses
Replies: 10
Views: 244

Re: Duration measurement between two pulses

Hi Martin. I found on www a few weeks back ------------------------------------------ Two ways to measure the flow rate • Count the number of pulses in a known time period. • Time the period between two pulses. The first is easy and accurate but the more accurate you make it, the fewer measurements ...
by viktor_aust
Sat Jan 10, 2026 6:42 pm
Forum: General
Topic: Duration measurement between two pulses
Replies: 10
Views: 244

Re: Duration measurement between two pulses

What I have to do - I need to use the created by Timer1 time as the reference value and calculate the time duration between the two pulses from the paddle wheel from P-66. The more I think about it the clear I see the need to use c-code. I am busy right now with the different projects. Not sure when...
by viktor_aust
Fri Jan 09, 2026 8:39 pm
Forum: General
Topic: Duration measurement between two pulses
Replies: 10
Views: 244

Re: Duration measurement between two pulses

Many thanks mnfisher.
Will post results shortly.
by viktor_aust
Fri Jan 09, 2026 5:18 am
Forum: General
Topic: Duration measurement between two pulses
Replies: 10
Views: 244

Re: Duration measurement between two pulses

Would be good. Thanks.
by viktor_aust
Thu Jan 08, 2026 11:20 pm
Forum: General
Topic: Duration measurement between two pulses
Replies: 10
Views: 244

Re: Duration measurement between two pulses

Thanks mnfisher I was thinking to stay away from c-code for a while. I am not sure if I can. --- Some suggest to set the Timer1 (Atmega328) to 1024 prescaler. 16 MHz / 1024 = 15625 Hz. 1/15625 = 0.000064 seconds 65536 * 0.000064 = 4.19 seconds. Where 4.19 is the Timer1 overflow duration (is it?) ---...
by viktor_aust
Thu Jan 08, 2026 7:39 am
Forum: General
Topic: Duration measurement between two pulses
Replies: 10
Views: 244

Duration measurement between two pulses

Hi
The duration between two pulses calculation question.
------------------------------------------------------------------
I have an AirMar P66 transducer.
Not a smart one, but the analogue one.
Has anybody read the paddle wheel speed from this transducer?
And maybe the depth sensor as well?
Thanks.
by viktor_aust
Tue Jan 06, 2026 8:42 pm
Forum: General
Topic: FC11 Read float fr LUT err (Solved)
Replies: 7
Views: 238

Re: FC11 Read float fr LUT err (Solved)

Thank you mnfisher
Was carefull with floats before. Will be more now.
Thanks again.
by viktor_aust
Mon Jan 05, 2026 8:53 pm
Forum: General
Topic: FC11 Read float fr LUT err (Solved)
Replies: 7
Views: 238

Re: FC11 Read float fr LUT problems

Thank you Ben. All good. Works now.

Floats and Atmega328 question.

Is it a good idea to use floats with Ard Nano?
I can use uint and insert the dot later on (to mimic the float).
Will it ease the load on Atmega328 and save the space in the memory if I stay away from the floats?
by viktor_aust
Sun Jan 04, 2026 10:16 pm
Forum: General
Topic: FC11 Read float fr LUT err (Solved)
Replies: 7
Views: 238

FC11 Read float fr LUT err (Solved)

Hi
I have no problems reading the uint from Lut2.
Cannot read the floats from Lut1 for some reason.
Any help please?