Introduction: Using Interrupts.

Picture of Using Interrupts.

This is for the lab involving interrupts and serves as a test of the lecture material.

Materials needed:

  • 4 220ohm Resistors.
  • 2 LEDs
  • 1 push button
  • 1 potentiometer
  • 1 LCD screen
  • 1 Arduino Uno
  • Handful of jumper wires.

Step 1: Interrupt Test

Picture of Interrupt Test

Start by hooking up your 5V power and ground to the breadboard.

Step 2:

Picture of

Next add two LEDs

Step 3:

Picture of

Use two of your 220 ohms resistors and ground the LEDs.

Also add your push button.

Step 4:

Picture of

Add the resistor and power to the push button. Be sure to hook up the button to digital pin 2.

Step 5:

Picture of

Next tack on your LCD screen and add the potentiometer nearby.

Be sure to hook up the middle pin to the third pin on the LCD screen to adjust the LCD.

Step 6:

Picture of

Be sure in this step to power and ground the LCD screen correctly according to the picture. Note the resistor on the right hand side.

Step 7:

Picture of

Next connect the digital pins to the arduino board from the LCD screen.

Step 8:

Comments

About This Instructable

29views

1favorite

License:

Bio: help me
More by dayzed95:Faded LEDsKeypad + ServoPlant Monitor
Add instructable to: