Pages created and updated by Terry Sturtevant Date Posted: August 27, 2018


CP480 Wireless Communication 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 and attach the LCD shield.
  3. Reconnect the USB cable
  4. Create a new sketch using the sample code provided.
    Demonstrate the program working.

  5. 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.

  6. Look at the postlab task, and complete as much of it as possible before you leave the lab.


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