[Swlug] Further interesting calculations

Rhys Sage rhys_sage at yahoo.com
Wed May 31 00:24:16 UTC 2023


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



More information about the Swlug mailing list