Rui Rex swaps a car alarm’s fixed-code radio for an nRF24LE1 link

nRF24LE1, car alarm, RF

This is the read-only HTML version. For the full Visual Space experience, open the app.

car alarm, remote, nRF24LE1 —

car alarm, remote, nRF24LE1 —

Source: Car alarm secure remote with nRF24LE1 on Hackaday.io · Rui Rex

RF range, power, security

Two radio modules and a Raspberry Pi programmer brought a replacement remote link into a working car alarm. Rui Rex’s 2015 build also exposed the gap between a bench test and an installation: range fell to 1–3 metres behind the dashboard, while the proposed security features remained undocumented in the visible logs.

🔥 1

Rui Rex wanted to replace a car alarm remote whose fixed code was easy to capture and decode with an SDR dongle. Sharing the car alarm retrofit on Hackaday.io, Rex chose two nRF24LE1 modules: one for the handheld remote and one to feed commands into the existing alarm. The dated build logs, from May through August 2015, reach a working installation—but also show why getting a radio link to work on the bench is only part of the job.

The original alarm used an MC145028-based fixed-code system at 433 MHz. Rex’s proposed replacement moved the link to 2.4 GHz, with plans for rolling codes and AES encryption using an SDK library. Long range wasn’t the goal: Rex considered the advertised 100-metre line-of-sight range more than enough, and saw limited reach as a way to reduce unintended operation from accidental button presses.

That was a security goal, not a demonstrated security result. The visible logs document programming, command transfer, power measurements and installation, but don’t establish that rolling codes or AES were implemented or tested. A functioning replacement radio link shouldn’t be mistaken for a validated security system.

The Raspberry Pi programs and tests the radios

Rather than buy a dedicated programmer, Rex used a Raspberry Pi to load firmware into the modules over SPI. An LED-blink example provided the first check that the programming path and compiled code worked. The May 26 setup log records the connections for the 32-pin module and points to the software resources Rex used.

The Pi then became a test fixture as well as a programmer. In the June 15 command-transfer test, one GPIO pin simulated a transmitter button input while another monitored the receiver output. Rex could change the input and check whether the corresponding output followed, without needing the finished remote enclosure or the car connected.

Rex also reported adding battery voltage to the transmitted data frame. That supplied information a future low-battery warning could use; the log doesn’t show the warning itself operating in the car.

Saving power means spending less time listening

A receiver waiting for a button press still consumes power. Rex’s initial estimates at a 16 MHz CPU clock put the receiver at roughly 22 mA and the transmitter at 20 mA, including their radio blocks.

The July 1 power log describes two changes: lowering the CPU clock to 1 MHz and cycling the receiver radio off for about 150 milliseconds, then on for about 50 milliseconds. That gives the receiver a listening window for roughly a quarter of each cycle rather than leaving it continuously active.

The transmitter used a shorter off period. Rex explicitly tied that choice to responsiveness: too much time off meant holding the button longer before the receiver acknowledged the signal. Power saving and a satisfying button press were competing requirements, not separate tasks.

The July 8 measurements were better than Rex’s estimates: about 6 mA average receiver standby current and 2.6 mA transmitter active current. Those are reported module measurements, not a measured battery lifetime or a complete account of the installed alarm’s consumption.

The old remote makes room for the new board

While waiting for a replacement key-fob shell, Rex fitted the transmitter into the original remote. Its existing button and LED were reused. Removing one of the two CR2032 cells—the new circuit needed only one—created enough space for the nRF24LE1 board, albeit with a very tight fit.

By August 19, the receiver and repackaged transmitter worked together in a simple test. Rex also added separate connectors for normal use and firmware programming, leaving a route for updates after assembly.

The retrofit retained the alarm’s existing single command line for opening and closing. That kept the scope manageable: replace the radio interface first, rather than rewrite the alarm controller at the same time. Rex noted that connecting it to a car used almost every day was a more consequential step, since a mistake could leave the car unable to start.

The dashboard changes the result

In the August 26 installation report, Rex disconnected the original RF module’s power and data paths and connected the replacement receiver to the alarm’s supply and microcontroller input. After installation in the car, Rex reported that the remote worked.

The range, however, was only one to three metres, depending on horizontal and vertical angle. Rex attributed this to the receiver sitting inside the dashboard and the doors shielding the signal. A short cable prevented moving it higher, so the next proposed experiment was to extend the cable and place the receiver above the instrument cluster. No result from that relocation appears in the supplied logs.

Two other problems remained. A previously failed signalling-light relay made confirmation harder to see from the driver’s side. Rex also reported about 20 mA of standby current for the alarm and considered replacing its 7805 regulator with a more efficient converter, or going further and transferring the alarm functions to the nRF24LE1. Both were proposals, not documented upgrades.

The useful lesson is the separation between milestones. Firmware loading, command transfer, low module current and operation inside the car each answered a different question. The next meaningful checks would have been an installed range test after moving the receiver, a whole-alarm power measurement, and evidence that the intended rolling-code and encryption scheme actually rejected unwanted commands. The radio swap worked; those checks would determine whether it met the reason for doing the swap in the first place.

Source: Car alarm secure remote with nRF24LE1

Hardware

3 Followers

A workshop for electronics and physical computing. Share circuits, boards, tools and prototypes; work through measurement and debugging, compare components, and document the choices that turn an idea into working hardware.

Visual Space is built for projects like this—where creators collaborate, organize goals, and grow communities around real work.