Sunday, June 23, 2013

HackRF LEGO Car

In the Hacker Lounge at Open Source Bridge last week, the well-stocked LEGO table caught my eye. In particular, I spotted an antenna protruding from the pile, and I followed it down to a radio-controlled LEGO car platform! The controller was quickly located, a battery replaced, and I found that it worked pretty well.

The controller was clearly marked with a sticker indicating operation at 27 MHz (FCC ID: NPI71646). That would have been my first guess anyway as it is a very popular frequency for radio-controlled toys. Since several of us were having a HackRF party, I decided to see if I could control the car with my HackRF Jawbreaker.

After verifying that the car worked with the original controller, I recorded several waveforms with the hackrf-transfer utility. I made eight separate recordings, one for each active controller state: forward, backward, left, right, forward/left, forward/right, backward/left, and backward/right.

The recordings were quite clean even though 27 MHz is below Jawbreaker's official operating range (30 MHz to 6000 MHz). In fact, I had captured some apparently good recordings of NFC transactions at 13.56 MHz just the day before. The major drop-off in performance I've observed on Jawbreakers I've tested has been just below 10 MHz.

The first HackRF transmission I tried was by building a small flowgraph in GNU Radio Companion to replay the captured waveforms with my Jawbreaker one at a time. With the car's controller switched off, I was able to make the car move with a simple replay! The best waveform worked at a distance of up to 20 meters even though I put very little effort into cleaning up the waveform or adjusting the power level.

Although I didn't have much time left before I had to catch my flight home, I wanted to see if I could synthesize control transmissions in software on my laptop instead of replaying captured waveforms (that included received noise and minor defects such as quantization and DC offset).

The first step toward synthesizing control transmissions was to analyze the captured waveforms. I found that each transmission consisted of a series of pulses at 27.145 MHz. The pulses were all at the same power level. Each pulse lasted one of two durations and was followed by a pause of consistent length. It looked like On-Off Keying (OOK) with data encoded in the number of consecutive short pulses.

Each transmission featured a repeated pattern of four long pulses (each 1.875 ms long, separated by 0.625 ms pauses) followed by some number of short pulses (each 0.625 ms long, separated by 0.625 ms pauses). The repeated pattern continued for as long as the controller was held in a particular state. The number of consecutive short pulses depended on the state of the controller:

  • forward: 10 short pulses
  • forward/left: 28 short pulses
  • forward/right: 34 short pulses
  • backward: 40 short pulses
  • backward/left: 52 short pulses
  • backward/right: 46 short pulses
  • left: 58 short pulses
  • right: 64 short pulses

That's as far as I got.

223 comments:

«Oldest   ‹Older   201 – 223 of 223
Unknown said...

Great information. Thanks for sharing this article. To get more info, you may visit this webpage too- best auto parts store

Unknown said...

Thanks for this helpful information. best auto parts store

Unknown said...

I was scammed over $93,100 i talked with this guy 8 months I sent him money via Bitcoin atm and bank account, I most lost everything But for the timely intervention of Wizard Wierzbicki Programmer, who just in kick-off on time got back my $93,100. He is really good at what he does, I have recommended him to friends and co-workers who all became satisfied customers. He has helped me a lot in the trading industry, you can reach him at for Everything. Hacking and Funds Recovering he is the best and has different skills in funds recovering and exposing scammers. Am glad and happy to recover back my money, there is no shame in becoming a scam victim of one of these sophisticated and predatory operations. By reporting you may be able to recover some or all of your lost funds and prevent the scammers from targeting others. To recover your Bitcoin Scammed funds, Scammed funds, Clear or Erase Criminal Records, Mobile spy remote control assess, Bitcoin Mining Contact this Genius Recovery Advocate Website: https://wizardwierzbicki.com WhatsApp: +49 1575 8718600 Email: WIZARDWIERZBICKIPROGRAMMER@GMAIL.COM

Jhon David said...

Nice post I will read it again It contains the most helpful material for me.
towing Windsor

Speedy said...

This article has assisted me in making a decision, and I am hoping that the time has come for me to get a new vehicle. buy cars for cash brisbane is best after lots of sites sharing.Thank you, for your post.

Academicservices said...

Thanks a lot for giving us such helpful information. You can also visit our website for bba project report

Cash for Cars Online said...

Wonderful blog and interesting to read. Excellently written with simple understanding and thoughts and I am really impressed to read your blog. Thank you for the effort to make us more knowledgeable. You can also visit us in need of any assistance with selling your old car for cash.
Cash for Cars Strathpine
Cash for Cars Stafford
Cash for Cars Wynnum

cairns car mechanics said...

Great article Michael,

We have an Auto Electrician at our workshop up here in Cairns, QLD, AUS who "dabbles" (his words) in Software Defined Radio.
It has come in handy in our Mechanic business as he has been able to provide advice and knowledge for customers which has helped build our reputation and provide exceptional service for our customers.

We have a ton of 5 star reviews at subaru mechanic near me

He read this article and spent the rest of the day telling us more about the themes you touched on.

Thankyou for sharing your passion.

Get Cash for Carz said...

It's fascinating to see how the HackRF software-defined radio platform has been skillfully integrated with LEGO components to create a functional and impressive remote-controlled car. I've heard about sell my car for cash Brisbane, a reputed service that promises top-dollar offers for all types of cars, regardless of their condition. Their commitment to transparency and excellent customer service is what caught my attention.

Mohd Quasim said...

Nmims solved assignment

Get NMIMS solved assignment Sep 2023 with high-quality content in budget. Call us to book your 100% plagiarism-free NMIMS assignment answers online. View our pricing list.

Nmims solved assignment

Mohd Quasim said...

SCDL PGDBA BANKING AND FINANCE PROJECT REPORT

Get Symbiosis SCDL PGDBA Banking and Finance Project Report, Topic, Synopsis Sample & solved project at reasonable rates. Book your Symbiosis SCDL PGDBA Finance Solved Project Report, Sample, Topic & Synopsis Sample now.


SCDL PGDBA BANKING AND FINANCE PROJECT REPORT








Anayza Feloz said...

The HackRF LEGO Car seems like the perfect blend of technology and creativity, offering a unique perspective on both the possibilities of radio manipulation and the endless potential of LEGO building. If you're ever in the market to upgrade your vehicle, consider reaching out to a reputable car buyer in Brighton. They specialize in offering fair deals and excellent service, ensuring you have a smooth and satisfying experience when selling or trading in your car.

Jyden said...

Great article! Your tips on Car Rentals Milan were spot-on. I appreciated the personal touch you added with your recommendations and photos. Thanks for making my trip planning easier!

Top Cash for Cars Perth - WA Cash For Car said...

Very informative! These tips are essential for anyone looking to sell their car. This article provides valuable insights into understanding and maintaining brake systems.

Daily Bloggers said...

Excited about the idea of renting a fancy car for prom, but safety is my top concern. Any advice on ensuring a safe and reliable rental service? Would love to hear about your experiences to make an informed decision and have a worry-free prom night prom car rentals

SevenSister said...

Thank you for sharing such an excellent blog! I discovered your website to be perfect for my needs, with its wonderful and helpful posts. Keep up the good work. Appreciate this fantastic blog! Discover the charm of the Seven Sister States—Assam, Arunachal Pradesh, Meghalaya, Nagaland, Manipur, Mizoram, and Tripura—via our meticulously crafted itineraries. Uncover the enchantment of this hidden Indian gem with our Seven Sisters Tour Package.





Eliana said...
This comment has been removed by the author.
Amelia said...

This article is a gem! Thanks for the valuable insights.
Car Disposal Auckland

suchi said...

Thanks for sharing this informative article.
Car Removals Melbourne

Ava said...

This was a useful post.this post is well written and useful. Keep up the good work.
Cash for Cars Melbourne

Best Financial Advisor Sydney said...

Thankyou for sharing this blog.

Car Loans Sydney

Anonymous said...

Hi Guys..

Providing Fresh Spammed & Legit FULLZ
Genuine Stuff & Verified
Recently Spammed with Legit Info
Invalid info will be replaced instantly
Bulk Quantity Available

CONTACT:
==============
ICQ 752822040 | @killhacks
Telegram @killhacks | @leadsupplier
Email hacksp007 @ mail 2 tor .com
Skype @peeterhacks

------------------------------

SSN DOB DL ADDRESS FULLZ USA
SIN DOB ADDRESS CANADA
NIN DOB ADDRESS UK
HIGH CREDIT SCORES PROS 700+
YOUNG AGE FULLZ
CLONING CARDS DUMPS 101 & 202 WITH PIN
CC CVV WITH BILLING ADDRESS
ORIGINAL ID/DL SCAN FFRONT BACK WITH SELFIE
FULLZ FOR TAX RETURN|KYC|PUA|UI|SBA|UBEREATS|DOORDASH
SPECIFIC INFO FULLZ (CITIES|AGE|STATES|ZIP CODES)

USA UK CANADA Fullz
Fresh Data will be provided
Not Sold & never used before
Discount for bulk buyers

Bricks4rent said...

Op zoek naar het van LEGO-sets huren in Nederland? Zoek niet verder dan Bricks4Rent! Met een breed scala aan sets geschikt voor alle leeftijden en voorkeuren, biedt Bricks4Rent de perfecte oplossing voor LEGO-liefhebbers die willen bouwen zonder de verplichting van eigendom. Voor meer informatie bezoek www.bricks4rent.nl!

«Oldest ‹Older   201 – 223 of 223   Newer› Newest»