Scalable PdM/AD at the Edge From 32 to 8-bit MCUs