Student: Taariq Ghansar Supervisor: Prof. Antoine Bagula Smart Agriculture Internet of Things in Motion Term 4: Testing Student: Taariq Ghansar Supervisor: Prof. Antoine Bagula
Presentation Outline Problem Revisit Physical Layout Testing: Unit Testing Performance Testing Environment Testing
Problem Revisit Deploying IoT in Agriculture. Monitor soil and environmental characteristics through IoT sensors: Soil Moisture Humidity Temperature Monitoring several points across a field connected through the 802.15.4 LR- WPAN (Low Rate Wireless Personal Area Network). There is a large consumption of water. Water allocation for agriculture in South Africa is 60 percent according to the department of water affairs.
MQTT Broker & Subscriber Physical Layout MQTT Broker & Subscriber Sensor Node 1 (Uno) MQTT Publisher Gateway (Yun) Sensor Node 2 (Uno) There is a large consumption of water. Water allocation for agriculture in South Africa is 60 percent according to the department of water affairs.
MQTT Client Parameters Security Used: None (Non-Sensitive Information). Topics Used: "agriculture/humidity" "agriculture/temperature" "agriculture/moisture" Quality of Service: Used QoS 0. Fire once and forget, no acknowledgements, avoid re-sending. There is a large consumption of water. Water allocation for agriculture in South Africa is 60 percent according to the department of water affairs.
Testing
Unit Testing Uno (Sensor node) always transmits all characters to the serial monitor. Each character of readings is printed: Similar reading received by Yun: Reading transmitted to MQTT subscriber: (Demonstrated in video). There is a large consumption of water. Water allocation for agriculture in South Africa is 60 percent according to the department of water affairs.
Performance Testing Python subscriber receiving messages every 4 - 5 seconds. Minimal Latency. Advantage of QoS 0. There is a large consumption of water. Water allocation for agriculture in South Africa is 60 percent according to the department of water affairs.
Environment Testing The sensor node can use a battery i.e. Power Bank. Low power usage (few tens of milliwatts). 802.15.4 Pro Radio Modules. Interrupts caused by loss of signal stops the gateway functioning. There is a large consumption of water. Water allocation for agriculture in South Africa is 60 percent according to the department of water affairs.
Implementation Demo TCP – Transport Layer IP – Network Layer
Questions and Answers TCP – Transport Layer IP – Network Layer