Summary of Cheap Arduino Controlled Light Sockets – Reverse Engineering RF
This article describes a cost-effective DIY project to hack cheap wireless light bulb holders, enabling control of unlimited channels via an Arduino and RF module instead of the standard single remote. The process involves reverse-engineering the socket's EEPROM memory using a Bus Pirate to capture RF commands, allowing for expanded home automation capabilities at a low cost.
Parts used in Cheap Arduino Controlled Light Sockets:
- Vktech Wireless Light Bulb Holders (4-pack)
- Arduino Uno or similar microcontroller
- 315MHz RF Link Transmitter
- Bus Pirate (Sparkfun version used)
- Breadboard and solid core wire
Smart lightbulbs cost your firstborn child. Which is a shame, because smart lights unlock tremendous potential for home automation, energy savings, and all sorts of cool projects.
If only there was a way to control your lights without breaking the bank…

And now there is! For $19 on Amazon, you can get a 4-lightbulb kit from China that ordinarily is limited to 4 channels from a single remote…but with some creative hacking, can be used to control an unlimited number of channels using an arduino and a very simple RF module!
Here’s a video of them in action as part of our smart bathroom project (Instructable for that coming soon!):
Think this is awesome? Don’t forget to favorite it and follow us on Facebook!
Time required: 1-2 hours
Total Cost: $19 for four sockets ($5/socket), ~$20 for a transmitter
You should know:
Materials:
- A 4-pack of Vktech Wireless Light Bulb Holders
- Arduino Uno or similar
- 315MHz RF Link Transmitter
Tools:
- IC Clips/hooks
- Bus Pirate (we used the sparkfun version)
- Small Phillips screwdriver
- Computer with a micro USB cable
- A breadboard and spare wire (solid core is best)
Step 1: Reading the EEPROM
We’ll start by cracking open one of these light sockets and reading its memory. Grab your screwdriver and remove the two phillips screws holding the housing together. The case should fall open and reveal the PCB inside.
If you look around, you’ll see a few capacitors, some diodes, a big box (the relay), a long IC (the microcontroller), a separate board tacked on (the RF receiver), and a little 8-DIP chip marked 24C04 – this is the EEPROM that stores the RF command to turn on the bulb.
Let’s take a closer look at what the memory chip holds, shall we? Using the bus pirate and the datasheet for the EEPROM chip, wire up a circuit like the one shown. You should have:
- Bus Pirate VCC -> chip VCC (and to VPU, the pullup pin of the Bus Pirate)
- Bus Pirate GND -> chip GND
- Bus Pirate SDA (MOSI, Orange for Sparkfun BPs) -> chip SDA
- Bus Pirate SCL (CLK, Yellow for Sparkfun BPs) -> chip SCL
- Bus Pirate VPU -> Bus Pirate VCC (the pullup I/O pins are driven from this pin)
For more detail: Cheap Arduino Controlled Light Sockets – Reverse Engineering RF
-
How much does this smart lighting project cost?
The total cost is approximately $19 for four sockets and around $20 for the transmitter. -
What can you do with hacked light sockets?
You can use them to control an unlimited number of channels using an Arduino and a simple RF module. -
Which chip stores the RF command in the light socket?
The little 8-DIP chip marked 24C04 is the EEPROM that stores the RF command to turn on the bulb. -
How do you access the internal memory of the light socket?
You must remove the two Phillips screws to open the housing and reveal the PCB inside. -
What tools are needed to read the EEPROM data?
You need a Bus Pirate, IC clips or hooks, and a computer with a micro USB cable. -
Does the original kit support unlimited channels?
No, the kit is ordinarily limited to 4 channels from a single remote without hacking.
