Knock detection for 2CV

Support forum for the Knock Shield designed to connect knock sensors to Arduino projects.
DonP
Posts: 13
Joined: 04 May 2020 17:08

Re: Knock detection for 2CV

Post by DonP » 19 May 2021 20:54

Christian_Bylund wrote:
29 Apr 2021 15:08

The Knock Shield 2 software update need to include this:
  • Function as original Knock Shield.
  • RPM input.
  • Display support.
  • Data logging support.
  • Analog output support.
  • Smartphone app support.
What do you think?
Apologies for bringing this up again as previously. But could the Knock Shield 2 software update potentially also listen on the serial for input to change e.g. frequency and gain?

In pseudo code:

Code: Select all

if serial available > 0:
    if first char is "F":
        read number following 'F' and change frequency
    else if first char is "G":
        read number following 'G' and change gain
    [...]
Many thanks!

BR,
Pascal

Post Reply