Tutorial.HomePage History

Show minor edits - Show changes to markup

June 02, 2010, at 07:39 PM by David Cuartielles -
Changed lines 34-39 from:
  • If Statement (Conditional): how to use an if statement to change output conditions based on changing input conditions.
  • For Loop: controlling multiple LEDs with a for loop and.
  • Array: A variation on the For Loop example that demonstrates how to use an array.
  • While Loop: how to use a while loop to calibrate a sensor while a button is being read.
  • Switch Case: how to choose between a discrete number of values. Equivalent to multiple If statements. This example shows how to divide a sensor's range into a set of four bands and to take four different actions depending on which band the result is in.
  • Switch Case 2 A second switch-case example, showing how to take different actions based in characters received in the serial port.
to:
  • Proposición If (estrucutura condicional): cómo usar la proposición if para cambiar las condiciones de salida en función de las condiciones de entrada.
  • Bucle For: controlar múltiples LEDs usando un búcle.
  • Array: una variación del ejemplo anterior demostrando cómo usar un array.
  • Bucle While: uso de un bucle while para calibrar un sensor mientras se aprieta un botón.
  • Switch Case: cómo discriminar entre distintos valores numéricos. Equivalente a una serie de proposiciones if encadenadas. Este ejemplo muestra como dividir el rango de un sensor de entrada en cuatro bandas y cómo tomar diferentes acciones en función de la banda en la que caiga el valor del sensor.
  • Switch Case 2: un segungo ejemplo con switch-case, muestra como tomar diferentes acciones basado en los caracteres recibidos por el puerto serie.
Changed lines 41-68 from:

Sensors

  • ADXL3xx: Read an ADXL3xx accelerometer.
  • Knock: detect knocks with a piezo element.
  • Memsic2125 : two-axis acceleromoter
  • Ping: detecting objects with an ultrasonic range finder

Communication

These examples include code that allows the Arduino to talk to Processing sketches running on the computer. For more information or to download Processing, see processing.org. There are also Max/MSP patches that can communicate with each Arduino sketch as well. For more on Max/MSP see Cycling 74

  • ASCII Table: demonstrates Arduino's advanced serial output functions.
  • Dimmer: move the mouse to change the brightness of an LED.
  • Graph: sending data to the computer and graphing it in Processing.
  • Physical Pixel: turning on and off an LED by sending data from Processing.
  • Virtual Color Mixer: sending multiple variables from Arduino to the computer and reading them in Processing.
  • Serial Call Response: sending multiple vairables using a call-and-response (handshaking) method.
  • Serial Call Response ASCII: sending multiple vairables using a call-and-response (handshaking) method, and ASCII-encoding the values before sending.
  • Serial input how to take different actions based in characters received in the serial port.
  • MIDI How to send MIDI note messages serially.

Display

Examples of basic display control

to:

Sensores

  • ADXL3xx: Lee un sensor acelerómetro tipo ADXL3xx.
  • Knock: usa un piezo para detectar vibraciones.
  • Memsic2125 : acelerómetro de doble eje.
  • Ping: detecta objetos con un sensor de ultrasonidos.

Comunicación

Estos ejemplos incluyen código que permite a Arduino comunicar con sketches de Processing corriendo en el ordenador. Para más información o para descargar Processing, visita processing.org. Hay también patches para Max/MSP que pueden comunicar con Arduino. Para más información acerca de Max/MSP, visita la web de Cycling 74

  • ASCII Table: Tabla ASCII, demostración de las funciones avanzadas de comunicación serie de Arduino.
  • Dimmer: mueve el ratón para cambiar la intensidad de un LED.
  • Graph: envía datos al ordenador y crea gráficos con Processing.
  • Physical Pixel: pixel físico, enciende y apaga un LED en la placa al enviar datos desde Processing.
  • Virtual Color Mixer: mezclador de colores virtual, envía una serie de variables desde Arduino al ordenador y leelas en Processing.
  • Serial Call Response: respuesta a llamadas serie, envía variables en respuesta a una petición (handshake).
  • Serial Call Response ASCII: respuesta ASCII a llamadas serie, envía variables en respuesta a una petición (handshake), codifica los valores usando el código ASCII antes de enviarlos.
  • Serial input: entrada serie, toma diferentes acciones en función de los datos que llegan por el puerto serie.
  • MIDI: envía notas MIDI por el puerto serie.

Mostrando Información (Display)

Ejemplos básicos para mostrar información.

  • Bar Graph: cómo hacer un gráfico de barras con LEDs.
  • Row Column Scanning: escanéo en filas y columnas, control de una matriz de 8x8 LEDs
Changed lines 71-109 from:

Libraries

Examples from the libraries that are included in the Arduino software.

EEPROM Library

  • EEPROM Clear: clear the bytes in the EEPROM.
  • EEPROM Read: read the EEPROM and send its values to the computer.
  • EEPROM Write: stores values from an analog input to the EEPROM.

LiquidCrystal Library

  • Hello World - displays "hello world!" and the seconds since reset
  • Blink - control of the block-style cursor
  • Cursor - control of the underscore-style cursor
  • Display - quickly blank the display without losing what's on it.
  • TextDirection - control which way text flows from the cursor
  • Scroll - scroll text left and right
  • Serial input - accepts serial input, displays it
  • SetCursor - set the cursor position
  • Autoscroll - shift text right and left

Servo Library

  • Knob: control the shaft of a servo motor by turning a potentiometer.
  • Sweep: sweeps the shaft of a servo motor back and forth.

Stepper Library

  • Motor Knob: control a stepper motor with a potentiometer.

Arduino as ISP Programmer

ISP programmer Turn your Arduino into an in-circuit programmer to re-program Atmega chips. Useful when you need to re-load the bootloader on an Arduino, or if you're making your own Arduino-compatible circuit on a breadboard.

More

For a huge list of examples from the Arduino community, see the interfacing with hardware page on the playground wiki. Also see the list of old examples.

to:

Librerías

Ejemplos de las librerías que vienen incluidas con el software Arduino.

Librería EEPROM

  • EEPROM Clear: borra los bytes de la EEPROM.
  • EEPROM Read: lee los valores de la EEPROM y envía los datos a un ordenador.
  • EEPROM Write: almacena en la EEPROM los valores leídos de un sensor analógico.

Librería Cristal Líquido (LiquidCrystal)

  • Hello World: muestra "hello world!" y el tiempo -en segundos- desde el último reset.
  • Blink: controla el cursor en modo bloque.
  • Cursor: controla el cursor en modo subrayado.
  • Display: borra el display sin perder lo que esté en él.
  • TextDirection: controla en que dirección fluye el texto desde el cursor.
  • Scroll: haz scroll del texto a derecha e izquierda.
  • Serial input: toma datos del puerto serie y muestralos.
  • SetCursor: fija la posición del cursor.
  • Autoscroll: mueve el texto a derecha e izquierda.

Librería Servo

  • Knob: controla el ángulo de un servo motor al girar un potenciómetro.
  • Sweep: hace girar un servo motor alante y atrás.

Librería Paso-a-Paso Stepper

  • Motor Knob: controla un motor paso-a-paso con un potenciómetro.

Arduino como Programador ISP

ISP programmer: transforma tu Arduino en un programador de circuitor (In Circuit Programmer) para reprogramar chips de la familia ATmega. Útil cuando se quiere recargar el bootloader en un Arduino, o si se está creando un Arduino en un breadboard.

Más

Para ver más ejemplos creador por la comunidad de Arduino, visita la página de interficies con hardware en la wiki playground. También puedes visitar la lista de ejemplos antigüos.

June 01, 2010, at 05:09 PM by Equipo Traduccion -
Changed lines 10-33 from:

Basics

Simple programs that demonstrate basic Arduino commands. These are included with the Arduino environment; to open them, click the Open button on the toolbar and look in the examples folder.

Digital I/O

  • Blink: turn an LED on and off.
  • Blink Without Delay: blinking an LED without using the delay() function.
  • Button: use a pushbutton to control an LED.
  • Button State Change counting the number of button pushes
  • Debounce: read a pushbutton, filtering noise.
  • Tone: play a melody with a Piezo speaker.
  • Pitch follower: play a pitch on a piezo speaker depending on an analog input
  • Simple Keyboard A three-key musical keyboard using force sensors and a piezo speaker.
  • Tone4 Play tones on multiple speakers sequentially using the tone() command.

Analog I/O

  • Analog Input: use a potentiometer to control the blinking of an LED.
  • Calibration: for analog sensor readings
  • Fading: uses an analog output (PWM pin) to fade an LED.
  • Smoothing: smooth multiple readings of an analog input.

Control Structures

to:

Conceptos Básicos

Pequeños programas que demuestran los comandos básicos de Arduino. Estos vienen por defecto con el entorno de desarrollo Arduino; para abrirlos en tu ordenador, haz click en el botón Open de la barra de herramientas y la carpeta examples o en el menú File -> Examples dónde los encontrarás agrupados por temáticas.

Entradas/Salidas Digitales

  • Blink: parpadeo, enciende y apaga un LED.
  • Blink Without Delay: parpadeo sin delay, enciende y apaga el LED sin usar la función delay().
  • Button: botón, control de un LED usando un pulsador.
  • Button State Change: cambio de estado del botón, cuenta del número de veces que se presiona un botón.
  • Debounce: lee un pulsador, filtrando el ruido.
  • Tone: tono, toca una melodía usando un Piezo.
  • Pitch follower: seguidor de pitch, cambia el pitch de un tono usando una entrada analógica.
  • Simple Keyboard: teclado simple, un teclado musical de sólo tres teclas usando sensores de fuerza y un Piezo.
  • Tone4: toca tonos en varios altavoces secuencialmente usando el comando tone().

Entradas/Salidas Analógicas

  • Analog Input: entrada analógica, usa un potenciometro para controlar la frecuencia de parpadeo de un LED.
  • Calibration: calibración, para lecturas de sensores analógicos.
  • Fading: emplea una salida analógica (por modulación de ancho de pulso - PWM) para cambiar la intensidad lumnínica de un LED de forma gradual.
  • Smoothing: suavizado, suaviza multiples lecturas de una entrada analógica.

Estructuras de Control

June 01, 2010, at 04:45 PM by Equipo Traduccion -
Changed lines 1-7 from:
to:
March 23, 2010, at 09:40 PM by Tom Igoe -
Added lines 104-105:

Arduino as ISP Programmer

ISP programmer Turn your Arduino into an in-circuit programmer to re-program Atmega chips. Useful when you need to re-load the bootloader on an Arduino, or if you're making your own Arduino-compatible circuit on a breadboard.

March 08, 2010, at 04:55 PM by Tom Igoe -
Changed lines 24-25 from:
to:
  • Tone4 Play tones on multiple speakers sequentially using the tone() command.
February 09, 2010, at 01:53 PM by Tom Igoe -
Changed lines 21-22 from:
  • Melody: play melodies with a Piezo speaker.
to:
  • Tone: play a melody with a Piezo speaker.
  • Pitch follower: play a pitch on a piezo speaker depending on an analog input
  • Simple Keyboard A three-key musical keyboard using force sensors and a piezo speaker.
December 23, 2009, at 11:18 PM by David A. Mellis -
Changed lines 59-60 from:

Display

to:

Display

December 23, 2009, at 11:18 PM by David A. Mellis -
Deleted lines 58-59:
Added lines 65-67:
September 24, 2009, at 12:18 AM by David A. Mellis -
Changed line 84 from:
to:
Changed lines 88-90 from:
  • Shift? - shift text right and left

to:

July 09, 2009, at 10:26 PM by Tom Igoe -
Added lines 77-90:

LiquidCrystal Library

  • Hello World - displays "hello world!" and the seconds since reset
  • Blink - control of the block-style cursor
  • Cursor - control of the underscore-style cursor
  • Display - quickly blank the display without losing what's on it.
  • IncrementDecrement? - control which way text flows from the cursor
  • Scroll - scroll text left and right
  • Serial input - accepts serial input, displays it
  • SetCursor - set the cursor position
  • Shift? - shift text right and left

July 05, 2009, at 08:56 PM by Tom Igoe -
Deleted lines 30-32:
  • For Loop and Array: controlling multiple LEDs with a for loop and an array.
  • While Loop: how to use a while loop to calibrate a sensor while a button is being read.
Added lines 32-34:
  • For Loop: controlling multiple LEDs with a for loop and.
  • Array: A variation on the For Loop example that demonstrates how to use an array.
  • While Loop: how to use a while loop to calibrate a sensor while a button is being read.
July 05, 2009, at 07:06 PM by Tom Igoe -
July 03, 2009, at 12:52 AM by Tom Igoe -
Changed lines 57-58 from:
to:
  • MIDI How to send MIDI note messages serially.
July 01, 2009, at 08:26 PM by Tom Igoe -
Added line 36:
  • Switch Case 2 A second switch-case example, showing how to take different actions based in characters received in the serial port.
Changed lines 56-57 from:
to:
  • Serial input how to take different actions based in characters received in the serial port.
July 01, 2009, at 07:47 PM by Tom Igoe -
Deleted line 20:
Changed line 35 from:
  • Switch Case: how to choose between a discrete number of values. Equivalent to multiple If statemtns.
to:
  • Switch Case: how to choose between a discrete number of values. Equivalent to multiple If statements. This example shows how to divide a sensor's range into a set of four bands and to take four different actions depending on which band the result is in.
July 01, 2009, at 07:46 PM by Tom Igoe -
Changed lines 36-37 from:
to:
  • Switch Case: how to choose between a discrete number of values. Equivalent to multiple If statemtns.
July 01, 2009, at 01:02 PM by Tom Igoe -
Added lines 6-7:

Here's a style guide that helps with writing examples for beginners.

June 30, 2009, at 05:26 PM by Tom Igoe -
Changed lines 59-60 from:

LED Bar Graph How to make an LED bar graph Row Column Scanning How to control an 8x8 matrix of LEDs

to:
June 30, 2009, at 05:26 PM by Tom Igoe -
Added lines 55-60:

Display

Examples of basic display control LED Bar Graph How to make an LED bar graph Row Column Scanning How to control an 8x8 matrix of LEDs

June 25, 2009, at 09:39 PM by Tom Igoe -
Changed lines 33-34 from:
to:
  • If Statement (Conditional): how to use an if statement to change output conditions based on changing input conditions.
June 25, 2009, at 08:59 PM by Tom Igoe -
Changed line 19 from:
  • Loop: controlling multiple LEDs with a loop and an array.
to:
Added lines 29-33:

Control Structures

  • For Loop and Array: controlling multiple LEDs with a for loop and an array.
  • While Loop: how to use a while loop to calibrate a sensor while a button is being read.
June 25, 2009, at 01:01 AM by Tom Igoe -
Added line 17:
April 16, 2009, at 12:03 PM by Tom Igoe -
Added line 43:
  • Virtual Color Mixer: sending multiple variables from Arduino to the computer and reading them in Processing.
Deleted lines 44-45:
  • Virtual Color Mixer: sending multiple variables from Arduino to the computer and reading them in Processing.
  • Serial Call Response: sending multiple vairables using a call-and-response (handshaking) method.
April 16, 2009, at 12:58 AM by Tom Igoe -
Changed lines 37-38 from:

These examples include code that allows the Arduino to talk to Processing sketches running on the computer. For more information or to download Processing, see processing.org.

to:

These examples include code that allows the Arduino to talk to Processing sketches running on the computer. For more information or to download Processing, see processing.org. There are also Max/MSP patches that can communicate with each Arduino sketch as well. For more on Max/MSP see Cycling 74

April 16, 2009, at 12:55 AM by Tom Igoe -
Added line 43:
Changed lines 45-47 from:
to:
  • Serial Call Response: sending multiple vairables using a call-and-response (handshaking) method.
  • Serial Call Response ASCII: sending multiple vairables using a call-and-response (handshaking) method, and ASCII-encoding the values before sending.
February 10, 2009, at 10:47 AM by David A. Mellis -
Changed lines 27-28 from:
to:
February 10, 2009, at 04:11 AM by Paul Badger -
Changed lines 27-28 from:
to:
February 06, 2009, at 06:30 PM by David A. Mellis -
Deleted lines 64-93:
Changed lines 67-68 from:

For a huge list of examples from the Arduino community, see the interfacing with hardware page on the playground wiki.

to:

For a huge list of examples from the Arduino community, see the interfacing with hardware page on the playground wiki. Also see the list of old examples.

February 06, 2009, at 06:19 PM by David A. Mellis -
Deleted line 75:
Changed lines 77-78 from:
  • Heartbeat
to:
Added lines 95-98:

More

For a huge list of examples from the Arduino community, see the interfacing with hardware page on the playground wiki.

February 06, 2009, at 06:16 PM by David A. Mellis -
Changed lines 19-20 from:
to:
  • Melody: play melodies with a Piezo speaker.
Deleted line 22:
  • ADXL3xx: Read an ADXL3xx accelerometer.
Added line 24:
Deleted line 25:
  • Knock: detect knocks with a piezo element.
Added lines 28-34:

Sensors

  • ADXL3xx: Read an ADXL3xx accelerometer.
  • Knock: detect knocks with a piezo element.
  • Memsic2125 : two-axis acceleromoter
  • Ping: detecting objects with an ultrasonic range finder
Deleted lines 80-81:
  • Ping: detecting objects with an ultrasonic range finder
  • Memsic2125: two-axis acceleromoter
Changed lines 82-83 from:
to:
Changed lines 84-86 from:
to:
February 06, 2009, at 05:10 AM by Paul Badger -
Changed lines 71-72 from:
to:
  • Heartbeat
December 27, 2008, at 01:12 AM by Paul Badger -
Added line 69:
December 10, 2008, at 01:02 PM by David A. Mellis -
Deleted line 68:
November 22, 2008, at 06:33 PM by David A. Mellis -
Deleted lines 83-84:
November 07, 2008, at 10:27 AM by David A. Mellis -
Changed lines 76-77 from:
to:
November 07, 2008, at 10:25 AM by David A. Mellis -
Changed lines 74-75 from:
to:
November 03, 2008, at 03:53 PM by David A. Mellis -
Added line 73:
  • Ping: detecting objects with an ultrasonic range finder
October 29, 2008, at 10:27 PM by David A. Mellis -
Changed lines 76-77 from:
to:
October 20, 2008, at 11:06 PM by David A. Mellis -
Changed line 78 from:
to:
October 13, 2008, at 09:08 PM by David A. Mellis -
Added line 51:
  • Knob: control the shaft of a servo motor by turning a potentiometer.
October 12, 2008, at 12:38 PM by David A. Mellis -
Changed lines 79-80 from:
  • MIDI Output (from ITP physcomp labs) and from Spooky Arduino
to:
Deleted line 83:
  • Driving a DC Motor with an L293 (from ITP physcomp labs).
Changed line 87 from:
  • RS-232 computer interface
to:
October 12, 2008, at 12:32 PM by David A. Mellis -
Changed lines 8-11 from:

Examples

Simple programs that demonstrate the use of the Arduino board. These are included with the Arduino environment; to open them, click the Open button on the toolbar and look in the examples folder. (If you're looking for an older example, check the Arduino 0007 tutorials page.)

to:

Basics

Simple programs that demonstrate basic Arduino commands. These are included with the Arduino environment; to open them, click the Open button on the toolbar and look in the examples folder.

October 12, 2008, at 12:30 PM by David A. Mellis -
Added lines 49-52:

Servo Library

  • Sweep: sweeps the shaft of a servo motor back and forth.
October 11, 2008, at 11:52 PM by David A. Mellis -
Added lines 38-42:
Deleted lines 52-53:
October 11, 2008, at 11:45 PM by David A. Mellis -
Added line 22:
  • ADXL3xx: Read an ADXL3xx accelerometer.
Deleted line 64:
September 26, 2008, at 11:29 PM by Paul Badger -
Changed lines 61-62 from:
to:
July 02, 2008, at 10:11 PM by David A. Mellis -
Changed lines 2-3 from:

Arduino Examples

to:

Examples

July 02, 2008, at 10:11 PM by David A. Mellis -
Changed lines 4-5 from:

See the foundations page for in-depth description of core concepts of the Arduino hardware and software, and the links page for other documentation.

to:

See the foundations page for in-depth description of core concepts of the Arduino hardware and software; the hacking page for information on extending and modifying the Arduino hardware and software; and the links page for other documentation.

July 02, 2008, at 09:07 PM by David A. Mellis -
Added line 63:
May 22, 2008, at 04:44 AM by David A. Mellis -
Deleted lines 42-45:

Matrix Library

May 22, 2008, at 04:43 AM by David A. Mellis -
Added lines 43-46:

Matrix Library

May 22, 2008, at 04:36 AM by David A. Mellis -
Added lines 43-46:

Stepper Library

  • Motor Knob: control a stepper motor with a potentiometer.
May 22, 2008, at 04:25 AM by David A. Mellis - adding EEPROM examples.
Added lines 37-42:

EEPROM Library

  • EEPROM Clear: clear the bytes in the EEPROM.
  • EEPROM Read: read the EEPROM and send its values to the computer.
  • EEPROM Write: stores values from an analog input to the EEPROM.
May 22, 2008, at 04:22 AM by David A. Mellis -
Changed line 15 from:
to:
April 30, 2008, at 01:55 AM by David A. Mellis - moving the resources to the links page.
Changed lines 2-5 from:

Arduino Tutorials

Here you will find a growing number of examples and tutorials for accomplishing specific tasks or interfacing to other hardware and software with Arduino. For instructions on getting the board and environment up and running, see the Arduino Getting Started.

to:

Arduino Examples

See the foundations page for in-depth description of core concepts of the Arduino hardware and software, and the links page for other documentation.

Added line 15:
Changed lines 37-42 from:
to:
Changed lines 41-42 from:

These are more complex examples for using particular electronic components or accomplishing specific tasks. The code is included in the tutorial.

to:

These are more complex examples for using particular electronic components or accomplishing specific tasks. The code is included on the page.

Deleted lines 43-44:
Added lines 49-51:

Timing & Millis

Deleted lines 75-125:
April 24, 2008, at 05:29 AM by David A. Mellis -
Changed line 6 from:
to:
April 23, 2008, at 12:59 AM by Paul Badger -
Changed line 39 from:
to:
Changed line 41 from:
to:
April 23, 2008, at 12:56 AM by Paul Badger -
Added lines 40-41:
April 18, 2008, at 02:22 PM by Paul Badger -
Added lines 36-39:
Changed line 46 from:
to:
April 09, 2008, at 03:22 AM by David A. Mellis - moving TwoSwitchesOnePin to "other examples" since it's not (yet) in the distribution.
Changed lines 18-19 from:
to:
Added line 43:
April 09, 2008, at 02:41 AM by Paul Badger -
Changed lines 18-19 from:
to:
March 10, 2008, at 01:20 AM by David A. Mellis -
Changed lines 73-78 from:
to:

See the foundations page for explanations of the concepts involved in the Arduino hardware and software.

March 08, 2008, at 04:26 AM by Paul Badger -
Changed lines 73-75 from:

to:
March 08, 2008, at 04:24 AM by Paul Badger -
Changed lines 74-107 from:
to:
March 08, 2008, at 04:09 AM by Paul Badger -
Added lines 80-81:
February 16, 2008, at 01:00 AM by David A. Mellis -
Changed lines 72-73 from:

Tutorials

to:

Foundations

Changed lines 108-109 from:

More Tutorials

to:

Tutorials

February 14, 2008, at 05:42 AM by Paul Badger -
Changed lines 4-5 from:

Here you will find a growing number of examples and tutorials for accomplishing specific tasks or interfacing to other hardware and software with Arduino. For instructions on getting the board and environment up and running, see the Arduino guide.

to:

Here you will find a growing number of examples and tutorials for accomplishing specific tasks or interfacing to other hardware and software with Arduino. For instructions on getting the board and environment up and running, see the Arduino Getting Started.

February 14, 2008, at 05:06 AM by David A. Mellis -
February 14, 2008, at 04:58 AM by David A. Mellis -
Added lines 100-103:
  • Optimization?: What to do when your program runs too slowly.

  • Debugging?: Figuring out what's wrong with your hardware or software and how to fix it.
February 14, 2008, at 04:41 AM by David A. Mellis -
Added lines 90-99:
  • Numbers?: The various types of numbers available and how to use them.

  • Variables: How to define and use variables.

  • Arrays?: How to store multiple values of the same type.

  • Pointers?:

  • Functions?: How to write and call functions.
February 14, 2008, at 04:38 AM by David A. Mellis -
Changed lines 86-87 from:
to:
  • Serial Communication?: How to send serial data from an Arduino board to a computer or other device (including via the USB connection).

  • Interrupts?: Code that interrupts other code under certain conditions.
February 14, 2008, at 04:36 AM by David A. Mellis -
Added lines 80-81:
Added lines 84-89:
February 14, 2008, at 04:31 AM by David A. Mellis -
Changed lines 80-81 from:
  • PWM (Pulse-Width Modulation): The method used by analogWrite() to simulate an analog output with digital pins.
to:
February 14, 2008, at 04:30 AM by David A. Mellis -
Added lines 80-81:
  • PWM (Pulse-Width Modulation): The method used by analogWrite() to simulate an analog output with digital pins.
February 14, 2008, at 04:22 AM by David A. Mellis -
Added lines 80-81:
  • Bootloader: A small program pre-loaded on the Arduino board to allow uploading sketches.
February 14, 2008, at 04:12 AM by David A. Mellis -
Added lines 74-81:
  • Memory: The various types of memory available on the Arduino board.

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

More Tutorials

January 11, 2008, at 06:31 PM by David A. Mellis - linking to board setup and configuration on the playground.
Added lines 76-77:

Board Setup and Configuration: Information about the components and usage of Arduino hardware.

December 20, 2007, at 06:54 AM by David A. Mellis - adding links to other pages: the tutorial parts of the playground, ladyada's tutorials, todbot, etc.
Changed lines 36-42 from:
to:

Other Examples

These are more complex examples for using particular electronic components or accomplishing specific tasks. The code is included in the tutorial.

Changed lines 71-78 from:

Other Arduino Tutorials

  • Tutorials from the Arduino playground
  • Example labs from ITP
  • Spooky Arduino and more from Todbot
  • Examples from Tom Igoe
  • Examples from Jeff Gray
to:
December 14, 2007, at 06:08 AM by David A. Mellis - adding debounce example.
Added line 16:
  • Debounce: read a pushbutton, filtering noise.
August 29, 2007, at 06:15 AM by Tom Igoe -
Changed lines 71-72 from:
to:
  • X10 output control devices over AC powerlines using X10

June 16, 2007, at 12:04 AM by David A. Mellis - adding link to Processing (for the communication examples)
Added lines 27-28:

These examples include code that allows the Arduino to talk to Processing sketches running on the computer. For more information or to download Processing, see processing.org.

June 12, 2007, at 03:57 PM by David A. Mellis - removing link to obsolete joystick example.
Deleted line 43:
June 12, 2007, at 06:14 AM by David A. Mellis -
Changed lines 10-11 from:

Simple programs that demonstrate the use of the Arduino board. These are included with the Arduino environment; to open them, click the Open button on the toolbar and look in the examples folder. (If you're looking for an older example, check the Arduino 0007 tutorials page.

to:

Simple programs that demonstrate the use of the Arduino board. These are included with the Arduino environment; to open them, click the Open button on the toolbar and look in the examples folder. (If you're looking for an older example, check the Arduino 0007 tutorials page.)

June 12, 2007, at 06:13 AM by David A. Mellis -
Changed lines 10-11 from:

Simple programs that demonstrate the use of the Arduino board. These are included with the Arduino environment; to open them, click the Open button on the toolbar and look in the examples folder.

to:

Simple programs that demonstrate the use of the Arduino board. These are included with the Arduino environment; to open them, click the Open button on the toolbar and look in the examples folder. (If you're looking for an older example, check the Arduino 0007 tutorials page.

June 12, 2007, at 06:10 AM by David A. Mellis - updating to 0008 examples
Changed lines 10-11 from:

Digital Output

to:
Deleted lines 42-51:

Digital Input

Deleted lines 43-45:

Analog Input

Deleted lines 45-46:
Changed lines 52-53 from:
  • Use two Arduino pins as a capacitive sensor
to:
Deleted line 54:
  • More sound ideas
Added line 64:
Changed lines 70-72 from:
to:

Other Arduino Tutorials

  • Tutorials from the Arduino playground
Added line 75:
  • Spooky Arduino and more from Todbot
Deleted lines 78-105:
May 11, 2007, at 01:06 PM by Paul Badger -
Changed lines 17-18 from:
to:
  • PWM all of the digital pins in a sinewave pattern
May 11, 2007, at 02:07 AM by Paul Badger -
Changed lines 36-37 from:
  • http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1171076259 |Use a couple of Arduino pins as a capacitive sensor]]
to:
  • Use two Arduino pins as a capacitive sensor
May 11, 2007, at 02:05 AM by Paul Badger -
Changed lines 36-37 from:
  • http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1171076259 Use a couple of Arduino pins as a capacitive sensor
to:
  • http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1171076259 |Use a couple of Arduino pins as a capacitive sensor]]
May 11, 2007, at 02:04 AM by Paul Badger -
Changed lines 36-37 from:
to:
  • http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1171076259 Use a couple of Arduino pins as a capacitive sensor
May 11, 2007, at 01:59 AM by Paul Badger -
Added line 39:
  • More sound ideas
February 08, 2007, at 07:02 PM by Carlyn Maw -
Changed lines 52-53 from:
to:
February 06, 2007, at 09:52 PM by Carlyn Maw -
Changed lines 52-54 from:
to:
February 06, 2007, at 09:51 PM by Carlyn Maw -
Changed lines 52-53 from:
to:
January 30, 2007, at 10:37 PM by David A. Mellis -
Deleted line 46:
December 26, 2006, at 06:57 AM by David A. Mellis -
Added line 20:
December 07, 2006, at 01:04 PM by David A. Mellis - adding link to todbot's C serial port code.
Changed lines 69-70 from:
to:
  • Arduino + C
December 02, 2006, at 05:43 PM by David A. Mellis -
Added line 1:
November 21, 2006, at 05:13 PM by David A. Mellis -
Added line 64:
  • Arduino + MaxMSP
Changed lines 67-68 from:
to:
  • Arduino + Ruby
November 18, 2006, at 09:42 AM by David A. Mellis -
Changed lines 20-21 from:
to:
Added line 24:
November 09, 2006, at 10:10 PM by Carlyn Maw -
Changed lines 50-51 from:
to:
November 06, 2006, at 05:49 PM by David A. Mellis -
Changed lines 37-38 from:
  • MIDI Output (from ITP physcomp labs)
to:
  • MIDI Output (from ITP physcomp labs) and from Spooky Arduino
November 04, 2006, at 07:25 PM by David A. Mellis -
Deleted line 53:
Deleted line 54:
November 04, 2006, at 07:24 PM by David A. Mellis -
Added lines 51-58:

Other Arduino Examples

  • Example labs from ITP

  • Examples from Tom Igoe

  • Examples from Jeff Gray
Deleted lines 83-89:

Other Arduino Examples

  • Example labs from ITP

  • Examples from Tom Igoe.

  • Examples from Jeff Gray.
November 04, 2006, at 07:24 PM by David A. Mellis -
Changed lines 50-51 from:

Example labs from ITP

to:
Changed lines 77-78 from:

Also, see the examples from Tom Igoe and those from Jeff Gray.

to:
  • Example labs from ITP

  • Examples from Tom Igoe.

  • Examples from Jeff Gray.
November 04, 2006, at 07:23 PM by David A. Mellis -
Changed line 77 from:

Other Arduino Sites

to:

Other Arduino Examples

Deleted lines 79-81:

Do you need extra help?

Is there a sensor you would like to see characterized for Arduino, or is there something you would like to see published in this site? Refer to the forum for further help.

November 04, 2006, at 05:38 PM by David A. Mellis -
Changed lines 3-4 from:

Here you will find a growing number of examples and tutorials for accomplishing specific tasks or interfacing to other hardware and software with Arduino. For instructions on getting the board and environment up and running, see the Arduino guide?.

to:

Here you will find a growing number of examples and tutorials for accomplishing specific tasks or interfacing to other hardware and software with Arduino. For instructions on getting the board and environment up and running, see the Arduino guide.

November 04, 2006, at 05:37 PM by David A. Mellis - lots of content moved to the new guide.
Deleted lines 52-67:

The Arduino board

This guide to the Arduino board explains the functions of the various parts of the board.

The Arduino environment

This guide to the Arduino IDE (integrated development environment) explains the functions of the various buttons and menus.

The libraries page explains how to use libraries in your sketches and how to make your own.

Video Lectures by Tom Igoe

Watch Tom introduce Arduino. Thanks to Pollie Barden for the great videos.

Course Guides

todbot has some very detailed, illustrated tutorials from his Spooky Projects course: class 1 (getting started), class 2 (input and sensors), class 3 (communication, servos, and pwm), class 4 (piezo sound & sensors, arduino+processing, stand-alone operation)

Deleted lines 82-87:

External Resources

Instant Soup is an introduction to electronics through a series of beautifully-documented fun projects.

Make magazine has some great links in its electronics archive.

hack a day has links to interesting hacks and how-to articles on various topics.

November 04, 2006, at 05:17 PM by David A. Mellis -
Changed lines 3-4 from:

Here you will find a growing number of examples and tutorials for accomplishing specific tasks or interfacing to other hardware and software with Arduino. For instructions on getting the board and environment up and running, see the Howto.

to:

Here you will find a growing number of examples and tutorials for accomplishing specific tasks or interfacing to other hardware and software with Arduino. For instructions on getting the board and environment up and running, see the Arduino guide?.

November 02, 2006, at 01:54 AM by Carlyn Maw -
Deleted line 49:
November 02, 2006, at 01:06 AM by Carlyn Maw -
Added line 50:
October 31, 2006, at 05:47 PM by Tod E. Kurt -
Changed lines 67-68 from:

todbot has some very detailed, illustrated tutorials from his Spooky Projects course: class 1 (getting started), class 2 (input and sensors), class 3 (communication, servos, and pwm).

to:

todbot has some very detailed, illustrated tutorials from his Spooky Projects course: class 1 (getting started), class 2 (input and sensors), class 3 (communication, servos, and pwm), class 4 (piezo sound & sensors, arduino+processing, stand-alone operation)

October 22, 2006, at 07:52 PM by David A. Mellis -
Changed lines 1-4 from:

Learning to use Arduino

Here you will find a growing number of step by step guides on how to learn the basics of arduino and the things you can do with it. For instructions on getting the board and IDE up and running, see the Howto.

to:

Arduino Tutorials

Here you will find a growing number of examples and tutorials for accomplishing specific tasks or interfacing to other hardware and software with Arduino. For instructions on getting the board and environment up and running, see the Howto.

October 22, 2006, at 07:51 PM by David A. Mellis -
Changed lines 67-68 from:

todbot has some very detailed, illustrated tutorials from his Spooky Projects course: class 1 (getting started), class 2 (input and sensors).

to:

todbot has some very detailed, illustrated tutorials from his Spooky Projects course: class 1 (getting started), class 2 (input and sensors), class 3 (communication, servos, and pwm).

October 21, 2006, at 11:25 PM by David A. Mellis - adding links to todbot's class notes.
Added lines 66-68:

Course Guides

todbot has some very detailed, illustrated tutorials from his Spooky Projects course: class 1 (getting started), class 2 (input and sensors).

October 09, 2006, at 12:46 AM by David A. Mellis -
Changed lines 59-62 from:

This guide to the Arduino IDE? (integrated development environment) explains the functions of the various buttons and menus.

The libraries? page explains how to use libraries in your sketches and how to make your own.

to:

This guide to the Arduino IDE (integrated development environment) explains the functions of the various buttons and menus.

The libraries page explains how to use libraries in your sketches and how to make your own.

October 09, 2006, at 12:45 AM by David A. Mellis -
Changed lines 3-4 from:

Here you will find a growing number of step by step guides on how to learn the basics of arduino and the things you can do with it. For instructions on getting the board and IDE up and running, see the Howto?.

to:

Here you will find a growing number of step by step guides on how to learn the basics of arduino and the things you can do with it. For instructions on getting the board and IDE up and running, see the Howto.

October 09, 2006, at 12:38 AM by David A. Mellis -
Added lines 1-102:

Share