Rohit Pratap Singh Sagar Bhan Branch- IT Roll No.: 12012053 1. Difference b/w Middleware Architecture and 5 Layer Architecture. 5-layer Architecture of IoT – 5 Layer Architecture is considered as the best- proposed architecture of IoT. 5-layer architecture is considered as best. 5 Layer model can be considered as an extension to the basic architecture of (3 Layer) IoT because it has two additional layers to the basic model. Middleware Architecture – 2. What is Iot Stack Architecture. IoT stack consists of following seven layers. 1. Sensor layer 2. Processing/control layer 3. Hardware interface layer 4. RF layer 5. Session/message layer 6. User experience layer 7. Application layer.