Pages created and updated by Terry Sturtevant Date Posted: April 18, 2018


CP/PC364 Data Communications and Networks Laboratory

Arduino Introduction and Linksprite LCD shield

Background

The Arduino platform was designed to simplify electronics for beginners. We'll use it for later labs, so this exercise will get you familiar with the device and the development system.

Objectives

  1. To become familiar with the Arduino platform.
  2. To produce output to an LCD display.

Equipment

Procedure

Setup

  1. Don't attach the shield yet!
    Set up the arduino with the software, and test the setup by using the sample Blink sketch.
    Demonstrate the program working.

  2. Disconnect the Arduino from the USB cable.
  3. Look at the LCD shield connectors and note which Arduino pins aren't carried through to the LCD shield.This will be needed for the postlab.
  4. Attach the LCD shield.
  5. Reconnect the USB cable
  6. Create a new sketch using the sample code provided.
    Demonstrate the program working.

  7. Pin D10 is used by the shield to control the backlight. Connect the pin to GROUND to see the effect.
    Modify your sketch by making pin 10 an output, and when the "Down" key is pressed make it LOW, and when the "UP" key is pressed, make it HIGH. (See the Blink sketch for examples of how to make a pin HIGH or LOW.)
    Demonstrate the program working.


Resources

To view pdf documents, you can download Adobe Acrobat Reader .
get Acrobat Reader
If you need to update a browser, you might try Firefox which is Get Firefox!
Since this page uses cascading style sheets for its layout, it will look best with a browser which supports the specifications as fully as possible.

If you are looking for an office package, with a word processor, spreadsheet, etc., you might try LibreOffice which is Get LibreOffice!

Go to the main page for the Department of Physics and Computer Science.

Valid XHTML 1.1

Valid CSS!

WCAG
2.0
(Level AA)

Wilfrid Laurier University