Review Questions
1. What is Arduino?
2. What are the advantages of Arduino?
3. How to configure Arduino?
4. Describe Arduino board and define its components with use
5. Which IDE can you use to program Arduino?
6. What are the functions in Arduino? How to use them?
7. How to define Arrays in Arduino?
8. What are libraries in Arduino?
9. What is Raspberry Pi?
10. Define Raspberry Pi Board?
11. How do you program in Raspberry Pi?
12. Do you need to install any special software on the computer to program Raspberry Pi?
13. Which language to use to program Raspberry Pi?
14. What is the difference between Arduino and Raspberry Pi?
Challenge Questions
1. Who has created Arduino?
2. Which language is used to write Arduino?
3. Is Arduino OpenSource?
4. How do you define sketch in Arduino?
5. How many software structure functions are there in Arduino and what are those?
6. Does Raspberry Pi contain internal memory?
7. How to provide power to Raspberry Pi?
8. What type of Ethernet/LAN cable is used in Raspberry Pi?
9. What is the default user in Raspberry Pi?
10. Can storage be extended by adding micro SD card to Raspberry Pi?
Hands-On Practice Task
Practice Task 1: Arduino Robot
Task 1
Build a car based on Arduino board. This car should have four tires and a motor that is con-
trolled by Arduino. For now, let’s just make this car move forward.
Task 2
Take this car model and add an ultrasonic sensor to detect obstacles. Program Arduino board
to get signal from this ultrasonic sensor. Based on this signal instruct the motor to stop and
reverse. This will make your car a little intelligent so it can avoid obstacles.
Task 3
Use this car model, which can now detect obstacles and re-position them in case of obstacles.
Now, add Sound Detection Sensor, which can detect any type of sound that is loud enough
for the sensor’s microphonesuch as door knocks and claps. Program Arduino board to act also
on this loud noise. If this sensor detects such noises it will change its course the same way it
behaves in case of obstacles.
338 Internet of Things
Internet_of_Things_CH13_pp327-348.indd 338 9/3/2019 10:17:04 AM
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.141.24.134