ABSTRACT

This chapter deals with the interfacing of various sensors, input devices, output devices, and actuators with an Arduino UNO board and developing the application program for the interfaced circuit. In this chapter, readers will learn how to interface input and output devices, viz., switch, keypad matrix, light-emitting diode (LED), seven-segment display, liquid crystal display (LCD), with the Arduino UNO board, and the process of developing application programs for the interfaced circuit. In this chapter, readers will also learn how to interface a high-voltage device with the Arduino UNO board using a relay and the development of an application program for the interfaced circuit. After completing this chapter, readers will be able to demonstrate the interfacing and programming of temperature sensor (LM35), humidity and temperature sensor (DHT11), light-dependent register, touch sensor, smoke detector (MQ2), rain detector (FC-07), ultrasonic sensor (HC-SR04), and soil moisture sensor (YL-69) with the Arduino UNO board. In this chapter, readers will also learn how to interface Bluetooth module (HC-05) and GSM module (SIM 900A) with the Arduino UNO board and the development of the application program for the interfaced circuit. Few programs based on the pulse width modulation (PWM) technique in controlling the operation of hardware are also illustrated in this chapter. Readers will also learn the interfacing and programming of DC motor with the Arduino UNO board using the motor driver board (L293D).