Question: Q2 a Question 2 (a) One commonly used open-standard format for lightweight data-interchange in Internet of Things (IoT) is JSON (JavaScript Object Notation). Below is
Q2 a
Question 2 (a) One commonly used open-standard format for lightweight data-interchange in Internet of Things (IoT) is JSON (JavaScript Object Notation). Below is an IoT data to be pushed to the cloud: location = "FOE room = "CR2046" user_id = x Sensors ["DHT11", "BMP180"] DHT11_humidity 57 DHT11_temperature 23 BMP180_pressure = 1009 Note: Replace x with your full Student ID (10 digits). i. Represent the IoT data in JSON format. ii. Write a Python code to store the IoT data in the JSON format. [4 marks] [6 marks]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
