Display counter using Arduino

By
Patnaik, Srikant ; Spoken Tutorial Team ; IIT Bombay
(2016-11-29)

Video

Outline: Connect an LCD and a Push button to Arduino board; Use the same circuit created earlier using Arduino and LCD; Add a pushbutton and make a simple counter; Learn the connection circuit details; See the live setup of the connection; Write a program in the Arduino IDE; write the code for void loop; write a simple if statement to check whether the pushbutton is pressed or not; Compile and upload the program; See that pushbutton is working successfully; Modify the program to set a counter; Explain the error that occurs; Write a while statement; Again compile and upload the program; Output: count is increased whenever the button is pressed. Pre-requisite: Arduino with LCD.

Published by:

Spoken Tutorial IIT Bombay

DOER Persistent Identifier: http://doer.col.org/handle/123456789/8259