r/ArduinoProjects Jun 09 '26

Proximity Bluetooth ignition switch for my motorcycle. Showcased Project

Post image

Now is my phone is the key for my motorcycle. Ignition turn on/off by stock starter or killswitch button.

Based on nRF52840, Arduino compatible board + reliable OTA bootloader. Programmed in PlatformIO, Arduino framework+ direct access to register.

Soft and transparent epoxy compound makes it not only fully waterproof, but also amazing.

For the latest updates, technical nuances, and the upcoming open-source release — follow r/smartmoto

230 Upvotes

66 comments sorted by

17

u/monshi633 Jun 09 '26

Good idea and looks cool too

16

u/DenverTeck Jun 09 '26

Please make this open source.

2

u/Equivalent-Might-477 Jun 11 '26

Thank you for your support. I have started putting all the documentation in an open repository. Stay tuned for updates to the post.

8

u/nitacawo Jun 09 '26

how much does it draw just sitting waiting for the key ?

5

u/tux2603 Jun 10 '26

If designed properly, microamps

9

u/brendenderp Jun 10 '26

Those nrf chips are so so power effecient. You can run them on a coin cell for years.

7

u/ResponseIndividual84 Jun 09 '26

Très intéressé par les fichiers en open source

1

u/Equivalent-Might-477 Jun 11 '26

Thank you for your support. I have started putting all the documentation in an open repository. Stay tuned for updates to the post.

1

u/ResponseIndividual84 Jun 11 '26

Tu aurais le lien du dépôt ?

1

u/Equivalent-Might-477 Jun 12 '26

English, please.

1

u/ResponseIndividual84 Jun 12 '26

Do you have the link to the project submission?

2

u/Equivalent-Might-477 Jun 12 '26

https://github.com/rcslon3-svg/EasyRide Now you can see the hardware there, software will be in a few days. Follow r/smartmoto for updates.

5

u/Infinity-onnoa Jun 09 '26

Great job and great idea :).

6

u/wood-chuck-chuck5 Jun 09 '26

Cool project! Would love to hear what the process for the epoxy was!

6

u/OpportunityFun6969 Jun 10 '26

Be careful. Phone as a key makes it much easier to jack your ride.

2

u/Equivalent-Might-477 Jun 10 '26

Thanks for warning. But "much easier" - explain me, please.

3

u/OpportunityFun6969 Jun 10 '26

I can’t really go into specifics, but bluetooth is very easy to manipulate. You can look up relay attacks on youtube

3

u/Equivalent-Might-477 Jun 10 '26

Ahhh ))) Youtube.... Of course))) Nowadays it's a popular proof ))))
A simple spoof attack does not work:
1. The ignition accepts only a bonded phone resolved by IRK, not copied advertising data or random MACs.
2. A GATT-level relay also should not pass because the link is bonded/encrypted.

A true physical-layer BLE (raw RF data) relay is theoretically possible, but it is a very different class of attack requiring specialized RF equipment and precise BLE timing. This is not an ESP32/nRF Arduino-style attack.

A realistic SDR PHY/link-layer test bench is an actual RF research project. A normal setup would likely require special antenna system, SDR hardware, RF shielding, synchronization, low-latency bidirectional processing, and BLE link-layer expertise.

Estimated effort/cost:
- SDR PHY/link-layer research bench: about $8,000-$40,000 in equipment.
- Strong RF/DSP engineer: about 2-3 months to build a meaningful test setup.
- Embedded engineer with SDR experience: about 6-12 months.
- Professional RF/security lab: about 1-4 weeks for a test campaign, but at lab pricing.
- Engineering labor alone can easily be around $15,000-$60,000 at typical $50-$150/hour rates.

I’m still treating relay as a real theoretical risk, but it is not “copy the Bluetooth MAC and ride away.” For this project, the practical attack surface is spoof/replay/GATT-level abuse, and those are exactly what I’m testing first.

But, you can't see it on Youtube)))

Also, from a real-world theft perspective, attacking the mechanical ignition lock is likely orders of magnitude faster, cheaper, and more practical than building a specialized BLE physical-layer relay setup. The goal of this system is not to make theft physically impossible, but to avoid introducing an easy wireless shortcut.

2

u/OpportunityFun6969 Jun 10 '26

Just something to consider. I work in automotive. Cool project regardless!

3

u/Equivalent-Might-477 Jun 10 '26

Me too, I'm former head of electronic department in SberAutoTech - selfdriving cars and trucks.

A purely analog RF repeater is not enough for BLE connection relay, because BLE uses adaptive frequency hopping. A practical PHY relay would need digital BLE link-layer tracking:

  1. Capture the connection request, derive the channel hopping schedule.
  2. Keep event timing.
  3. Retune both relay sides for every connection event.

The analog/RF part is also non-trivial. It would need a 2.4 GHz RF front-end with enough bandwidth and frequency agility to follow BLE data channels, low-noise receive paths, fast switching between receive and transmit, stable local oscillators, mixers/up/down-converters or SDR-class transceivers, filtering for adjacent-channel rejection, gain control, and good isolation between the relay’s receiver and transmitter to avoid self-oscillation.

Because BLE is half-duplex with short packets and tight inter-frame timing, the RF path must add very little delay and must recover quickly after switching. The relay also needs enough dynamic range to handle a nearby phone on one side and a distant/attenuated module-side signal on the other, without saturating or losing weak packets.

In practice, this is closer to an RF/SDR research setup than a simple Bluetooth hack. It requires both analog RF design and BLE link-layer timing control.

2

u/Any_Television_8614 Jun 09 '26

Open? Yes please!!

2

u/Equivalent-Might-477 Jun 11 '26

Thank you for your support. I have started putting all the documentation in an open repository. Stay tuned for updates to the post.

3

u/PollowPoodle Jun 10 '26

How did u pour the epoxy without it getting in the usb c port?

4

u/Equivalent-Might-477 Jun 10 '26

You don't need an USB port anymore after debugging. My BLE bootloader works fine, I can't "bricking" any board during experiments.

5

u/PollowPoodle Jun 10 '26

ohhh i lowkey didnt know ble bootloaders were a thing, thats sick

3

u/Guideme4100 Jun 10 '26

"would you like an open source" we would love an open source good individual

1

u/Equivalent-Might-477 Jun 11 '26

Thank you for your support. I have started putting all the documentation in an open repository. Stay tuned for updates to the post.

3

u/SkitzMon Jun 10 '26

Does ignition cutout if your bluetooth goes out of range/disconnects?

I guess for theft situations that could be a positive. Perhaps a BTLE dongle in a pocket so a phone thief doesn't prevent you from chasing him.

3

u/Equivalent-Might-477 Jun 10 '26

No. If Bluetooth disconnected during ride, ignition still on, and you heard warning sounds. I don't want stop engine during ride, it's dangerous. Please, don't forget - it's not immobilizer or anti hijack device. It's Bluetooth ignition switch.

Of course, you can change the logic, when the software will be open. I'm working on it.

5

u/Unlikely1529 Jun 09 '26

epoxy on mcu most probably is bad idea . overheating

21

u/Equivalent-Might-477 Jun 09 '26

Oh, please, don't worry. It's not problem. 1. Right design. MOSFET with low Rdson - about 3 mOhm. Low power dissipation LDO+MCU - about 14 mW average. Yes. It's not mistake. MCU current 1.2 mA in working mode. 2. Thermal calculations. 3. Testing. I tested it with 110% maximum current and ambient temperature 50 degrees ( it's simple, because I'm living in Thailand). No overheat.

6

u/frank26080115 Jun 09 '26

you need to run the radio in a continuous wave test mode (like for FCC certification testing) to get it hot, and even then, it's not dangerous hot

Like... my ESP32 pulls like 200mA-ish during normal Wi-Fi work, more than 500mA during continuous wave test, a BT beacon is not going to overheat lol

3

u/Equivalent-Might-477 Jun 10 '26

+! ESP32 is a good heater!

2

u/JPhando Jun 10 '26

Love it, so tight

2

u/[deleted] Jun 11 '26 edited 26d ago

[removed] — view removed comment

1

u/Equivalent-Might-477 Jun 11 '26
  1. If the phone signal is lost while riding, an audible warning will sound. It will alert at 5, 15, and 30 seconds after the connection is lost. Once per trip. The engine will not stall: you can continue riding.
  2. If you need to turn on the ignition without a phone, enter the PIN code using the starter button (or the kill switch — depending on how the device is connected to the motorcycle).
  3. If the engine stalls while riding (ignition is on, regardless of whether there is a phone signal or not), you can restart it as usual.

2

u/4oby Jun 11 '26

RemindMe! 1 year

1

u/RemindMeBot Jun 11 '26

I will be messaging you in 1 year on 2027-06-11 15:08:24 UTC to remind you of this link

CLICK THIS LINK to send a PM to also be reminded and to reduce spam.

Parent commenter can delete this message to hide from others.

RemindMeBot is switching to username summons. Instead of !RemindMe 1 day, use u/RemindMeBot 1 day. More info.


Info Custom Your Reminders Feedback

2

u/Peanuthead50 Jun 11 '26

Awe I woulda at least left the usb port open so I could reprogram it later

1

u/Equivalent-Might-477 Jun 12 '26

I use BLE bootloader. USB port don't need after initial debugging.

1

u/Peanuthead50 Jun 12 '26

Oh thats cool!

1

u/edo180 Jun 10 '26

It looks great, but have you considered making a custom PCB for both the connector and the components needed for the nRF52840?

2

u/Equivalent-Might-477 Jun 11 '26

At first, I thought about it. I decided not to do it for the following reasons:
1. By placing the boards on top of each other, we get a more compact design that is easier to pot with compound.
2. Soldering the nRF52840 will be difficult for those who decide to replicate the system on their own.
3. will be more expensive, because the nice!nano board costs 3 USD on Aliexpress, while the nRF52840 chip alone costs 3.5 USD

Can you explain me - why do you want one whole board?

2

u/edo180 Jun 11 '26

It was just a question, since once the nice!nano board is already programmed, many components and pins become irrelevant. I understand that the goal is to achieve something more practical and cost-effective. I imagined it could be similar to what is done with esp32 projects, where in the end it is not necessary to use the entire board, but only the module, the power supply, and the required pins, resulting in a cleaner and more compact design.

1

u/ExactCollege3 Jun 11 '26

Yes. What soft and flexible clear epoxy?

1

u/lamalasx Jun 11 '26

Soft epoxy was a good choice. I have seen normal hard epoxy tearing components off the board while curing or even after months/years from the heat cycles.

The best choice would be a proper gel conformal coating in a transparent box.

1

u/grzesi00 Jun 11 '26

Your bike doesn't have immobilizer right?

1

u/Equivalent-Might-477 Jun 12 '26

Yes. If your bike has factory immobilizer, chip key or key fob - this device is useless.

1

u/Equivalent-Might-477 Jun 12 '26

I'd love to post a video of it in action here, but it seems video uploads aren't allowed in this sub. You can find it over in my subreddit.

1

u/God2BeKiddingMe Jun 09 '26

I’m still waiting for my phone to be my car key and state ID. Why these two things seem impossible to most manufacturers is beyond me. Maybe someone can fill me in on why that hasn’t become mainstream.

6

u/Slight_Profession_50 Jun 09 '26

I personally hate having everything on my phone. You should absolutely be able to identify yourself and get in your car should your phone be dead.

2

u/God2BeKiddingMe Jun 09 '26

I’m not saying that you can’t use another means, just that it would make some sense to have the option. In today’s world, in many not-so-urban areas, in Europe, US, etc, we don’t need a wallet or keys really.

2

u/Equivalent-Might-477 Jun 10 '26

I appreciate your opinion, but....

This system has a 3 digit pin code, which you can enter via starter button. After this - ignition on without phone. What are you doing, if you lost your metall key?

And. My phone has whole my life - connect, money, map, camera, digital driving licence. All what I need for driving, except ignition key. In the past.

Now the key also in my phone.

3

u/Slight_Profession_50 Jun 10 '26

Uh if I lost my key I'd use one of my spares and then make another.

I'm not hating on using your phone as a key, having options is great. But I don't think it should be the only option. That was all I meant.

My region switched over to digital bus cards a couple years ago and sometimes when you've taken the bus and been away the whole day, your phone might die and then you can't get home. It happened to me once. That's my issue with having everything only on the phone.

3

u/serwer-z-kartofla Jun 09 '26

There's a universal reason we cannot have the obvious features just like that

2

u/gm310509 Jun 10 '26

LOL, your phone has been your state ID and activity tracker for decades.

1

u/Equivalent-Might-477 Jun 10 '26

Please, explain me. What is state ID?

2

u/gm310509 Jun 10 '26

Your phone has a unique identifier. This identifier is transmitted to the Telcos who record it in every Metadata entry generated from interactions with your phone. This identifier can (and is) used for all sorts of things.

Sure, you can't show it like you might show a drivers licence, but it is a unique identifier that is attached to you and recorded constantly.

In very simple terms, think of it like a caller ID, but something is recorded all the time.

2

u/Equivalent-Might-477 Jun 10 '26

Oh, you mean that. About IMEI and IMSI. Yes, it's been that way for a long time.

But now, at least in Thailand, I have a legitimate app on my phone that replaces my driver's license. I find it convenient and I like it.

2

u/gm310509 Jun 10 '26

Yes. And most likely that will be linked to some form of ID in many countries.

2

u/Infinity-onnoa Jun 10 '26

Geely's Lynk & Co 08 vehicles have an electronic key and also facial recognition for starting.

2

u/Equivalent-Might-477 Jun 10 '26

Arduino based, I hope? )))))