geekcowboy.neta florea.xyz revival

Home automation

X10 home automation with Arduino in 2026: what still works, and what replaced it

X10 lamp and appliance modules are still on sale; the interface an Arduino needs to talk to them is not. How the 1978 powerline protocol works, how to wire an Arduino to a TW523 or PSC05, and what to build with if you are starting today.

By florea.xyz ·

Somewhere around 2008, a lot of people had the same idea at the same time: an Arduino reads an RFID tag at the front door, and the hall light comes on. No new wiring, no hub, no app. The light was plugged into an X10 module, the Arduino was plugged into an X10 interface, and the house’s own mains wiring carried the command.

It is a good project. In 2026 you can still build it, with one catch that matters more every year. Here is the state of play: how X10 works, what you can still buy, how to wire it, and when you should skip it and use something newer instead.

X10 in one minute

X10 dates from 1978, when it shipped as the Sears Home Control System and Radio Shack’s Plug ‘n Power. It sends data over the mains in the simplest way imaginable:

  • At every zero crossing of the AC wave (120 times a second on 60 Hz mains), a transmitter either sends a 1 ms burst of 120 kHz, which means 1, or stays quiet, which means 0.
  • Every bit goes out twice, as itself and then as its complement on the next half cycle. A 1 is burst–quiet, a 0 is quiet–burst. That is the whole error detection scheme.
  • A frame is a start code (1110), a house code (A to P) and a key code, which is either a unit number (1 to 16) or a function (On, Off, Dim, Bright, All Lights Off and a few more). That gives 256 addresses.
  • Every frame is sent twice, then the line must stay quiet for three full cycles.

Switching on lamp A1 takes two of those pairs: “A1” to select the lamp, then “A On”. At 60 Hz that is 100 half cycles, or about 0.8 seconds. The effective speed is around 20 bits per second.

That is all there is. There is no acknowledgement (a plain module never answers), no encryption, and no idea of who is allowed to send what. Your neighbour on the same transformer can turn your lamp on. In 1978 that was fine.

What you can still buy

The modules that do the switching are still sold. On 27 November 2026, x10.com listed:

Part What it does Price Stock
LM465 Plug-in lamp module (dimmable) $19.99 in stock
AM466 Plug-in appliance module (relay) $19.99 in stock
WS467, WS12A, WS13A, WS14A Wall switches $14.99 to $28.99 in stock
CM17A “FireCracker” Serial-port RF transmitter $14.99 in stock
CM15A USB powerline and RF interface $89.99 sold out
CM19A USB RF transceiver $16.99 sold out
TW523, PSC05, XM10 Two-way powerline interfaces not listed

Prices change; check before you order. One more thing worth knowing: since 2013, x10.com has been run by Authinx, which says plainly on its own site that it is not the company that made X10 famous. It is the place that still stocks the parts.

The catch is in the last row. The TW523 and its “PRO” twin, the PSC05, are what an Arduino talks to. They are opto-isolated boxes that plug into the wall and expose four signals on an RJ-11 jack, and they are no longer made. JV Digital Engineering made a compatible replacement, the XTB-523; it is no longer made either, though the maker offers refurbished units on request. In practice, a TW523 or PSC05 in 2026 means a used one from an auction site.

So: if you already own one, or can find one, everything below works. If you are buying from scratch, read the last section first.

Wiring an Arduino to a TW523 or PSC05

X10 published a technical note for the PL513 (transmit only) and the TW523 (two-way). It is still online at the current owner’s site, linked at the end. The RJ-11 pins, with the wire colours the note uses:

TW523 pin Wire Signal Arduino
1 black zero-crossing output (60 Hz square wave) D2
2 red common GND
3 green received data output D3
4 yellow transmit envelope input D4

The details that bite:

  • Pins 1 and 3 are open-collector outputs. They can only pull down, so they need pull-up resistors to 5 V. The Arduino’s internal pull-ups are enough on a short cable. X10’s reference circuit uses 5 kΩ, so a pair of 4.7 kΩ resistors is cheap insurance on a longer one.
  • The received data is inverted. A received “1” is a 1.1 ms low pulse that starts about 100 µs after the zero crossing. The note says to sample it between 500 and 700 µs after the crossing.
  • The transmit input wants at least 4 V and draws about 2.5 mA. A 5 V board (Uno, Nano, Mega, Leonardo) can drive it straight from a pin. A 3.3 V board (ESP32, Raspberry Pi Pico, the Nano 33 family) cannot: put a transistor or a level shifter in between, as the reference circuit does.
  • Check the cable with a meter. Many telephone cables are wired “reversed”, so pin 1 at one end is pin 4 at the other. If you cut one in half for the Arduino end, check which colour is which before you trust it.
  • Never open the box. The RJ-11 side is opto-isolated (2500 V), but the inside is referenced straight to the mains. The note’s own warning is that the interface’s 0 V is not isolated from 120 V.

The code

The companion article, Transmit and receive X10 commands with an Arduino, has a complete sketch with no library: it sends commands typed into the Serial Monitor (A1 ON) and prints everything it hears on the power line (RX A1, RX A ON). It follows the timing in the technical note to the microsecond, and it comes with a simulation test that checks every burst. If all you want is to switch a lamp from an Arduino, start there.

The RFID project that opened this article has its own 2026 write-up too: an RFID light switch with Arduino and X10, with a cheap RC522 reader and the same transmit code.

If you are starting today

X10 lasted because it was cheap and needed no wiring. The systems that replaced it solved its three big problems (no acknowledgement, no security, a slow and noisy channel) and kept the “no new wiring” part:

  • Z-Wave and Zigbee are low-power radio meshes. Every mains-powered device repeats messages for the others, devices report their state, and traffic is encrypted. Both need a hub or a USB stick on a computer.
  • Insteon was the direct successor: powerline and radio, and backwards compatible with X10. It is also a warning. In April 2022 the company shut down overnight; a group of its own customers bought it and relaunched it within months, with subscription fees added.
  • Matter (2022) is the one the big platforms agreed on. Apple, Google, Amazon and Samsung all speak it. It runs over Wi-Fi, Ethernet or Thread (a low-power mesh), and it works locally, without a cloud.

For a maker who wants the Arduino feeling in 2026, two roads stand out:

  1. ESPHome on an ESP32, with Home Assistant. You describe the device in a short YAML file (an RFID reader, a relay, a sensor) and ESPHome builds the firmware. Home Assistant then ties it to any light from any of the systems above. It is the shortest path from idea to working house.
  2. Matter on a microcontroller. The Arduino Nano Matter (Silicon Labs MGM240S, Thread) and the ESP32-C6 (Wi-Fi or Thread, with the Matter library in Espressif’s Arduino core) can both be programmed from the Arduino IDE as Matter devices that Apple Home, Google Home or Home Assistant can use. Thread needs a border router, which many recent smart speakers and hubs already are.

Keep it or replace it?

If you have X10 modules that work, they keep working: there is no server to switch off, which is a real advantage over some of its successors. You can even bring them into a modern setup. Home Assistant can drive them through its mochad integration with a CM15A, or through any bridge that speaks serial, such as the sketch in the companion article.

For anything new, buy Zigbee, Z-Wave or Matter devices. The modules cost about the same as an LM465, they tell you whether the light really came on, and nobody down the street can turn it off.

Sources