ar11 crystal ball

5
AR11 - Crystal Ball By Riley, Trevon, Keegan, Reid, Liam

Upload: elchino-chiken

Post on 19-Jan-2017

90 views

Category:

Art & Photos


0 download

TRANSCRIPT

Page 1: Ar11   crystal ball

AR11 - Crystal BallBy Riley, Trevon, Keegan, Reid, Liam

Page 2: Ar11   crystal ball

Arduino Code

Page 3: Ar11   crystal ball

Arduino Code

Page 4: Ar11   crystal ball

Circuit

Page 5: Ar11   crystal ball

New Components This example demonstrates the use of a pushbutton as a switch: each time you press the button,

the LED (or whatever) is turned on (if it's off) or off (if on). It also debounces the input, without which pressing the button once would appear to the code as multiple presses.

The LiquidCrystal library allows you to control LCD displays that are compatible with the Hitachi HD44780 driver. There are many of them out there, and you can usually tell them by the 16-pin interface.

A potentiometer is a simple knob that provides a variable resistance, which we can read into the Arduino board as an analog value. In this example, that value controls the rate at which an LED blinks.