Arduino
Input Devices
Take Control of Your Arduino Projects
Input devices send signals to the Arduino to trigger actions like activating a relay or updating a webpage. Buttons, switches, potentiometers, rotary encoders, and keypads are just a few of the input devices that can enhance your Arduino projects. Explore the tutorials below to learn more!
How to Set Up an IR Remote and Receiver on an Arduino
Learn how to set up an IR remote and receiver on the Arduino, how IR transmission works, and how to control the Arduino’s output pins with a remote control.
How to Set Up a Keypad on an Arduino
Learn how matrix keypads work and how to set them up and program them on an Arduino. Then build a circuit that uses a password to activate a 5V relay.
How to Use a Real-time Clock Module with the Arduino
Learn how to get the current date and time on an Arduino with a real time clock module. We demonstrate with an example project that outputs the date and time to an LCD.
How to De-bounce Switches on the Arduino
Switch bounce is a problem with almost all mechanical switches, but it can be easily fixed on the Arduino using hardware or software solutions.
Control Your DSLR Camera with an Arduino
Control the shutter of a DSLR camera with an Arduino and take time-lapse photos or trigger it with a photoresistor, motion sensor, or any other sensor.
How to Connect and Program Push Buttons on the Arduino
Learn how to connect and program push buttons on the Arduino. We discuss floating pins, pull up and pull down resistors, and the Arduino’s internal pull up resistor.Â
How to Setup PS2 Joysticks on the Arduino
How to connect a PS2 joystick to an Arduino and use it to control the brightness of four LEDs with pulse width modulation.
How to Setup and Program Rotary Encoders on the Arduino
Learn how rotary encoders work, how to connect them to an Arduino with switch de-bouncing, and how to program them with interrupts.
How to Use Interrupts on the Arduino
Use hardware and timer interrupts when you want the Arduino to perform multiple tasks at the same time.
How to Use Potentiometers on the Arduino
Potentiometers are everywhere in electronics projects because they’re an easy way to adjust the resistance and voltage in a circuit.