Tutorial.X10 History

Hide minor edits - Show changes to markup

June 07, 2010, at 07:18 PM by Equipo Traduccion -
Changed lines 17-24 from:

As of version 0.3, here's what you can do:

x10(int strLength) - initialize an instance of the X10 library on two digital pins. e.g.

x10 myHouse = x10(9, 10); // initializes X10 on pins 9 (zero crossing pin) and 10 (data pin)

void write(byte houseCode, byte numberCode, int numRepeats) - Send an X10 message, e.g.

to:

Para la versión 0.3, aquí tienes lo que puedes hacer:

x10(int strLength) - Inicia una instancia de la librería X10 en dos pines digitales. Ejemplo:

x10 myHouse = x10(9, 10); // Inicia X10 con los pines 9 (pin cruce por cero) y 10 (pin de datos)

void write(byte houseCode, byte numberCode, int numRepeats) - Envía un mensaje X10, ejemplo

Changed line 26 from:

myHouse.write(A, ALL_LIGHTS_ON, 1); // Turns on all lights in house code A

to:

myHouse.write(A, ALL_LIGHTS_ON, 1); // Enciende todas las luces del código A de la casa.

Changed lines 29-30 from:

version(void) - get the library version. Since there will be more functions added, printing the version is a useful debugging tool when you get an error from a given function. Perhaps you're using an earlier version that doesn't feature the version you need! e.g.

to:

version(void) - Obtiene la versión de la librería. Debido a que se añadirán más funciones, imprimir la versión de la librería será una útil herramienta de depuración cuando tengas algún problema con una determinada función. Por ejemplo si estás usando una versión anterior que no tiene la característica que necesitas!! e.g.

Changed line 32 from:

Serial.println(myHouse.version()); // prints the version of the library

to:

Serial.println(myHouse.version()); // Muestra la versión de la librería

June 07, 2010, at 07:07 PM by Equipo Traduccion -
Changed lines 35-38 from:

There are a number of constants added to make X10 easier. They are as follows:

  • A through F: house code values.
  • UNIT_1 through UNIT_16: unit code values
to:

Hay un número de constantes añadidas para que X10 resulte más sencillo. Son las siguientes:

  • De A hasta F: valores de códigos de hogar.
  • UNIT_1 hasta UNIT_16: valores de códigos de unidad
June 07, 2010, at 07:04 PM by Equipo Traduccion -
Changed lines 7-8 from:

Para conectar un Arduino a uno de estos módulos, coge un cable telefónico con un conector RJ-11, y corta uno de sus extremos. Luego cablea los pines como se indica a continuación:

to:

Para conectar un Arduino a uno de estos módulos, coge un cable telefónico con un conector RJ-11, y corta uno de sus extremos. Luego cablea los pines de esta manera:

Changed lines 13-16 from:

To use, unzip it and copy the resulting folder, called TextString, into the lib/targets/libraries directory of your arduino application folder. Then re-start the Arduino application.

When you restart, you'll see a few warning messages in the debugger pane at the bottom of the program. You can ignore them.

to:

Para usarla, descomprime y copia la carpeta resultante, llamada TextString, en la carpeta lib/targets/libraries de la carpeta de tu aplicación arduino. Luego reinicia la aplicación Arduino.

Cuando reinicie, verás unos cuantos mensajes de aviso en al panel de depuración en la parte inferior del programa. Ignóralos.

June 07, 2010, at 07:01 PM by Equipo Traduccion -
Changed lines 55-58 from:

Version 0.3 is compatible with Arduino 0012.

For a full explanation of X10 and these codes, see this technote

to:

La version 0.3 es compatible con Arduino 0012.

Para una completa explicación de X10 y sus códigos, écha un vistazo a esta nota técnica.

Changed line 61 from:

If anyone's interested in helping to develop this library further, please contact me at tom.igoe at gmail.com

to:

Si estás interesado en contribuir a desarrollar esta librería, por favor contacta conmigo tom.igoe [en] gmail.com

June 07, 2010, at 06:50 PM by Equipo Traduccion -
Changed lines 3-8 from:

Esta librería te permite enviar y recibir comandos X10 desde un módulo Arduino. X10 es un protocolo serie síncrono a través de las líneas eléctricas de corriente alterna (AC), sending a bit every time the AC power crosses zero volts. Se usa en la automatización del hogar. Puedes encontrar controladores y dispositivos X10 en http://www.x10.com, http://www.smarthome.com, y en otros muchos sitios.

This library has been tested using the PL513 one-way X10 controller, and the TW523 two-way X10 controller. Both of these are essentially X10 modems, converting the 5V output of the Arduino into AC signals on the zero crossing.

To connect an Arduino to one of these modules, get a phone cable with an RJ-11 connector, and cut one end off. Then wire the pins as follows:

to:

Esta librería te permite enviar y recibir comandos X10 desde un módulo Arduino. X10 es un protocolo serie síncrono que viaja a través de las líneas eléctricas de alimentación de corriente alterna (AC), envía un bit cada vez que la señal de potencia AC cruza los cero voltios. Se usa en la automatización del hogar. Puedes encontrar controladores y dispositivos X10 en http://www.x10.com, http://www.smarthome.com, y en otros muchos sitios.

Esta librería ha sido probada utilizando el controlador X10 unidireccional PL513, y el controlador X10 bidireccional TW523. Estos dos controladores son esencialmente unos modems X10, que convierten la salida de 5V del Arduino a señales AC a su cruce por el cero.

Para conectar un Arduino a uno de estos módulos, coge un cable telefónico con un conector RJ-11, y corta uno de sus extremos. Luego cablea los pines como se indica a continuación:

Deleted line 12:
June 07, 2010, at 06:40 PM by Equipo Traduccion -
Changed lines 1-4 from:

X10 Library

This library enables you to send and receive X10 commands from an Arduino module. X10 is a synchronous serial protocol that travels over AC power lines, sending a bit every time the AC power crosses zero volts. It's used in home automation. You can find X10 controllers and devices at http://www.x10.com, http://www.smarthome.com, and more.

to:

Librería X10

Esta librería te permite enviar y recibir comandos X10 desde un módulo Arduino. X10 es un protocolo serie síncrono a través de las líneas eléctricas de corriente alterna (AC), sending a bit every time the AC power crosses zero volts. Se usa en la automatización del hogar. Puedes encontrar controladores y dispositivos X10 en http://www.x10.com, http://www.smarthome.com, y en otros muchos sitios.

January 18, 2009, at 01:58 PM by Tom Igoe -
Changed lines 56-57 from:

Version 3 is compatible with Arduino 0012.

to:

Version 0.3 is compatible with Arduino 0012.

January 18, 2009, at 01:57 PM by Tom Igoe -
Changed lines 11-13 from:

Download: X10.zip Δ

to:

Download: X10.zip

Changed lines 18-19 from:

As of version 0.2, here's what you can do:

to:

As of version 0.3, here's what you can do:

Added lines 56-57:

Version 3 is compatible with Arduino 0012.

January 18, 2009, at 03:03 AM by Tom Igoe -
Changed lines 11-12 from:

Download: X10.zip

to:

Download: X10.zip Δ

June 20, 2007, at 05:23 PM by Tom Igoe -
Changed lines 19-22 from:

X10(int strLength) - initialize an instance of the X10 library on two digital pins. e.g.

X10 myHouse = X10(9, 10); // initializes X10 on pins 9 (zero crossing pin) and 10 (data pin)

to:

x10(int strLength) - initialize an instance of the X10 library on two digital pins. e.g.

x10 myHouse = x10(9, 10); // initializes X10 on pins 9 (zero crossing pin) and 10 (data pin)

June 20, 2007, at 05:22 PM by Tom Igoe -
Added lines 29-34:

version(void) - get the library version. Since there will be more functions added, printing the version is a useful debugging tool when you get an error from a given function. Perhaps you're using an earlier version that doesn't feature the version you need! e.g.

Serial.println(myHouse.version());   // prints the version of the library 

Deleted lines 56-61:

version(void) - get the library version. Since there will be more functions added, printing the version is a useful debugging tool when you get an error from a given function. Perhaps you're using an earlier version that doesn't feature the version you need! e.g.

Serial.println(myHouse.version());   // prints the version of the library 

June 20, 2007, at 05:21 PM by Tom Igoe -
Changed lines 9-10 from:

Attach: X10-schematic.jpg

to:
June 20, 2007, at 05:21 PM by Tom Igoe -
Changed lines 49-50 from:

For a full explanation of X10 and these codes, see this technote

to:

For a full explanation of X10 and these codes, see this technote

June 20, 2007, at 05:20 PM by Tom Igoe -
Changed lines 9-10 from:

Attach: X10.png

to:

Attach: X10-schematic.jpg

June 20, 2007, at 05:19 PM by Tom Igoe -
Changed lines 49-50 from:

For a full explanation of X10 and these codes, see

to:

For a full explanation of X10 and these codes, see this technote

June 20, 2007, at 05:18 PM by Tom Igoe -
Changed lines 3-4 from:

This library enables you to send and receive X10 commands from an Arduino module.

to:

This library enables you to send and receive X10 commands from an Arduino module. X10 is a synchronous serial protocol that travels over AC power lines, sending a bit every time the AC power crosses zero volts. It's used in home automation. You can find X10 controllers and devices at http://www.x10.com, http://www.smarthome.com, and more.

This library has been tested using the PL513 one-way X10 controller, and the TW523 two-way X10 controller. Both of these are essentially X10 modems, converting the 5V output of the Arduino into AC signals on the zero crossing.

To connect an Arduino to one of these modules, get a phone cable with an RJ-11 connector, and cut one end off. Then wire the pins as follows:

Attach: X10.png

Changed lines 49-50 from:
to:

For a full explanation of X10 and these codes, see

June 20, 2007, at 04:59 PM by Tom Igoe -
Added lines 1-52:

X10 Library

This library enables you to send and receive X10 commands from an Arduino module.

Download: X10.zip

To use, unzip it and copy the resulting folder, called TextString, into the lib/targets/libraries directory of your arduino application folder. Then re-start the Arduino application.

When you restart, you'll see a few warning messages in the debugger pane at the bottom of the program. You can ignore them.

As of version 0.2, here's what you can do:

X10(int strLength) - initialize an instance of the X10 library on two digital pins. e.g.

X10 myHouse = X10(9, 10); // initializes X10 on pins 9 (zero crossing pin) and 10 (data pin)

void write(byte houseCode, byte numberCode, int numRepeats) - Send an X10 message, e.g.

myHouse.write(A, ALL_LIGHTS_ON, 1);     // Turns on all lights in house code A

There are a number of constants added to make X10 easier. They are as follows:

  • A through F: house code values.
  • UNIT_1 through UNIT_16: unit code values
  • ALL_UNITS_OFF
  • ALL_LIGHTS_ON
  • ON
  • OFF
  • DIM
  • BRIGHT
  • ALL_LIGHTS_OFF
  • EXTENDED_CODE
  • HAIL_REQUEST
  • HAIL_ACKNOWLEDGE
  • PRE_SET_DIM
  • EXTENDED_DATA
  • STATUS_ON
  • STATUS_OFF
  • STATUS_REQUEST

version(void) - get the library version. Since there will be more functions added, printing the version is a useful debugging tool when you get an error from a given function. Perhaps you're using an earlier version that doesn't feature the version you need! e.g.

Serial.println(myHouse.version());   // prints the version of the library 


If anyone's interested in helping to develop this library further, please contact me at tom.igoe at gmail.com

Share