mmWave human presence for under $20?!

Nah, it’s for the 24Ghz one.

Same idea for the 60Ghz one but different packet header and checksum(which doesn’t matter for reading)

For the 60Ghz one, you would wait until you see the end of frame packet 0x54 0x43

void loop() override
{
    while (available() > 0)
    {
        bytes.push_back(read());

        //End of Frame is 0x54 0x43
        if(bytes[bytes.size()-2] == 0x54 && bytes[bytes.size()-1] == 0x43)
        {            
            processPacket();
            bytes.clear();        
        }
    }
}

1 Like