Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

B8. Write an Arduino program that collects digital inputs from pins 6 and 8, and sends digital output the exclusive or of the two inputs

image text in transcribed
B8. Write an Arduino program that collects digital inputs from pins 6 and 8, and sends digital output the exclusive or of the two inputs to pin 10. (8 marks) Scenario-based questions: In a school, the school master invites an IoT consultancy company to design and develop a smart school application. The smart school application has the following functionalities: i. to provide the energy saving function in classrooms such that if there are no students inside the classrooms, the lighting and air-conditioning system will turn off ii. to provide the fire alert function in classrooms such that if there are fire inside the classrooms, there will be an alert of alarm and acknowledge to the school administrators with SMS iii. to provide the heavy raining protection function for school such that if there is heavy raining, the water-avoidance gates will be closed to prevent the flood

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Practical Database Programming With Visual Basic.NET

Authors: Ying Bai

1st Edition

0521712351, 978-0521712354

More Books

Students also viewed these Databases questions

Question

a valuing of personal and psychological privacy;

Answered: 1 week ago