[Swlug] Further interesting calculations
Colin Law
clanlaw at gmail.com
Wed May 31 06:39:32 UTC 2023
Which bit(s) do you need the accurate tuning on?
For the pulse output, to get that accuracy, I think you may have to go for
a hardware solution.
Colin
On Wed, 31 May 2023, 01:27 Rhys Sage via Swlug, <swlug at mailman.lug.org.uk>
wrote:
> Well spotted. I have been looking online to see whether it's possible to
> raise it to 115200 baud. I'm trying to use CPU cycle counts to keep a track
> of time. A Google search came up with the confusing statement "It is
> possible to have multiple software serial ports with a speed up to 115200
> bps, but in the Nano Every board the maximum speed is limited to 9600 bps."
>
> I've just ordered a frequency counter kit. When that arrives, I will
> attempt to send single pulses to various ports as fast as possible to see
> what the maximum attainable frequency is.
>
> The goal is to listen on a microphone connected to an ADC port for a sound
> level above a set threshold. That threshold will be set either digitally or
> via another ADC via potentiometer.
>
> After the threshold is reached, a variable time delay is initiated -
> either set digitally or via a potentiometer. That delay could be anything
> up to 0.1 seconds.
>
> Once the delay is achieved, a pulse is sent which lasts X microseconds.
> That pulse length needs to be 100,000th of a second down to 1,000,000th of
> a second.
>
> Rhys Sage
>
> --
> Swlug mailing list
> Swlug at mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/swlug
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/swlug/attachments/20230531/f9711c7a/attachment.htm>
More information about the Swlug
mailing list