The paper presents a novel layered architecture for sensor signal processing in Internet of Things (IoT) applications using high-level synthesis. It proposes a four-layer framework that enhances efficiency and reduces resource consumption by optimizing the design of processing elements (PEs) in sensor devices, leveraging a database management function for behavioral synthesis. Experimental results demonstrate significant reductions in layout area and power consumption, marking advancements in embedded PE for IoT applications.