Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Standard view
Full view
of .
Look up keyword
Like this
0 of .
Results for:
No results containing your search query
P. 1
Arduino - Learning

Arduino - Learning

Ratings: (0)|Views: 622|Likes:
Published by Awais Tunio

More info:

Published by: Awais Tunio on Aug 25, 2010
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less





See the
 for in-depth description of core concepts of the Arduino hardware and software; the
for information on extending and modifying the Arduino hardware and software; and the
 for otherdocumentation.
Simple programs that demonstrate the use of the Arduinoboard. These are included with the Arduino environment; toopen them, click the Open button on the toolbar and look inthe
folder. (If you're looking for an olderexample, check theArduino 0007 tutorials page.)
Digital I/O
Blink:turn an LED on and off.Blink Without Delay:blinking an LED without usingthe delay() function.Button:use a pushbutton to control an LED.Debounce:read a pushbutton, filtering noise.Loop: controlling multiple LEDs with a loop and anarray.
Analog I/O
Analog Input: use a potentiometer to control theblinking of an LED.Fading:uses an analog output (PWM pin) to fade anLED.Knock: detect knocks with a piezo element.Smoothing: smooth multiple readings of an analoginput.
These examples include code that allows the Arduino to talkto Processing sketches running on the computer. For moreinformation or to download Processing, seeprocessing.org.
ASCII Table:demonstrates Arduino's advanced serialoutput functions.Dimmer:move the mouse to change the brightnessof an LED.Graph: sending data to the computer and graphing itin Processing.Physical Pixel:turning on and off an LED by sendingdata from Processing.Virtual Color Mixer: sending multiple variables fromArduino to the computer and reading them inProcessing.
EEPROM Library
Other Examples
These are more complex examples for using particularelectronic components or accomplishing specific tasks. Thecode is included on the page.
Timing & Millis
Complex Sensors
Interfacing w/ Hardware
EEPROM Clear: clear the bytes in the EEPROM.EEPROM Read: read the EEPROM and send its valuesto the computer.EEPROM Write:stores values from an analog input tothe EEPROM.
Stepper Library
Motor Knob: control a stepper motor with apotentiometer.Edit Page|Page History|Printable View|All Recent Site Changes
This page contains explanations of some of the elements of the Arduino hardware and software and the concepts behindthem.Page Discussion
Sketch: The various components of a sketch and how they work.
Digital Pins:How the pins work and what it means for them to be configured as inputs or outputs.Analog Input Pins: Details about the analog-to-digital conversion and other uses of the pins.PWM: How the analogWrite() function simulates an analog output using pulse-width modulation.Memory: The various types of memory available on the Arduino board.
 Arduino Firmware
Bootloader: A small program pre-loaded on the Arduino board to allow uploading sketches.
Programming Technique
Variables: How to define and use variables.Port Manipulation: Manipulating ports directly for faster manipulation of multiple pinsEdit Page|Page History|Printable View|All Recent Site Changes

Activity (11)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
fgaluppo liked this
anon_811343130 liked this
windua liked this
Joseph Andy liked this
Alvaro Barcellos liked this
ans777 liked this
lcumsch2336 liked this

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->